Given the exhibit, what will happen when a user creates a pod with an image from an untrusted registry?
Trap 1: The pod is rejected by NodeRestriction admission
NodeRestriction only restricts node kubelet actions.
Trap 2: The pod is rejected by PodSecurity admission
PodSecurity does not validate image registries.
Trap 3: The pod is created but the image is not pulled because it's…
There is no mechanism to block untrusted registries in the given configuration.
- A
The pod is rejected by NodeRestriction admission
Why wrong: NodeRestriction only restricts node kubelet actions.
- B
The pod is rejected by PodSecurity admission
Why wrong: PodSecurity does not validate image registries.
- C
The pod is created and the image is pulled
AlwaysPullImages forces image pull but does not block untrusted registries.
- D
The pod is created but the image is not pulled because it's untrusted
Why wrong: There is no mechanism to block untrusted registries in the given configuration.