fix: limit no workers with hostNetwork
This commit is contained in:
@@ -13,7 +13,7 @@ controller:
|
||||
cpu: {{ .Values.nginx.resources.controller.cpu }}
|
||||
memory: {{ .Values.nginx.resources.controller.memory }}
|
||||
|
||||
{{if eq .Values.clusterConfig.ingress_hostnetwork }}
|
||||
{{if .Values.clusterConfig.ingress_hostnetwork }}
|
||||
config:
|
||||
worker-prcesses: 32
|
||||
{{end }}
|
||||
@@ -62,7 +62,7 @@ controller:
|
||||
{{- if .Values.clusterConfig.ingress_nodeport }}
|
||||
service:
|
||||
externalTrafficPolicy: Local
|
||||
type: NodePort # ClusterIP
|
||||
type: NodePort
|
||||
nodePorts:
|
||||
http: 30080
|
||||
https: 30443
|
||||
|
||||
Reference in New Issue
Block a user