EXPAND ALL
  • Home

pod_name_to_service_name

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.

Returns: STRING

The k8s service name for the Pod name passed in.

Arguments

VariableTypeDescription
pod_nameSTRINGThe name of the Pod to get service name for.

Examples:

df.service_name = px.pod_name_to_service_name(df.pod_name)
This site uses cookies to provide you with a better user experience. By using Pixie, you consent to our use of cookies.