docs: private static ServicePort findQualifiedServicePort(Service service, Annotation... qualifiers) {
          Port port = null;
          for (Annotation q : qualifiers) {
              if (q instanceof Port) {
                  port = (Port) q;
              }
          }
          if (service.getSpec() != null && service.getSpec().getPorts() != null) {
              for (ServicePort servicePort : service.getSpec().getPorts()) {
                  //if no port name is specified we will use the first.
                  if (port == null) {
                      return servicePort;
                  }
  
                  if (servicePort.getName() != null && servicePort.getName().equals(port.name())) {
                      return servicePort;
                  }
              }
          }
          return null;
      }