Pod Security Admission Modes
A namespace has the label pod-security.kubernetes.io/warn: restricted and nothing else. A user applies a Deployment whose Pods run as root. What happens?
pod-security.kubernetes.io/warn: restricted
Choose one answer
The Deployment is created, but its Pods are rejected
It is created with a warning, and its Pods run
The Deployment is rejected by the API server
The Pods are changed to run as a non-root user