aboutsummaryrefslogtreecommitdiffstats
path: root/simulation/kubernetes/config.toml.in
diff options
context:
space:
mode:
authorMission Liao <mission.liao@dexon.org>2018-08-22 14:00:04 +0800
committerGitHub <noreply@github.com>2018-08-22 14:00:04 +0800
commit2f7bb14d1d4b1e11129109d3ec2386d004ffb8af (patch)
tree8dcf16f18852023fc668b7a2d41be9192c2b19e7 /simulation/kubernetes/config.toml.in
parent89a65a152ae7956bcf6d241eb15d66e6d955b819 (diff)
downloaddexon-consensus-2f7bb14d1d4b1e11129109d3ec2386d004ffb8af.tar
dexon-consensus-2f7bb14d1d4b1e11129109d3ec2386d004ffb8af.tar.gz
dexon-consensus-2f7bb14d1d4b1e11129109d3ec2386d004ffb8af.tar.bz2
dexon-consensus-2f7bb14d1d4b1e11129109d3ec2386d004ffb8af.tar.lz
dexon-consensus-2f7bb14d1d4b1e11129109d3ec2386d004ffb8af.tar.xz
dexon-consensus-2f7bb14d1d4b1e11129109d3ec2386d004ffb8af.tar.zst
dexon-consensus-2f7bb14d1d4b1e11129109d3ec2386d004ffb8af.zip
simulation: allow to run simulation with scheduler on k8s (#72)
To run a simulation with scheduler on k8s: ./run_scheduler.sh 61 5 Where *61* means the simulation contains 61 validators, and *5* means the simulation utilizes 5 vCPUs and corresponding concurrent workers to run.
Diffstat (limited to 'simulation/kubernetes/config.toml.in')
-rw-r--r--simulation/kubernetes/config.toml.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/simulation/kubernetes/config.toml.in b/simulation/kubernetes/config.toml.in
index 4e4ec0b..79e662a 100644
--- a/simulation/kubernetes/config.toml.in
+++ b/simulation/kubernetes/config.toml.in
@@ -16,3 +16,6 @@ peer_server = "peer-server-svc.default.svc.cluster.local"
mean = 1e+02
sigma = 1e+01
loss_rate_value = 0e+00
+
+[scheduler]
+worker_num = 2