This is a very common issue which we have observed with most of the Kubernetes related tasks. The validation checks for command without any arguments. Therefore you should have used args in the same command line instead of defining it separately.
My task Print Environment Variables failed with the below error.
Task Status - Failed
command ‘echo’ is not used
Please check the below output as the kubectl logs shows the correct output using echo.
thor@jump_host ~$ kubectl get pods
NAME READY STATUS RESTARTS AGE
print-envars-greeting 0/1 Completed 0 25s
thor@jump_host ~$ kubectl logs -f print-envars-greeting
Welcome to Stratos Datacenter
Manifest file also has echo command and related arguments configured as requested in task.
Print Environment Variables Aug 18, 2020 3:00:29 PM Aug 26, 2020 3:00:29 PM
This is a task assigned to me 1hr ago which I completed immediately but failed. The validation seems to be incorrect, therefore I requested you to recheck.
@rahul456 actually I think I know the problem I think the question asked me about redis image if I am not wrong. unfortunately haven’t captured screen the question and the pod template from what I submitted. would still appreciate if you can check and verify? thank you heaps!