mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +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
@@ -4,9 +4,6 @@
|
||||
discovery_timeout: 60s
|
||||
kubeadm_join_timeout: 120s
|
||||
|
||||
# Optionally remove kube_proxy installed by kubeadm
|
||||
kube_proxy_remove: false
|
||||
|
||||
# If non-empty, will use this string as identification instead of the actual hostname
|
||||
kube_override_hostname: >-
|
||||
{%- if cloud_provider is defined and cloud_provider in [ 'aws' ] -%}
|
||||
|
||||
@@ -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