From a51e1a53973ba2387d1f87677c814050e4fa7d5b Mon Sep 17 00:00:00 2001 From: Alan Chen Date: Thu, 21 Sep 2017 17:50:46 +0800 Subject: [PATCH] benchmark/kubernetes: fix consensus --- .../validator/templates/service.yaml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 benchmark/kubernetes/validator/templates/service.yaml diff --git a/benchmark/kubernetes/validator/templates/service.yaml b/benchmark/kubernetes/validator/templates/service.yaml new file mode 100755 index 00000000..8d5dd4d9 --- /dev/null +++ b/benchmark/kubernetes/validator/templates/service.yaml @@ -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" . }}