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:
|
||||
type: {{ .Values.service.type }}
|
||||
ports:
|
||||
- targetPort: 9987
|
||||
- nodePort: {{ .Values.service.nodePort }}
|
||||
targetPort: 9987
|
||||
protocol: UDP
|
||||
name: teamspeak-voice
|
||||
port: {{ .Values.service.port }}
|
||||
port: 9987
|
||||
selector:
|
||||
app: teamspeak
|
||||
release: {{ .Release.Name }}
|
||||
|
|
|
@ -6,8 +6,8 @@ image:
|
|||
podAnnotations: {}
|
||||
|
||||
service:
|
||||
type: LoadBalancer
|
||||
port: 9987
|
||||
type: NodePort
|
||||
port: 30987
|
||||
|
||||
resources:
|
||||
limits:
|
||||
|
@ -17,7 +17,9 @@ resources:
|
|||
cpu: 100m
|
||||
memory: 256Mi
|
||||
|
||||
nodeSelector: {}
|
||||
nodeSelector:
|
||||
teamspeak: "1"
|
||||
|
||||
tolerations: []
|
||||
affinity: {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue