Skip to content

@nogoo9/no-crd / index / K8sContext

Interface: K8sContext

Defined in: src/k8s/client.ts:19

Encapsulates the Kubernetes cluster config and pre-instantiated API clients. This is used for Dependency Injection across all helper functions and MCP tools.

Properties

coreApi

coreApi: ObjectCoreV1Api

Defined in: src/k8s/client.ts:23

Standard Core V1 API client (for Pods, ConfigMaps, Namespaces, Services).


kc

kc: KubeConfig

Defined in: src/k8s/client.ts:21

Active KubeConfig configuration.