Skip to content

Commit a51e1a5

Browse files
author
Alan Chen
committed
benchmark/kubernetes: fix consensus
1 parent 74a3b06 commit a51e1a5

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
apiVersion: v1
2+
kind: Service
3+
metadata:
4+
name: {{ template "fullname" . }}
5+
labels:
6+
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
7+
release: "{{ .Release.Name }}"
8+
heritage: "{{ .Release.Service }}"
9+
environment: {{ template "environment" . }}
10+
spec:
11+
type: {{ .Values.service.type }}
12+
{{- if .Values.service.staticIP }}
13+
clusterIP: {{ .Values.service.staticIP | quote }}
14+
{{- end }}
15+
ports:
16+
- port: {{ .Values.ethereum.port }}
17+
targetPort: {{ .Values.ethereum.port }}
18+
protocol: TCP
19+
name: p2p
20+
selector:
21+
app: {{ template "fullname" . }}

0 commit comments

Comments
 (0)