Try to search your question here, if you can't find : Ask Any Question Now ?

Any alternate command of Kubectl describe pods <podname>

HomeCategory: stackoverflowAny alternate command of Kubectl describe pods <podname>
Avatarbhawya asked 4 months ago

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.

1 Answers
Best Answer
AvatarMikhail answered 4 months ago
Your Answer

10 + 8 =

Popular Tags

WP Facebook Auto Publish Powered By :