CertGrid CertGrid
Hands-on Lab·Certified Kubernetes Security Specialist

Pod-to-Pod Encryption with Cilium WireGuard

The orientation guide flagged `Encryption: Disabled` as a task rather than a fact. This is the task: prove the traffic is readable, turn on WireGuard with one ConfigMap key, and prove it is not - with the application none the wiser.

Microservice Vulnerabilities Guide 24 of 40 Advanced

Written against the versions above. Cilium 1.18.1 with WireGuard, which is in the Linux kernel rather than a userspace proxy. Enabled and turned back off inside these transcripts, because the rest of this path documents a cluster with encryption disabled.

The cka6001 cluster: one control plane and 2 schedulable workers, on Cilium.
Server NameIP AddressOSRolesCPURAMHDD
CKA6001192.168.0.46Ubuntu 26.04 LTSControl Plane Node (tainted NoSchedule)2 Core4 GB50 GB
CKA6001-NODE01192.168.0.47Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB
CKA6001-NODE02192.168.0.48Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB

Before you start

  1. What the CNI is doing today

  2. Read it off the wire

  3. Turn it on

  4. The same capture, on the same wire

  5. What it does not cover

Official sources