code: List<Endpoint> endpointsByLabel(String serviceLabel, String serviceLabelValue) {
          try {
              String param = String.format("labelSelector=%s=%s", serviceLabel, serviceLabelValue);
              String urlString = String.format("%s/api/v1/namespaces/%s/endpoints?%s", kubernetesMaster, namespace, param);
              return enrichWithPublicAddresses(parseEndpointsList(callGet(urlString)));
          } catch (RestClientException e) {
              return handleKnownException(e);
          }
      }
docs: Retrieves POD addresses for all services in the specified {@code namespace} filtered by {@code serviceLabel}
  and {@code serviceLabelValue}.
  
  @param serviceLabel      label used to filter responses
  @param serviceLabelValue label value used to filter responses
  @return all POD addresses from the specified {@code namespace} filtered by the label
  @see <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.11/#list-143">Kubernetes Endpoint API</a>