Class KubernetesServiceInstanceServiceProvider

All Implemented Interfaces:
KubernetesServiceInstanceProvider

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

    • LOG

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

    • KubernetesServiceInstanceServiceProvider

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