6 ms·
I have ansible so I can install nginx, acme.sh and copy files. Then if my host explodes, it's the same single command to deploy to a fresh host as my existing h
by Macha 6y ago
I have ansible so I can install nginx, acme.sh and copy files. Then if my host explodes, it's the same single command to deploy to a fresh host as my existing host.
- turtlebits 6y agoIt's just as trivial to spin up a new cluster, and do a kubectl apply -f .
- Macha 6y agoWith a managed service sure. If you have an unmanaged host? I'm not sure stuff like microk8s or k3s claim to be production ready.
- turtlebits 6y agoIf you have an unmanaged host you just need to install docker and k3s (with a curl command). Two lines in a userdata/init script and you're ready to go. K3s claims to be production ready.
- nonameiguess 6y agok3s is absolutely production ready. It's intended for IOT and edge devices, but if you want to use it in a data center, it'll work. What you lose is the failover of Kubernetes itself that you get from a proper HA etcd setup where the control plane for your cluster is itself also clustered, but you really don't need that if your entire application is a single node anyway.
- merb 6y agok3s supports that. in fact rke2 is basically driven by k3s
- taeric 6y agoFor a static site, why not just use s3?
- Macha 6y agoI have the server anyway for a few non static items (acme DNS for getting LE certs for my internal hosts for example)