HostNetwork

This commit is contained in:
Simen Røstvik 2022-11-15 10:10:25 +01:00
parent aa7b41dfb7
commit ad366765b5

View File

@ -28,6 +28,20 @@ spec:
kubernetesGateway: kubernetesGateway:
enabled: false 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: [] globalArguments: []
additionalArguments: additionalArguments:
@ -44,16 +58,12 @@ spec:
exposedPort: 9000 exposedPort: 9000
protocol: TCP protocol: TCP
web: web:
port: 8000 port: 80
expose: false expose: false
exposedPort: 80
nodePort: 80
protocol: TCP protocol: TCP
websecure: websecure:
port: 8443 port: 443
nodePort: 443
expose: false expose: false
exposedPort: 443
protocol: TCP protocol: TCP
tls: tls:
enabled: true enabled: true