EXPAND ALL
- Home
- About Pixie
- Installing Pixie
- Using Pixie
- Tutorials
- Reference
Gets the Kubernetes Deployment ID for the Deployment name.If the given name doesn't have an associated Kubernetes Deployment, this function returns an empty string
The Kubernetes Deployment ID for the name passed in.
Variable | Type | Description |
---|---|---|
deployment_name | STRING | The name of the Deployment to get the ID for. The name includes the namespace of the Deployment. i.e. "ns/deployment_name" |
df.deployment_id = px.deployment_name_to_deployment_id(deployment_name)