Cilium
Medium
Commands
Which command would you use to view Cilium network policies in a namespace?
Select your answer:
Show answer and explanation
Answer: kubectl get ciliumnetworkpolicies -n <namespace>
Explanation
The 'kubectl get ciliumnetworkpolicies -n <namespace>' command is used to view Cilium network policies (CiliumNetworkPolicy resources) in a specific namespace. This shows all the Cilium-specific network policies that have been defined in that namespace.
More medium Cilium questions
- What is the purpose of Cilium's transparent encryption feature?
- Which of the following is NOT a valid Cilium datapath mode?
- What is the purpose of Cilium's DNS-based policies?
- Which command would you use to view the Cilium agent logs on a specific node?
- What is a Cilium 'identity'?
- Which of the following is a benefit of Cilium's eBPF-based implementation compared to iptables?