interface KubernetesProviderOptions

Constructor options.

Properties

readonly
namespace: string

Namespace the services live in.

readonly
apiServer: string

API server base URL, already resolved from options or the environment.

readonly
optional
token: string

Bearer token used verbatim; absent means read the projected token file.

readonly
optional
portName: string

Selects the ports[] entry by name.

readonly
optional
secure: boolean

Whether resolved instances speak TLS.

Usage

import { type KubernetesProviderOptions } from "service-discovery-plugin/src/index.ts";