You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrade (upgrade-cluster.yml) proxy variables are set for K8S components,
they are not set after install (cluster.yml) and should not be set as K8S doesn't need to talk to the outside world
no_proxy is a pain to get right, and having proxy variables present causes issues
(k8s components get proxy configuration after upgrade, see kubernetes-sigs#7100)
It's better to only configure what require proxy:
- the runtime (containerd/docker/crio)
- the package manager + apt_key
- the download tasks
Tested with the following clusters
- 4 CentOS 8 nodes
- 1 Ubuntu 20.04 node
Signed-off-by: Etienne Champetier <[email protected]>
no_proxy is a pain to get right, and having proxy variables present causes issues
(k8s components get proxy configuration after upgrade, see #7100)
It's better to only configure what require proxy:
- the runtime (containerd/docker/crio)
- the package manager + apt_key
- the download tasks
Tested with the following clusters
- 4 CentOS 8 nodes
- 1 Ubuntu 20.04 node
Signed-off-by: Etienne Champetier <[email protected]>
LuckySB
pushed a commit
to southbridgeio/kubespray
that referenced
this issue
Feb 1, 2021
no_proxy is a pain to get right, and having proxy variables present causes issues
(k8s components get proxy configuration after upgrade, see kubernetes-sigs#7100)
It's better to only configure what require proxy:
- the runtime (containerd/docker/crio)
- the package manager + apt_key
- the download tasks
Tested with the following clusters
- 4 CentOS 8 nodes
- 1 Ubuntu 20.04 node
Signed-off-by: Etienne Champetier <[email protected]>
After upgrade (upgrade-cluster.yml) proxy variables are set for K8S components,
they are not set after install (cluster.yml) and should not be set as K8S doesn't need to talk to the outside world
This actually causes issues with webhooks like ingress-nginx
Environment:
Cloud provider or hardware configuration:
qemu/kvm/libvirt VMs
OS (
printf "$(uname -srm)\n$(cat /etc/os-release)\n"
):Linux 4.18.0-240.1.1.el8_3.x86_64 x86_64
NAME="CentOS Linux"
VERSION="8"
Version of Ansible (
ansible --version
):ansible 2.9.16
Version of Python (
python --version
):Python 3.9.1
Kubespray version (commit) (
git rev-parse --short HEAD
):c0fe32c
Network plugin used:
Calico
Full inventory with variables (
ansible -i inventory/sample/inventory.ini all -m debug -a "var=hostvars[inventory_hostname]"
):containerd / etcd host
Command used to invoke ansible:
ansible-playbook -i ../ansible-inventories/kubespray/inventory-sj150-master/inventory.ini upgrade-cluster.yml
Output of ansible run:
Anything else do we need to know:
Already working on it in #7095
The text was updated successfully, but these errors were encountered: