EXPAND ALL
- Home
- About Pixie
- Installing Pixie
- Using Pixie
- Tutorials
- Reference
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.
The Kubernetes PodStatus for the UPID passed in.
Variable | Type | Description |
---|---|---|
upid | UINT128 | The UPID to get the PodStatus for. |
df.pod_status = px.upid_to_pod_status(df.upid)