Nuno:
Why does the system say that the command is wrong? I saw the in container logs . My YAML is the second one (without sh
).
Note: CKAD MOCK EXAM – 2
Nuno:
Why does the system say that the command is wrong? I saw the in container logs . My YAML is the second one (without sh
).
Note: CKAD MOCK EXAM – 2
unnivkn:
apiVersion: batch/v1
kind: Job
metadata:
name: whalesay
spec:
template:
spec:
containers:
- name: whalesay
image: docker/whalesay
command: [“cowsay”,“I am going to ace CKAD!”]
restartPolicy: Never
backoffLimit: 6
completions: 10
unnivkn:
please try this
Nuno:
So you just changed the command
I will try next time. Thanks.