EXPAND ALL
  • Home

pod_name_to_deployment_name

Gets the Kubernetes name for the Deployment that owns the Pod (specified by pod name).If this pod is not controlled by any Deployment, returns an empty string.

Returns: STRING

The k8s Deployment name wich controls the Pod with the Pod ID.

Arguments

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

Examples:

df.replica_set_name = px.pod_name_to_deployment_name(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.