``` apiVersion: batch/v1 kind: Job metadata: creationTimestamp: null name: . . .

Ignazio Calo’:

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!"]
      restartPolicy: Never

Abhimanyu Kolakotla:
Try by adding the prefix “sh”, “-c” for the command cowsay

Mohamed Ayman:
Please use this YAML file

apiVersion: batch/v1
kind: Job
metadata:
name: whalesay
spec:
template:
spec:
containers:
- name: whalesay
image: docker/whalesay
command: [“sh”,“-c”,“cowsay I am going to ace CKAD!”]
restartPolicy: Never
backoffLimit: 6
completions: 10