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.
More medium Cilium questions
- Alpine-based pods fail DNS lookups after a Cilium DNS rule is narrowed to a few names. Which Helm value makes the DNS proxy reject queries in a way their resolver handles?
- A CiliumL2AnnouncementPolicy with only a nodeSelector and interfaces applies cleanly, yet no Service IP is announced. Why?
- Which Hubble command shows which CiliumNetworkPolicy allowed or denied the connections in a namespace?
- With encryption.nodeEncryption=true, which nodes does Cilium leave out of node-to-node WireGuard encryption by default?
- Which of the following is a unique capability of Cilium compared to traditional CNI plugins?
- What is a Cilium Endpoint?