Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python pod status phase

api_response = api_instance.list_namespaced_pod(namespace, pretty=pretty, timeout_seconds=timeout_seconds, watch=watch)

for i in api_response.items:
    print(i.metadata.name + " " + i.status.phase)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #pod #status #phase
ADD COMMENT
Topic
Name
1+9 =