aboutsummaryrefslogtreecommitdiffstats
path: root/simulation/kubernetes
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-08-13 14:40:16 +0800
committerWei-Ning Huang <w@dexon.org>2018-08-13 14:42:52 +0800
commit63c76e56169b6f14ef049490392a1b3b414f73c6 (patch)
tree23f060ee08c7b90c925d68aa51ae25260711f53e /simulation/kubernetes
parent39e2ea5eb982007a7438198f6d633fe580a3fd1f (diff)
downloaddexon-consensus-63c76e56169b6f14ef049490392a1b3b414f73c6.tar
dexon-consensus-63c76e56169b6f14ef049490392a1b3b414f73c6.tar.gz
dexon-consensus-63c76e56169b6f14ef049490392a1b3b414f73c6.tar.bz2
dexon-consensus-63c76e56169b6f14ef049490392a1b3b414f73c6.tar.lz
dexon-consensus-63c76e56169b6f14ef049490392a1b3b414f73c6.tar.xz
dexon-consensus-63c76e56169b6f14ef049490392a1b3b414f73c6.tar.zst
dexon-consensus-63c76e56169b6f14ef049490392a1b3b414f73c6.zip
simulation: kubernetes: update config
Diffstat (limited to 'simulation/kubernetes')
-rw-r--r--simulation/kubernetes/config.toml.in2
-rw-r--r--simulation/kubernetes/peer-server.yaml8
-rw-r--r--simulation/kubernetes/validator.yaml.in8
3 files changed, 9 insertions, 9 deletions
diff --git a/simulation/kubernetes/config.toml.in b/simulation/kubernetes/config.toml.in
index 9791ba6..68008a2 100644
--- a/simulation/kubernetes/config.toml.in
+++ b/simulation/kubernetes/config.toml.in
@@ -8,7 +8,7 @@ max_block = 100
[validator.consensus]
phi_ratio = 6.66670024394989e-01
-k = 2
+k = 1
[networking]
type = "tcp"
diff --git a/simulation/kubernetes/peer-server.yaml b/simulation/kubernetes/peer-server.yaml
index 360736b..3a07590 100644
--- a/simulation/kubernetes/peer-server.yaml
+++ b/simulation/kubernetes/peer-server.yaml
@@ -41,11 +41,11 @@ spec:
- containerPort: 8080
resources:
requests:
- cpu: 100m
- memory: 256Mi
+ cpu: 2
+ memory: 2Gi
limits:
- cpu: 200m
- memory: 512Mi
+ cpu: 2
+ memory: 2Gi
env:
- name: ROLE
value: "peer-server"
diff --git a/simulation/kubernetes/validator.yaml.in b/simulation/kubernetes/validator.yaml.in
index 8c0dd1d..25b005f 100644
--- a/simulation/kubernetes/validator.yaml.in
+++ b/simulation/kubernetes/validator.yaml.in
@@ -28,11 +28,11 @@ spec:
- containerPort: 8080
resources:
requests:
- cpu: 100m
- memory: 256Mi
+ cpu: 2
+ memory: 2Gi
limits:
- cpu: 200m
- memory: 512Mi
+ cpu: 2
+ memory: 2Gi
env:
- name: ROLE
value: "validator"