EXPAND ALL
- Home
- About Pixie
- Installing Pixie
- Using Pixie
- Tutorials
- Reference
Gets the Kubernetes service ID 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 ID for the Pod name passed in.
Variable | Type | Description |
---|---|---|
pod_id | STRING | The name of the Pod to get service ID for. |
df.service_id = px.pod_name_to_service_id(df.pod_name)