fix: limit no workers with hostNetwork

This commit is contained in:
2025-09-19 18:11:12 +02:00
parent 03379f9186
commit 5e6e8d4de4
@@ -13,7 +13,7 @@ controller:
cpu: {{ .Values.nginx.resources.controller.cpu }} cpu: {{ .Values.nginx.resources.controller.cpu }}
memory: {{ .Values.nginx.resources.controller.memory }} memory: {{ .Values.nginx.resources.controller.memory }}
{{if eq .Values.clusterConfig.ingress_hostnetwork }} {{if .Values.clusterConfig.ingress_hostnetwork }}
config: config:
worker-prcesses: 32 worker-prcesses: 32
{{end }} {{end }}
@@ -62,7 +62,7 @@ controller:
{{- if .Values.clusterConfig.ingress_nodeport }} {{- if .Values.clusterConfig.ingress_nodeport }}
service: service:
externalTrafficPolicy: Local externalTrafficPolicy: Local
type: NodePort # ClusterIP type: NodePort
nodePorts: nodePorts:
http: 30080 http: 30080
https: 30443 https: 30443