Skip to main content
The Kubernetes provider manages core Kubernetes resources — Namespaces, Deployments, StatefulSets, Services, ConfigMaps, and Secrets — on a GKE cluster, an external cluster, or the cluster the provider runs in.

Setup

Cluster access comes from a kubernetes/config resource. Every other Kubernetes resource requires a config dependency pointing to it. A kubernetes/config resource authenticates in one of three modes, set by its immutable mode field: Its only output is mode.

Resources

Architecture

Kubernetes resources depend on a kubernetes/config resource, which can depend on a GKE cluster:

Notes

  • All Kubernetes resources use server-side apply for idempotent create/update operations.
  • The config and namespace fields are immutable on all resources — changing them requires recreation.
  • Workload resources (Deployment, StatefulSet) wait for all replicas to be ready before reporting success.
  • Deleting a Namespace, Deployment, or StatefulSet waits until the object is gone.