From Container to Node
Which Pod setting gives an attacker inside the container the most direct path to root on the node?
Part of Prepare for the KCSA. Next step: The Power of Creating Pods
Choose one answer
privileged: true, especially with hostPID: true
privileged: true
hostPID: true
readOnlyRootFilesystem: true together with runAsUser: 0
readOnlyRootFilesystem: true
runAsUser: 0
A memory limit of 64Mi with hostNetwork: false
hostNetwork: false
runAsUser: 1000 together with a writable emptyDir
runAsUser: 1000