singleProviderDiscovery
Este conteúdo não está disponível em sua língua ainda.
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"