Add resource-container flag to kube-proxy manifest (#3519)

* Add resource-container flag to kube-proxy manifest

* add resourceContainer: "" to kubeadm kube-proxy configs
This commit is contained in:
Danny Kulchinsky 2018-11-19 03:39:29 -05:00 committed by k8s-ci-robot
parent 8c18f053aa
commit 9ae2eefb9a
4 changed files with 4 additions and 1 deletions

View file

@ -39,6 +39,7 @@ kubeProxy:
{% if kube_proxy_nodeport_addresses %}
nodePortAddresses: [{{ kube_proxy_nodeport_addresses_cidr }}]
{% endif %}
resourceContainer: ""
authorizationModes:
{% for mode in authorization_modes %}
- {{ mode }}

View file

@ -31,6 +31,7 @@ kubeProxy:
{% if kube_proxy_nodeport_addresses %}
nodePortAddresses: [{{ kube_proxy_nodeport_addresses_cidr }}]
{% endif %}
resourceContainer: ""
authorizationModes:
{% for mode in authorization_modes %}
- {{ mode }}

View file

@ -197,5 +197,5 @@ nodePortAddresses: [{{ kube_proxy_nodeport_addresses_cidr }}]
{% endif %}
oomScoreAdj: -999
portRange: ""
resourceContainer: /kube-proxy
resourceContainer: ""
udpIdleTimeout: 250ms

View file

@ -48,6 +48,7 @@ spec:
- --proxy-mode={{ kube_proxy_mode }}
- --oom-score-adj=-998
- --healthz-bind-address={{ kube_proxy_healthz_bind_address }}
- --resource-container=""
{% if kube_proxy_nodeport_addresses %}
- --nodeport-addresses={{ kube_proxy_nodeport_addresses_cidr }}
{% endif %}