EXPAND ALL
  • Home

upid_to_pod_status

Gets the Kubernetes status information for the pod the given Unique Process ID (UPID) is running on. 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. If the UPID has no associated kubernetes pod, this will return an empty string.

Returns: STRING

The Kubernetes PodStatus for the UPID passed in.

Arguments

VariableTypeDescription
upidUINT128The UPID to get the PodStatus for.

Examples:

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