EXPAND ALL
  • Home

pod_name_to_namespace

Gets the Kubernetes namespace that the pod belongs to.

Returns: STRING

The k8s namespace for the pod passed in.

Arguments

VariableTypeDescription
pod_nameSTRINGThe name of the Pod to get the namespace for.

Examples:

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