Setup
Cluster access comes from akubernetes/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 akubernetes/config resource, which can depend on a GKE cluster:
Notes
- All Kubernetes resources use server-side apply for idempotent create/update operations.
- The
configandnamespacefields 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.