← Learn
Safe
kubectl get pods -n production -o custom-columns='NAME:.metadata.name,PRIV:.spec.containers[*].securityContext.privileged'

cross-platform · bash · Expert

Projects each pod's privileged flag into a column so the whole namespace can be scanned at once. This is the audit that finds the workloads…

The full explanation and danger signals for this pack are part of Pro.

Think you can spot these under time pressure?

Start Training

More Kubernetes