K8

Helm & Operators

Templating, CRDs, and cluster state management

Details

Language / Topic
kubernetesKubernetes
Category
Deployment

Rules

balanced
- Do not manually apply YAMLs via `kubectl`. Use Helm or Kustomize to template environments.
- Prefer GitOps approaches (ArgoCD / Flux) to synchronize cluster deployments automatically.
- Use Helm charts to parameterize deployments between Staging and Production to prevent copy-pasting YAML blocks.
- Transition manual `helm upgrade` commands to a pure GitOps pipeline utilizing ArgoCD or Flux to enforce single-source-of-truth cluster logic.
- Restrict the usage of raw `latest` tags globally; pin container image deployments to explicit Semantic Versioning or SHAs.