EXPAND ALL
- Home
- About Pixie
- Installing Pixie
- Using Pixie
- Tutorials
- Reference
Gets the Kubernetes container name for the container the process with the given Unique Process ID (UPID) is running on. If the UPID has no associated Kubernetes container, this function will return an empty string
The k8s container name for the UPID passed in.
Variable | Type | Description |
---|---|---|
upid | UINT128 | The UPID of the process to get the container name for. |
df.container_name = px.upid_to_container_name(df.upid)