CertGrid CertGrid
Hands-on Lab·Certified Kubernetes Security Specialist

Static Analysis of Kubernetes Manifests

Admission control refuses a bad workload at the last possible moment. Static analysis refuses it in the pull request, and it needs no cluster, no registry and no network. This guide runs it on a bad manifest, fixes it, and makes it a gate.

Supply Chain Security Guide 30 of 40 Intermediate

Written against the versions above. `trivy config` runs the same checks that other tools call KSV rules - kubesec and kube-linter cover similar ground. The tool matters less than having one in the pipeline.

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. A manifest nobody should merge

  2. Fix it and run the same check

  3. Make it a gate

Official sources