mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-06 10:08:37 +03:00
Fix kube-proxy post deployment removal (#5554)
* Fix kube-proxy removal * Fix unwanted skipped task for kube-proxy * Fix kube_proxy_remove default Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr> * Add test for kube-router svc proxy Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
This commit is contained in:
committed by
GitHub
parent
deca5ec903
commit
abfa1636e4
@@ -163,7 +163,6 @@
|
||||
delegate_to: "{{ groups['kube-master']|first }}"
|
||||
when:
|
||||
- kube_proxy_remove
|
||||
- kubeadm_discovery_address != kube_apiserver_endpoint | replace("https://", "")
|
||||
# When scaling/adding nodes in the existing k8s cluster, kube-proxy wouldn't be created, as `kubeadm init` wouldn't run.
|
||||
ignore_errors: true
|
||||
tags:
|
||||
|
||||
Reference in New Issue
Block a user