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 }}",
|
"image": "{{ .Values.image.repository }}:{{ .Values.image.tag }}",
|
||||||
"imagePullPolicy": "{{ .Values.image.pullPolicy }}",
|
"imagePullPolicy": "{{ .Values.image.pullPolicy }}",
|
||||||
"command": [
|
"command": [
|
||||||
"geth",
|
"geth",
|
||||||
"--datadir",
|
"--datadir",
|
||||||
"{{ .Values.volumes.chaindir.mountPath }}",
|
"{{ .Values.volumes.chaindir.mountPath }}",
|
||||||
"init",
|
"init",
|
||||||
"{{ .Values.genesis.mountPath }}/{{ .Values.genesis.fileName }}"
|
"{{ .Values.genesis.mountPath }}/{{ .Values.genesis.fileName }}"
|
||||||
],
|
],
|
||||||
|
@ -53,7 +53,7 @@ spec:
|
||||||
"sh",
|
"sh",
|
||||||
"-c",
|
"-c",
|
||||||
"cp {{ .Values.ethereum.staticNodes.mountPath }}/static-nodes.json {{ .Values.volumes.chaindir.mountPath }}/ &&
|
"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/"
|
cp {{ .Values.ethereum.account.mountPath }}/{{ .Values.ethereum.account.address }} {{ .Values.volumes.chaindir.mountPath }}/keystore/"
|
||||||
],
|
],
|
||||||
"volumeMounts": [
|
"volumeMounts": [
|
||||||
|
@ -90,7 +90,6 @@ spec:
|
||||||
- "{{ .Values.ethereum.port }}"
|
- "{{ .Values.ethereum.port }}"
|
||||||
- --nat
|
- --nat
|
||||||
- any
|
- any
|
||||||
- --fast
|
|
||||||
- --nodiscover
|
- --nodiscover
|
||||||
- --identity
|
- --identity
|
||||||
- "{{ default "$(POD_NAME)" .Values.ethereum.identity }}"
|
- "{{ default "$(POD_NAME)" .Values.ethereum.identity }}"
|
||||||
|
@ -179,6 +178,8 @@ spec:
|
||||||
- "100"
|
- "100"
|
||||||
- --verbosity
|
- --verbosity
|
||||||
- "4"
|
- "4"
|
||||||
|
- --syncmode
|
||||||
|
- "full"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: {{ .Values.ethereum.port }}
|
- containerPort: {{ .Values.ethereum.port }}
|
||||||
name: peer
|
name: peer
|
||||||
|
|
Loading…
Reference in New Issue