1. Verify Cilium Status
First, confirm that Cilium and its components are up and running:If
Envoy DaemonSet is disabled, Cilium is using its embedded proxy mode. For full L7 gateway features, enable the Envoy DaemonSet.2. Deploy Pods and Observe Interface Creation
Apply a manifest (pods.yaml) to spin up three simple pods in the default namespace:
3. Inspect the Pod Interface and Network Namespace
On the node hosting pod1, list the CNI veth pair created by Cilium:eth0:
4. Delete and Recreate a Pod
Delete pod1 and observe endpoint cleanup:5. Test Pod-to-Pod Connectivity by IP
Retrieve the pod IPs:
From pod1, ping pod2 (same node):
6. Pod-to-Pod Communication via DNS A Records
Check the pod’s DNS settings:Pod IPs are ephemeral. DNS A records tied to pod IPs can break when the pod restarts. For stable discovery, use a Kubernetes Service.
7. Summary of Commands
Links and References
- Cilium Documentation
- Kubernetes Pods
- Kubernetes Services
- Linux Network Namespaces
- Kubernetes DNS for Services and Pods