I thought the DB isn’t supposed to go in the cluster?
Kubernetes and back – Why I don't run distributed systems
11–20 of 43 posts
Re: Kubernetes and back – Why I don't run distributed systems
#12These posts come up so frequently, people keep falling for buzzwords they don't understand and then start blaming the tech. Distributed systems are all cool and fun but use them as a last option when you have exhausted all other choices. > I took a moment to calculate the cost of hosting my app on the K8s offerings of a Hyperscaler like AWS, Google or Azure just to figure out that this won’t be an option for me. Clea…
Even just something like EC2 instances is costly - and a surprising amount of stuff in the cloud is just containers or EC2 instances, before redundancy even. Adding in specialized services makes things even more costly.
Problem is that nowadays it's hard to find a team that knows how to properly handle hardware - if you manage to get a handful of people that know how to do that cloud is only sensible for very few edge cases.
And as the article states - in many cases you probably don't even need all that fancy from K8s. I can for the cost of using K8s cloud stuff just put a second copy of our hardware in a different DC (or maybe even a third one), and just fail between DCs if needed. Way simpler setup, and excludes a lot of failure cases I'd catch with a K8s setup.
Re: Kubernetes and back – Why I don't run distributed systems
#13MongoDB is shitsoftware anyway.
I use k8s in a very small setup (3 worker nodes, 3 ctrl planes) in my startup. But i'm working professionally with k8s for 6 years.
My setup is relative big but also relative simple and most of it is also IaC. I don't need to backup my setup and i don't need to document how i setup everything.
I have blue/green deployment, multiply enviorrnments (dev, test, prod) configured 100% equal, a good monitoring stack + tracing, s3 replication, postgresql ha and offside backup.
i can shut down a node and nothing happens.
But you know, if k8s doesn't fit your time and experience and benefit estimation, don't use it.
The upfront cost of k8s is bigger though.
Re: Kubernetes and back – Why I don't run distributed systems
#14Re: Kubernetes and back – Why I don't run distributed systems
#15Re: Kubernetes and back – Why I don't run distributed systems
#16I thought the DB isn’t supposed to go in the cluster?
With an operator, you get HA setup with switch over etc. basically for free.
I would prefer relativly cheap managed db over hosting it myself but its absolutly fine.
Re: Kubernetes and back – Why I don't run distributed systems
#17A dedicated server from OVH running some processes under lxc and systemd can achieve 100% yearly uptime. Your hobby project isn’t Google.
Re: Kubernetes and back – Why I don't run distributed systems
#18I’ve read such insanely doctrinaire opinions here on HN like you must NEVER!!! ssh into a system, and instead have some rube-goldberg distributed contrivance for deployment and debugging and anything else. I presume this attitude is how we got to people running their phpbb blog in a 5 node kubernetes cluster. A dedicated server from OVH running some processes under lxc and systemd can achieve 100% yearly uptime. Your…
73.6% of All Statistics Are Made up
https://www.datacenterdynamics.com/en/opinions/ovhclouds-dat...Re: Kubernetes and back – Why I don't run distributed systems
#19I’ve read such insanely doctrinaire opinions here on HN like you must NEVER!!! ssh into a system, and instead have some rube-goldberg distributed contrivance for deployment and debugging and anything else. I presume this attitude is how we got to people running their phpbb blog in a 5 node kubernetes cluster. A dedicated server from OVH running some processes under lxc and systemd can achieve 100% yearly uptime. Your…
> A dedicated server from OVH running some processes under lxc and systemd can achieve 100% yearly uptime. Your hobby project isn’t Google. 73.6% of All Statistics Are Made up https://www.datacenterdynamics.com/en/opinions/ovhclouds-dat...
Just go away and burn ;)
Re: Kubernetes and back – Why I don't run distributed systems
#20I’ve read such insanely doctrinaire opinions here on HN like you must NEVER!!! ssh into a system, and instead have some rube-goldberg distributed contrivance for deployment and debugging and anything else. I presume this attitude is how we got to people running their phpbb blog in a 5 node kubernetes cluster. A dedicated server from OVH running some processes under lxc and systemd can achieve 100% yearly uptime. Your…
> A dedicated server from OVH running some processes under lxc and systemd can achieve 100% yearly uptime. Your hobby project isn’t Google. 73.6% of All Statistics Are Made up https://www.datacenterdynamics.com/en/opinions/ovhclouds-dat...
I have 2x 5$ VPSes on OVH for small side projects
>up 828 days
>up 1025 days