EXPAND ALL
- Home
- About Pixie
- Installing Pixie
- Using Pixie
- Tutorials
- Reference
Gets the Kubernetes service name for the service associated to the pod. If there is no service associated to this pod, then this function returns an empty string.
The k8s service name for the Pod ID passed in.
Variable | Type | Description |
---|---|---|
pod_id | STRING | The Pod ID of the Pod to get service name for. |
df.service_name = px.pod_id_to_service_name(df.pod_id)