code: public Optional<URL> getServiceUrl(String name) {
          Service service = client.services().inNamespace(namespace).withName(name).get();
          return service != null ? createUrlForService(service) : Optional.empty();
      }
docs: Gets the URL of the service with the given name that has been created during the current session.
  
  @param name to return its URL
  @return URL of the service.