Skip to content
Snippets Groups Projects
Unverified Commit 4d79a559 authored by EDGsheryl's avatar EDGsheryl Committed by GitHub
Browse files

Remove extra parameter kube_proxy_remove (#8158)


Signed-off-by: default avatarEDGsheryl <edgsheryl@gmail.com>
parent 027cbefb
No related branches found
No related tags found
No related merge requests found
...@@ -295,7 +295,6 @@ To enable the eBPF dataplane support ensure you add the following to your invent ...@@ -295,7 +295,6 @@ To enable the eBPF dataplane support ensure you add the following to your invent
```yaml ```yaml
calico_bpf_enabled: true calico_bpf_enabled: true
kube_proxy_remove: true
``` ```
**NOTE:** there is known incompatibility in using the `kernel-kvm` kernel package on Ubuntu OSes because it is missing support for `CONFIG_NET_SCHED` which is a requirement for Calico eBPF support. When using Calico eBPF with Ubuntu ensure you run the `-generic` kernel. **NOTE:** there is known incompatibility in using the `kernel-kvm` kernel package on Ubuntu OSes because it is missing support for `CONFIG_NET_SCHED` which is a requirement for Calico eBPF support. When using Calico eBPF with Ubuntu ensure you run the `-generic` kernel.
......
...@@ -56,16 +56,6 @@ ...@@ -56,16 +56,6 @@
- kube_network_plugin == 'calico' - kube_network_plugin == 'calico'
- not ignore_assert_errors - 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 - name: Stop if unsupported version of Kubernetes
assert: assert:
that: kube_version is version(kube_version_min_required, '>=') that: kube_version is version(kube_version_min_required, '>=')
......
...@@ -32,6 +32,8 @@ kubeadm_init_phases_skip: >- ...@@ -32,6 +32,8 @@ kubeadm_init_phases_skip: >-
{{ kubeadm_init_phases_skip_default }} + [ "addon/kube-proxy" ] {{ 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') -%} {%- 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" ] {{ 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 -%} {%- elif kube_proxy_remove is defined and kube_proxy_remove -%}
{{ kubeadm_init_phases_skip_default }} + [ "addon/kube-proxy" ] {{ kubeadm_init_phases_skip_default }} + [ "addon/kube-proxy" ]
{%- else -%} {%- else -%}
......
...@@ -9,7 +9,6 @@ kube_network_plugin: calico ...@@ -9,7 +9,6 @@ kube_network_plugin: calico
deploy_netchecker: true deploy_netchecker: true
calico_bpf_enabled: true calico_bpf_enabled: true
kube_proxy_remove: true
loadbalancer_apiserver_localhost: true loadbalancer_apiserver_localhost: true
use_localhost_as_kubeapi_loadbalancer: true use_localhost_as_kubeapi_loadbalancer: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment