mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 11:47:47 +03:00
Add proxy support to containerd, improves no_proxy (#5583)
* containerd: add proxy support Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com> * kubespray-defaults: add kube_service_addresses / kube_pods_subnet to no_proxy CIDR notation in no_proxy is supported by a lot of programs/languages, including go: https://github.com/golang/go/issues/16704 Without that containerd cannot talk the the API server (kube_apiserver_ip), but it should not go through an external proxy for the nodes/pods/services Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
This commit is contained in:
committed by
GitHub
parent
2798adc837
commit
9f2dd09628
@@ -416,7 +416,7 @@ no_proxy: >-
|
||||
{%- if additional_no_proxy is defined -%}
|
||||
{{ additional_no_proxy }},
|
||||
{%- endif -%}
|
||||
127.0.0.1,localhost
|
||||
127.0.0.1,localhost,{{kube_service_addresses}},{{kube_pods_subnet}}
|
||||
{%- endif %}
|
||||
|
||||
proxy_env:
|
||||
|
||||
Reference in New Issue
Block a user