EXPAND ALL
  • Home

pod_id_to_service_id

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.

Returns: STRING

The k8s service ID for the Pod ID passed in.

Arguments

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

Examples:

df.service_id = px.pod_id_to_service_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.