Skip to content
Exercise · Security basics · lesson 3 of 6

Exercise: a Pod that does not run as root

The image nginxinc/nginx-unprivileged:1.27.3 does not run as root, but the manifest of the Deployment web does not demand it. If someone swaps the image for one that starts as root, Kubernetes runs it without a single question.