Code Monkey home page Code Monkey logo

Comments (6)

VannTen avatar VannTen commented on August 27, 2024 1

Install the cluster with calico ebpf enabled.
Remove Kube-proxy DS

kube-proxy should not be deployed in the first place when calico_bpf_enabled is true, see

{%- elif kube_network_plugin == 'calico' and (calico_bpf_enabled is defined and calico_bpf_enabled) -%}

(kubeadm handle the kube-proxy part, and we skip that kubeadm phases in some cases, including calico ebpf)

Can you check the value of calico_bpf_enabled on your nodes ? And ideally of kubeadm_init_phases_skip as well.

from kubespray.

ehsan310 avatar ehsan310 commented on August 27, 2024

I get that and that but I haven't enabled ebpf in the beginning I enabled when the cluster were up and running and removed kube-proxy , so during the inital phase kube-proxy was in the cluster. I was hoping that when ebpf is enable and i removed kube-proxy DS , kube-proxy is not getting pushed again.

is there anywhere in node that keep kubeadm configs ?

from kubespray.

VannTen avatar VannTen commented on August 27, 2024

from kubespray.

ehsan310 avatar ehsan310 commented on August 27, 2024

sounds like there is a kubeadm-config configmap in kube-system namespace.

https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/#applying-kube-proxy-configuration-changes

from kubespray.

poblahblahblah avatar poblahblahblah commented on August 27, 2024

We ran into this problem as well, albeit with a different CNI, and it was because we deleted the kube-system/kube-proxy DaemonSet but we did not delete the kube-system/kube-proxy ConfigMap.

Once we removed both of those the issue went away on upgrade.

from kubespray.

ehsan310 avatar ehsan310 commented on August 27, 2024

We ran into this problem as well, albeit with a different CNI, and it was because we deleted the kube-system/kube-proxy DaemonSet but we did not delete the kube-system/kube-proxy ConfigMap.

Once we removed both of those the issue went away on upgrade.

I'll try to test this, hopefully this will fix the issue, then might be good to document it.

from kubespray.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.