Ultimately I'm skipping everything related to K8S, the level of complexity there is not warranted for what I'm trying to do
This is something I'll revisit at a much different stage when I have a lot more scale to worry about, thanks for letting me know about Rancher as I wasn't aware it existed
That's too simple to the point where it will cause problems and extra maintenance.
To be clear, what I'm looking for is a "middle ground" solution that doesn't involve all of the configuration required to deploy and manage a K8S cluster, but still gives me some of the benefits I might get from that.
I have production experience with K8s - it works great especially at a large scale (my last company was doing hundreds of thousands of QPS), but I'm not a fan for small deployments.
Things I need:
- Reverse proxy (because I'm not going to serve traffic directly from the app, that is a risky proposition given bot/nefarious traffic - dev servers aren't meant to be true web servers for that reason)
- Environment variable and secret injection
- Some way to deploy apps easily and replace old apps, ideally with zero downtime
- Some way to set up postgres
This is exactly what Kamal, Dokku, and similar solutions provide without needing too much extra config - so I'm leaning in the direction of one of those.
As a fun sidenote, 37signals were talking with Rancher Labs to support their off cloud Kubernetes deployment and found it so expensive that it was one of the reasons leading to Kamal :)
Ultimately I'm skipping everything related to K8S, the level of complexity there is not warranted for what I'm trying to do
This is something I'll revisit at a much different stage when I have a lot more scale to worry about, thanks for letting me know about Rancher as I wasn't aware it existed
then just skip images all together....just use a simple vm and deploy your binaries there
That's too simple to the point where it will cause problems and extra maintenance.
To be clear, what I'm looking for is a "middle ground" solution that doesn't involve all of the configuration required to deploy and manage a K8S cluster, but still gives me some of the benefits I might get from that.
I have production experience with K8s - it works great especially at a large scale (my last company was doing hundreds of thousands of QPS), but I'm not a fan for small deployments.
Things I need:
- Reverse proxy (because I'm not going to serve traffic directly from the app, that is a risky proposition given bot/nefarious traffic - dev servers aren't meant to be true web servers for that reason)
- Environment variable and secret injection
- Some way to deploy apps easily and replace old apps, ideally with zero downtime
- Some way to set up postgres
This is exactly what Kamal, Dokku, and similar solutions provide without needing too much extra config - so I'm leaning in the direction of one of those.
maybe github.com/kube-hetzner/terra… would be a good middle ground for you, It should be way easier than a full k8 implementation....
I'll give it a look - thanks
As a fun sidenote, 37signals were talking with Rancher Labs to support their off cloud Kubernetes deployment and found it so expensive that it was one of the reasons leading to Kamal :)