Kubernetes and GitOps tooling¶
Package group k8s installs operator CLIs. It does not create clusters,
modify kubeconfig, switch context/namespace, deploy workloads, or sync Argo CD.
Install¶
Helm itself remains in package group infra (Helmfile soft-depends on it).
Commands¶
./dots check k8s # kubectl client + local manifest validation
./dots check k8s status # tools vs connected environment
Tools¶
| Tool | Role |
|---|---|
kubernetes (kubernetes-cli) |
kubectl client |
| k9s | Cluster TUI |
| kubectx / kubens | Context/namespace helpers (one Homebrew formula: kubectx) |
| stern | Multi-pod log tail |
| krew | kubectl plugin manager (plugins not auto-installed) |
| kubeconform | Local manifest schema validation |
| kubescape | Local manifest/policy scan (no cloud login) |
| popeye | Live cluster sanitation (opt-in use only) |
| helmfile | Declarative Helm (no apply during checks) |
| argocd | Argo CD CLI (no login/sync during checks) |
| kustomize | Overlay builds (kustomize build on fixtures only) |
| kyverno | Policy tests (kyverno test on local fixtures; no cluster) |
Validation¶
Default gate:
kubectlclient available- Discover YAML with
apiVersion+kind(skips Actions/Compose/MkDocs) kubeconformwhen manifests exist- Optional local
kubescapewhen manifests exist
No Kubernetes manifests → SKIP, not FAIL.
Cluster reachability is informational. A workstation with tools but no kubeconfig is valid.
Explicit non-goals¶
Setup / ./dots check k8s will not:
- create or join a cluster
- modify
~/.kube/config kubectl config use-context/kubens/kubectxautomatically- install krew plugins
helmfile apply/ destroyargocd login/ sync- require a YubiKey