The 'kubernetes' arm — EndpointSlices read from the API server.
readonly
provider: "kubernetes"
Discriminant.
readonly
namespace: string
Namespace the services live in.
readonly
optional
apiServer: string
API server base URL. Defaults to the in-cluster
https://$KUBERNETES_SERVICE_HOST:$KUBERNETES_SERVICE_PORT.
readonly
optional
token: string
Bearer token, used verbatim.
Omit it in-cluster and the provider reads the projected service-account token instead, re-reading it periodically because Kubernetes rotates it.
readonly
optional
portName: string
Selects the ports[] entry by name when a service exposes several.
readonly
optional
secure: boolean
Whether resolved instances speak TLS.
readonly
optional
http: IDiscoveryHttp
Overrides the default fetch-backed HTTP seam.