EXPAND ALL
  • Home

pod_id_to_deployment_name

Gets the Kubernetes name for the Deployment that owns the Pod (specified by Pod ID).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_idSTRINGThe Pod ID of the Pod to get the Deployment name for.

Examples:

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