-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add proxy support to containerd, improves no_proxy #5583
Conversation
Signed-off-by: Etienne Champetier <[email protected]>
…no_proxy CIDR notation in no_proxy is supported by a lot of programs/languages, including go: golang/go#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 <[email protected]>
We don't have an easy way to test this, but it looks good to me. /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: champtar, Miouge1 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* 'master' of https://github.com/kubernetes-sigs/kubespray: Add LuckySB as an approver (kubernetes-sigs#5584) Add CentOS 8 image for testing (kubernetes-sigs#5589) Fix typo in Multus plugin. (kubernetes-sigs#5568) Add proxy support to containerd, improves no_proxy (kubernetes-sigs#5583) Remove stale legacy yum docker repo /etc/yum.repos.d/docker.repo (kubernetes-sigs#5569)
) * containerd: add proxy support Signed-off-by: Etienne Champetier <[email protected]> * 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: golang/go#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 <[email protected]>
) * containerd: add proxy support Signed-off-by: Etienne Champetier <[email protected]> * 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: golang/go#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 <[email protected]> (cherry picked from commit 9f2dd09)
) * containerd: add proxy support Signed-off-by: Etienne Champetier <[email protected]> * 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: golang/go#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 <[email protected]> (cherry picked from commit 9f2dd09)
* containerd: add proxy support Signed-off-by: Etienne Champetier <[email protected]> * 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: golang/go#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 <[email protected]> (cherry picked from commit 9f2dd09)
What type of PR is this?
/kind bug
What this PR does / why we need it:
This PR add a systemd drop-in config to containerd to setup proxy environment variables
Which issue(s) this PR fixes:
Fixes _
Special notes for your reviewer:
Does this PR introduce a user-facing change?: