Code Review
/
oom.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
3dd801664cb38b56b7b88e744e435cd5e24ca7bb
[oom.git]
/
kubernetes
/
consul
/
templates
/
consul-server-service.yaml
1
#{{ if not .Values.disableConsulConsulServer }}
2
apiVersion: v1
3
kind: Service
4
metadata:
5
labels:
6
app: consul-server
7
name: consul-server
8
namespace: "{{ .Values.nsPrefix }}-consul"
9
spec:
10
ports:
11
- name: consul-ui
12
nodePort: {{ .Values.nodePortPrefix }}70
13
port: 8500
14
protocol: TCP
15
targetPort: 8500
16
- name: consul-join
17
nodePort: {{ .Values.nodePortPrefix }}71
18
port: 8301
19
protocol: TCP
20
targetPort: 8301
21
selector:
22
app: consul-server
23
type: {{ .Values.service.type | quote }}
24
#{{ end }}