benchmark/kubernetes: fix consensus
This commit is contained in:
parent
74a3b06e4d
commit
a51e1a5397
|
@ -0,0 +1,21 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ template "fullname" . }}
|
||||
labels:
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
||||
release: "{{ .Release.Name }}"
|
||||
heritage: "{{ .Release.Service }}"
|
||||
environment: {{ template "environment" . }}
|
||||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
{{- if .Values.service.staticIP }}
|
||||
clusterIP: {{ .Values.service.staticIP | quote }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- port: {{ .Values.ethereum.port }}
|
||||
targetPort: {{ .Values.ethereum.port }}
|
||||
protocol: TCP
|
||||
name: p2p
|
||||
selector:
|
||||
app: {{ template "fullname" . }}
|
Loading…
Reference in New Issue