Code Review
/
oom.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Merge "Replica scaling of Robot and MSB container"
[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 }}"
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 }}