I am new to Dev Ops. I am setting up a CD pipeline in the VSTS. I have used Deploy to Kubernetes task to deploy the application, which is working fine.
After Deploy to Kubernetes task, I have added one more Deploy to Kubernetes task and I want to execute below command
kubectl describe pods <podname>
Above command describe about the pod.
I can see there is no such command available in the Deploy to Kubernetes task (in VSTS pipeline) for describe.
Only available commands are
get, apply, set, exec, login, logout, create, delete, expose, run and top.
By executing above commands, I want to make sure is each pods is running.
How can I execute the describe command in the VSTS CD pipeline?
Alternative option is, any other command, which will return same output as
describe pods <podname> command.