EXPAND ALL
- Home
- About Pixie
- Installing Pixie
- Using Pixie
- Tutorials
- Reference
Gets the Kubernetes namespace for the process with the given Unique Process ID (UPID). If the process is not running within a kubernetes context, this function will return an empty string
The k8s namespace for the UPID passed in.
Variable | Type | Description |
---|---|---|
upid | UINT128 | The UPID of the process to get the namespace for. |
df.namespace = px.upid_to_namespace(df.upid)