Class KubernetesServiceInstanceEndpointProvider

All Implemented Interfaces:
KubernetesServiceInstanceProvider

@Requires(property="kubernetes.client.discovery.mode-configuration.endpoint.watch.enabled", notEquals="true", defaultValue="false") @Singleton public class KubernetesServiceInstanceEndpointProvider extends AbstractV1EndpointsProvider
Service instance provider uses Kubernetes Endpoints API as source of service discovery.
Since:
2.3
Author:
Pavol Gressa
  • Field Details

    • LOG

      protected static final org.slf4j.Logger LOG
  • Constructor Details

    • KubernetesServiceInstanceEndpointProvider

      public KubernetesServiceInstanceEndpointProvider(io.micronaut.kubernetes.client.reactor.CoreV1ApiReactorClient client, KubernetesConfiguration.KubernetesDiscoveryConfiguration discoveryConfiguration)
      Creates kubernetes instance endpoint provider.
      Parameters:
      client - client
      discoveryConfiguration - discovery configuration
  • Method Details