Hacker News new | ask | show | jobs
by tgrowazay 44 days ago
I use official ‘ansible-playbook k3s.orchestration.site -i inventory.yml’ and it installs k3s over SSH and adds it into my kubectl context, all under 60s too.
2 comments

I have just been `ssh ... -- k3s.sh ...`, been meaning to ansible my homelab
Why not just curl to bash with the official instructions?
Yes you can, but usually:

1) installing a k3s is just one of the things you want to do with a fresh server, so you can have all of the things bundled as a ansible playbook and k3s will just be a step in it.

2) often you want your infra as a code and be reproducible