Deploy ts using nodeport because DO doesnt support UDP LB
This commit is contained in:
parent
2df7bba872
commit
5508d73127
2 changed files with 8 additions and 5 deletions
|
@ -10,10 +10,11 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
type: {{ .Values.service.type }}
|
type: {{ .Values.service.type }}
|
||||||
ports:
|
ports:
|
||||||
- targetPort: 9987
|
- nodePort: {{ .Values.service.nodePort }}
|
||||||
|
targetPort: 9987
|
||||||
protocol: UDP
|
protocol: UDP
|
||||||
name: teamspeak-voice
|
name: teamspeak-voice
|
||||||
port: {{ .Values.service.port }}
|
port: 9987
|
||||||
selector:
|
selector:
|
||||||
app: teamspeak
|
app: teamspeak
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
|
|
|
@ -6,8 +6,8 @@ image:
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
|
|
||||||
service:
|
service:
|
||||||
type: LoadBalancer
|
type: NodePort
|
||||||
port: 9987
|
port: 30987
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
@ -17,7 +17,9 @@ resources:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
memory: 256Mi
|
memory: 256Mi
|
||||||
|
|
||||||
nodeSelector: {}
|
nodeSelector:
|
||||||
|
teamspeak: "1"
|
||||||
|
|
||||||
tolerations: []
|
tolerations: []
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue