EXPAND ALL
  • Home

upid_to_namespace

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

Returns: STRING

The k8s namespace for the UPID passed in.

Arguments

VariableTypeDescription
upidUINT128The UPID of the process to get the namespace for.

Examples:

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