Merge pull request #49 from getamis/feature/sync_mode
benchmark: use full sync for initial validator
This commit is contained in:
commit
6b5aa3c729
|
@ -28,9 +28,9 @@ spec:
|
|||
"image": "{{ .Values.image.repository }}:{{ .Values.image.tag }}",
|
||||
"imagePullPolicy": "{{ .Values.image.pullPolicy }}",
|
||||
"command": [
|
||||
"geth",
|
||||
"--datadir",
|
||||
"{{ .Values.volumes.chaindir.mountPath }}",
|
||||
"geth",
|
||||
"--datadir",
|
||||
"{{ .Values.volumes.chaindir.mountPath }}",
|
||||
"init",
|
||||
"{{ .Values.genesis.mountPath }}/{{ .Values.genesis.fileName }}"
|
||||
],
|
||||
|
@ -53,7 +53,7 @@ spec:
|
|||
"sh",
|
||||
"-c",
|
||||
"cp {{ .Values.ethereum.staticNodes.mountPath }}/static-nodes.json {{ .Values.volumes.chaindir.mountPath }}/ &&
|
||||
mkdir -p {{ .Values.volumes.chaindir.mountPath }}/keystore &&
|
||||
mkdir -p {{ .Values.volumes.chaindir.mountPath }}/keystore &&
|
||||
cp {{ .Values.ethereum.account.mountPath }}/{{ .Values.ethereum.account.address }} {{ .Values.volumes.chaindir.mountPath }}/keystore/"
|
||||
],
|
||||
"volumeMounts": [
|
||||
|
@ -90,7 +90,6 @@ spec:
|
|||
- "{{ .Values.ethereum.port }}"
|
||||
- --nat
|
||||
- any
|
||||
- --fast
|
||||
- --nodiscover
|
||||
- --identity
|
||||
- "{{ default "$(POD_NAME)" .Values.ethereum.identity }}"
|
||||
|
@ -179,6 +178,8 @@ spec:
|
|||
- "100"
|
||||
- --verbosity
|
||||
- "4"
|
||||
- --syncmode
|
||||
- "full"
|
||||
ports:
|
||||
- containerPort: {{ .Values.ethereum.port }}
|
||||
name: peer
|
||||
|
|
Loading…
Reference in New Issue