Installation
npx skills add https://github.com/getcolors/k8s --skill package-k8s-greenSKILL.md
kubeadm Kubernetes on DigitalOcean
Read references/configuration.md before changing desired state or running a lifecycle command.
Safety
- Keep secrets out of
colors.yml; use ignoredCOLORS_PAR_*exports. - Never set
COLORS_PAR_PROFILEand never edit generated.colors/files. - Default to
buildandcreate --dry-run; real create/delete needs explicit authorization. - Keep
compute-prevent-destroy: true. Lift it for one authorized delete withCOLORS_PAR_COMPUTE_PREVENT_DESTROY=false. - Restrict
digitalocean-ssh-sourcesanddigitalocean-api-sources; do not use0.0.0.0/0for administrative access. - Do not copy
/etc/kubernetes/admin.conf../green kubectluses it over SSH.
Commands
./green build
./green create --dry-run
./green create
./green kubectl get nodes
./green kubectl get pods -A
./green delete
A real lifecycle run requires Babashka, OpenTofu, Ansible, and SSH. The provided
devenv.nix supplies them. Flux watches a public HTTPS repository and path.
Ensure that path contains the controller/config/application reconciliation
objects before provisioning.
Delete first asks Kubernetes to remove the ingress LoadBalancer and waits for its service finalizer, then destroys only the deployment-owned Droplets, firewalls, and VPC.