docker swarm init
on manager nodedocker swarm join
with correct join token on all other nodesdocker network create --scope swarm --driver overlay web
on manager nodedocker stack deploy -c cloudflared/docker-compose.yml picluster
docker stack deploy -c traefik/docker-compose.yml picluster
docker stack deploy -c cloudflare-companion/docker-compose.yml picluster
- Export environment variables to current shell
- Run
envsubst < <(kubectl kustomize *path-to-kustomization-dir*) | kubectl apply -f -
sops --decrypt *path-to-.sops.yaml* | kubectl apply -f -
Portions cloned from k8s-at-home/template-cluster-k3s