*Question 7 - Mock Exam 2 . Job whalesay never gets completed with following YAM . . .

Rahul:
Question 7 - Mock Exam 2 . Job whalesay never gets completed with following YAML . What can be the issue ?

apiVersion: batch/v1
kind: Job
metadata:
creationTimestamp: null
name: whalesay
spec:
backoffLimit: 6
completions: 10
template:
metadata:
creationTimestamp: null
spec:
containers:
- image: docker/whalesay
name: whalesay
command: [“cowsay I am going to ace CKAD!”]
resources: {}
restartPolicy: Never
status: {}

Tej_Singh_Rana:
Hello, @Rahul
You can try different format,

command:
 - sh
 - -c
 - "cowsay I am going to ace CKAD!"

Tej_Singh_Rana:

command: [ "sh", "-c", "cowsay I am going to ace CKAD!" ]

Rahul:
okay Sure . What is wrong in the above , just wanted to know for future

Tej_Singh_Rana:
Did you try to see logs?