Hi @Vijin Palazhi I was Practicing Seccomp Lab question 10.. the Pod is in run . . .

Bhushan G:
Hi @Vijin Palazhi
I was Practicing Seccomp Lab question 10…

the Pod is in running state with requested secomp Profile…Still the question Failed…
could you guys look on this.
controlplane $ kubectl get pods -o wide
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
audit-nginx-node01 1/1 Running 0 2m39s 10.244.1.5 node01 <none> <none>
controlplane $ cat q10.yaml
apiVersion: v1
kind: Pod
metadata:
creationTimestamp: null
labels:
run: nginx
name: audit-nginx
spec:
securityContext:
seccompProfile:
type: Localhost
localhostProfile: profiles/audit.json
containers:

Vijin Palazhi:
let me take a look

Vijin Palazhi:
I just tried this test and did not see an issue.

Can you share your YAML file?

Vijin Palazhi:
for reference, this is what I used /var/answers/audit-nginx.yaml

Bhushan G:
I have shared the yaml file in the earlier post itself…
controlplane $ cat q10.yaml
apiVersion: v1
kind: Pod
metadata:
creationTimestamp: null
labels:
run: nginx
name: audit-nginx
spec:
securityContext:
seccompProfile:
type: Localhost
localhostProfile: profiles/audit.json
containers:

  • image: nginx
    name: nginx