Deploy ts using nodeport because DO doesnt support UDP LB

This commit is contained in:
Aram 🍐 2019-10-26 16:17:53 -04:00
parent 2df7bba872
commit 5508d73127
2 changed files with 8 additions and 5 deletions

View file

@ -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 }}

View file

@ -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: {}