HostNetwork

This commit is contained in:
Simen Røstvik 2022-11-15 10:10:25 +01:00
parent d6d0817dea
commit 8a39bc1412
No known key found for this signature in database

View File

@ -28,6 +28,20 @@ spec:
kubernetesGateway:
enabled: false
dnsPolicy: ClusterFirstWithHostNet
hostNetwork: true
nodeSelector:
hasDns: true
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchLabels:
app.kubernetes.io/name: '{{ template "traefik.name" . }}'
app.kubernetes.io/instance: '{{ .Release.Name }}-{{ .Release.Namespace }}'
topologyKey: kubernetes.io/hostname
globalArguments: []
additionalArguments:
@ -44,16 +58,12 @@ spec:
exposedPort: 9000
protocol: TCP
web:
port: 8000
port: 80
expose: false
exposedPort: 80
nodePort: 80
protocol: TCP
websecure:
port: 8443
nodePort: 443
port: 443
expose: false
exposedPort: 443
protocol: TCP
tls:
enabled: true