EXPAND ALL
  • Home

pod_id_to_deployment_id

Gets the Kubernetes ID 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 ID wich controls the Pod with the Pod ID.

Arguments

VariableTypeDescription
pod_idSTRINGThe Pod ID of the Pod to get the Deployment ID for.

Examples:

df.deployment_id = px.pod_id_to_deployment_id(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.