singleProviderDiscovery
Ce contenu n’est pas encore disponible dans votre langue.
singleProviderDiscovery(
kind,settings):SeedProvider
Defined in: src/discovery/autoDiscovery.ts:107
Named-provider shorthand used by Cluster.bootstrap({ discovery: '...' }).
Pins the chain to a single provider type (configured from env vars)
instead of running the full fallback ladder. Useful when you know
you’re running on K8s and want the bootstrap to fail loudly if the
K8s API isn’t reachable, instead of silently falling through to DNS.
Parameters
Section titled “Parameters”"config" | "dns" | "kubernetes"