k8wiz
Cilium
Medium
Commands

Which command would you use to restart the Cilium agent on a specific node?

Select your answer:

Show answer and explanation

Answer: kubectl delete pod -n kube-system <cilium-pod-name>

Explanation

To restart the Cilium agent on a specific node, you would use 'kubectl delete pod -n kube-system <cilium-pod-name>', where <cilium-pod-name> is the name of the Cilium pod running on that node. Since Cilium runs as a DaemonSet, Kubernetes will automatically create a new pod to replace the deleted one, effectively restarting the agent.

Read more about Cilium