mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-25 15:06:06 -03:30
Remove extra parameter kube_proxy_remove (#8158)
Signed-off-by: EDGsheryl <edgsheryl@gmail.com>
This commit is contained in:
@@ -56,16 +56,6 @@
|
||||
- kube_network_plugin == 'calico'
|
||||
- not ignore_assert_errors
|
||||
|
||||
- name: Stop if kube-proxy is enabled when using eBPF dataplane
|
||||
assert:
|
||||
that:
|
||||
- kube_proxy_remove
|
||||
msg: "kube-proxy needs to be disabled when using Calico with eBPF dataplane"
|
||||
when:
|
||||
- calico_bpf_enabled | default(false)
|
||||
- kube_network_plugin == 'calico'
|
||||
- not ignore_assert_errors
|
||||
|
||||
- name: Stop if unsupported version of Kubernetes
|
||||
assert:
|
||||
that: kube_version is version(kube_version_min_required, '>=')
|
||||
|
||||
@@ -32,6 +32,8 @@ kubeadm_init_phases_skip: >-
|
||||
{{ kubeadm_init_phases_skip_default }} + [ "addon/kube-proxy" ]
|
||||
{%- elif kube_network_plugin == 'cilium' and (cilium_kube_proxy_replacement is defined and cilium_kube_proxy_replacement == 'strict') -%}
|
||||
{{ kubeadm_init_phases_skip_default }} + [ "addon/kube-proxy" ]
|
||||
{%- elif kube_network_plugin == 'calico' and (calico_bpf_enabled is defined and calico_bpf_enabled) -%}
|
||||
{{ kubeadm_init_phases_skip_default }} + [ "addon/kube-proxy" ]
|
||||
{%- elif kube_proxy_remove is defined and kube_proxy_remove -%}
|
||||
{{ kubeadm_init_phases_skip_default }} + [ "addon/kube-proxy" ]
|
||||
{%- else -%}
|
||||
|
||||
Reference in New Issue
Block a user