콘텐츠로 이동
한국어

singleProviderDiscovery

이 콘텐츠는 아직 번역되지 않았습니다.

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.

"config" | "dns" | "kubernetes"

AutoDiscoverySettings

SeedProvider