fix: limit no workers with hostNetwork
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user