EXPAND ALL
  • Home

pod_name_to_status

Gets the Kubernetes status information for the pod with the given name. The status is a subset of the Kubernetes PodStatus object returned as JSON. The keys included are state, message, and reason. See https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#podstatus-v1-core for more info about this object.

Returns: STRING

The Kubernetes PodStatus for the Pod passed in.

Arguments

VariableTypeDescription
pod_nameSTRINGThe name of the pod to get the PodStatus for.

Examples:

df.pod_status = px.pod_name_to_status(df.pod_name)
This site uses cookies to provide you with a better user experience. By using Pixie, you consent to our use of cookies.