Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BPF]How to completely disable eBPF mode? #9620

Open
esimest opened this issue Dec 19, 2024 · 2 comments · May be fixed by #9630
Open

[BPF]How to completely disable eBPF mode? #9620

esimest opened this issue Dec 19, 2024 · 2 comments · May be fixed by #9630
Labels
area/bpf eBPF Dataplane issues kind/bug

Comments

@esimest
Copy link

esimest commented Dec 19, 2024

I have disabled the ebpf mode by set bpfEnabled=false from https://docs.tigera.io/calico-cloud/operations/ebpf/enabling-ebpf#reversing-the-process, but there still a lot ebpf programs on nodes after set bpfEnabled=false.


latest felixconfig:
spec:
bpfEnabled: false
bpfLogLevel: ""
logSeverityScreen: Info
prometheusMetricsEnabled: true
reportingInterval: 0s


bpftool -j -p cgroup show /run/calico/cgroup

[{
"id": 73636,
"attach_type": "connect4",
"attach_flags": "",
"name": "calico_connect_"
},{
"id": 73641,
"attach_type": "connect6",
"attach_flags": "",
"name": "calico_connect_"
},{
"id": 73646,
"attach_type": "sendmsg4",
"attach_flags": "",
"name": "calico_sendmsg_"
},{
"id": 73654,
"attach_type": "sendmsg6",
"attach_flags": "",
"name": "calico_sendmsg_"
},{
"id": 73651,
"attach_type": "recvmsg4",
"attach_flags": "",
"name": "calico_recvmsg_"
},{
"id": 73659,
"attach_type": "recvmsg6",
"attach_flags": "",
"name": "calico_recvmsg_"
}
]

Expected Behavior

no ebpf program at nodes after disable ebpfMode

Current Behavior

there still a lot ebpf programs on nodes after set bpfEnabled=false
also new joined nodes has these programs.

Possible Solution

NA

Steps to Reproduce (for bugs)

  1. enable ebpf mode
  2. disable ebpf mode

Context

Your Environment

  • Calico version: 3.26.4
  • Calico dataplane
  • Orchestrator version (e.g. kubernetes, mesos, rkt): k8s 1.22.5
  • Operating System and version: 5.4.139
  • Link to your project (optional):
@tomastigera tomastigera added area/bpf eBPF Dataplane issues kind/bug labels Dec 19, 2024
@tomastigera tomastigera linked a pull request Dec 19, 2024 that will close this issue
3 tasks
@tomastigera
Copy link
Contributor

It is a bug. You need to clean them up by hand for now. Thanks for reporting it.

@esimest
Copy link
Author

esimest commented Dec 23, 2024

It is a bug. You need to clean them up by hand for now. Thanks for reporting it.

thank you for reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/bpf eBPF Dataplane issues kind/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants