I deploy Kubernasty on nodes managed by progfiguration
,
my experimental infrastructure management package.
This package deploys progfiguration-k3s.sh
,
which partially automates the setup and teardown processes.
- Boot the servers
- Run
progfiguration-k3s.sh init
on the first server, and wait untilkubectl get nodes
shows that node asReady
- Run
progfiguration-k3s.sh token
to retrieve the cluster token for subsequent machines - Run
progfiguration-k3s.sh join <TOKEN>
on subsequent machines, one at a time; make sure each machine isReady
before attempting to join the next node - Get the kubeconfig with
progfiguration-k3s.sh kubeconfig
, copy the output to/secrets/psyops-secrets/kubernasty/kubeconfig.yaml
in the psyops container, and add it to gopass withcat /secrets/psyops-secrets/kubernasty/kubeconfig.yml | gopass insert -m kubernasty/kubeconfig