Please help me with CKA course practice test security context question 2. I used the commands on pic1, but it says the task is not completed on task 3 (pic2). My yaml file section (pic3). I couldn’t find anything wrong?? p.s. I tried again, it looks like we need to delete those extra lines in the yaml file otherwise that will be an issue?
You need to add security context under containers section
spec: containers: - command: - sleep - "4800" image: ubuntu imagePullPolicy: Always name: ubuntu securityContext: runAsUser: 1010