Skip to main content

Disable eBPF Agent

Kubernetes UniAgent Installation Package

Change ebpf_enabled: true to ebpf_enabled: false in tingyun-common-config in tingyunagent.yaml, then update using the yaml file.

kubectl apply -f tingyunagent.yaml

If the tingyunagent.yaml installation file is lost, you can use the edit configmap command to modify the configuration.

kubectl edit configmap tingyun-common-config -n tingyun

Change ebpf_enabled: true to ebpf_enabled: false.

No need to restart the Pod. After modifying the configuration, the eBPF Agent will be disabled after about 3 minutes. You can check whether the process is closed with the following command:

ps -ef | grep ebpf_agent | grep -v "grep"

If you do not see tingyun_probe.o, it means it has been successfully disabled.