I am trying to check the status of a pod using kubectl wait command through this documentation. Following is the command that i am trying
kubectl wait --for=condition=complete --timeout=30s -n d1 job/test-job1-oo-9j9kj
Following is the error that i am getting
Kubectl error: status.conditions accessor error: Failure is of the type string, expected map[string]interface{}
and my kubectl -o json
output can be accessed via this github link.
Can someone help me to fix the issue