Back to articles

Tag archive

#cks

E
Oct 9, 2026

Enforce the baseline Pod Security Standard on a namespace (CKS)

CKS Lesson 4: a Deployment mounts /var/log/pods through hostPath and can read every pod's logs on the node. Preview with kubectl label --dry-run=server, enforce the baseline Pod Security Standard with one namespace label, delete the pod, and save the ReplicaSet's FailedCreate event that explains why it is not recreated. Real terminal output throughout.

Oct 9, 20265 min read0 reactions0 comments
S
Oct 6, 2026

Stop exposing the API server through a NodePort (CKS)

CKS Lesson 3: the API server is reachable through a NodePort because of --kubernetes-service-node-port. Remove the flag from the static pod manifest (backup outside the manifests folder), then delete the kubernetes Service so the API server recreates it as ClusterIP. Includes the anonymous /version probe that shows why it matters. Real terminal output throughout.

Oct 6, 20265 min read0 reactions0 comments