benchmark/kubernetes: change default helm chart value for test usage
This commit is contained in:
parent
756ba4772f
commit
16df58954b
|
@ -177,7 +177,7 @@ spec:
|
|||
- --maxpeers
|
||||
- "100"
|
||||
- --verbosity
|
||||
- "4"
|
||||
- "{{ .Values.ethereum.verbosity }}"
|
||||
- --syncmode
|
||||
- "full"
|
||||
ports:
|
||||
|
@ -232,6 +232,10 @@ spec:
|
|||
- name: nodekey
|
||||
mountPath: "{{ .Values.ethereum.nodekey.mountPath }}"
|
||||
volumes:
|
||||
{{- if .Values.testing.enabled }}
|
||||
- name: data
|
||||
emptyDir: {}
|
||||
{{- end }}
|
||||
- name: genesis
|
||||
configMap:
|
||||
name: {{ .Values.genesis.config }}
|
||||
|
@ -244,6 +248,8 @@ spec:
|
|||
- name: static-nodes
|
||||
configMap:
|
||||
name: {{ .Values.ethereum.staticNodes.config }}
|
||||
{{- if .Values.testing.enabled }}
|
||||
{{- else }}
|
||||
volumeClaimTemplates:
|
||||
- metadata:
|
||||
name: data
|
||||
|
@ -253,3 +259,4 @@ spec:
|
|||
resources:
|
||||
requests:
|
||||
storage: {{ .Values.volumes.chaindir.size }}
|
||||
{{- end }}
|
|
@ -2,6 +2,9 @@
|
|||
# This is a YAML-formatted file.
|
||||
# Declare variables to be passed into your templates.
|
||||
|
||||
testing:
|
||||
enabled: true
|
||||
|
||||
# service.yaml
|
||||
service:
|
||||
type: ClusterIP
|
||||
|
@ -12,8 +15,8 @@ service:
|
|||
# statefulset.yaml
|
||||
replicaCount: 1
|
||||
image:
|
||||
repository: quay.io/maicoin/ottoman_geth
|
||||
tag: latest
|
||||
repository: quay.io/amis/geth
|
||||
tag: istanbul_develop
|
||||
pullPolicy: Always
|
||||
|
||||
ethereum:
|
||||
|
@ -27,26 +30,26 @@ ethereum:
|
|||
enabled: true
|
||||
path: ""
|
||||
rpc:
|
||||
enabled: true
|
||||
addr: 0.0.0.0
|
||||
port: 8545
|
||||
api: "eth,net,web3,personal"
|
||||
corsdomain: "*"
|
||||
ws:
|
||||
enabled: false
|
||||
addr: 0.0.0.0
|
||||
port: 8545
|
||||
api: "eth,net,web3,personal,miner,admin"
|
||||
corsdomain: "*"
|
||||
ws:
|
||||
enabled: true
|
||||
addr: 0.0.0.0
|
||||
port: 8546
|
||||
api: "eth,net,web3,personal"
|
||||
api: "eth,net,web3,personal,miner,admin"
|
||||
origins: "*"
|
||||
mining:
|
||||
enabled: true
|
||||
enabled: false
|
||||
threads: 1
|
||||
etherbase: "1a9afb711302c5f83b5902843d1c007a1a137632"
|
||||
staticNodes:
|
||||
config: static-nodes
|
||||
mountPath: "/staticNodes"
|
||||
ethstats:
|
||||
enabled: true
|
||||
enabled: false
|
||||
addr: ws://eth-netstats
|
||||
port: 3000
|
||||
secret: bb98a0b6442386d0cdf8a31b267892c1
|
||||
|
@ -58,11 +61,12 @@ ethereum:
|
|||
address: "1a9afb711302c5f83b5902843d1c007a1a137632"
|
||||
data: '{"address":"1a9afb711302c5f83b5902843d1c007a1a137632","Crypto":{"cipher":"aes-128-ctr","ciphertext":"132b50d7c8944a115824de7c00911c40a90f84f27c614b7a3ef05ee8fd414312","cipherparams":{"iv":"0f745599d1b3303988ce210fb82b8c7f"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":262144,"p":1,"r":8,"salt":"bce940bac232b4a9c5a2d50e5be51fde5cecfa7da9d49d8f650f91167bebf0de"},"mac":"36d515070b797aec58a574a3e04ea109498ee7674b15d7f952322cda7dcb68e3"},"id":"5d212b4c-3dd0-4c52-a32f-e42bf1b41133","version":3}'
|
||||
mountPath: "/keystore"
|
||||
verbosity: 3
|
||||
|
||||
volumes:
|
||||
chaindir:
|
||||
name: chaindir
|
||||
size: 1000Gi
|
||||
size: 10Gi
|
||||
mountPath: "/data"
|
||||
storageClass: ""
|
||||
|
||||
|
|
Loading…
Reference in New Issue