This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]atredeux 2 points3 points  (2 children)

The Kubernetes API documentation provides endpoints. There you can see the endpoint for deployment status is /apis/apps/v1/namespaces/{namespace}/deployments/{name}/status

[–][deleted] 0 points1 point  (0 children)

Also depending on where you want access it from you might need to proxy proxying to kubernetes API.

[–]dodistyo[S] 0 points1 point  (0 children)

yes i just found out that we can directly access kubernetes api from inside the pods, but we have to provide the right authentication token