4 ms·
48.08 USD per month on a single-node GKE cluster w/ 2 cores 4 gigs -> 15.34 USD per month Hetzner VPS w/ 4 cores 8 gigs.
by jitl 3y ago
48.08 USD per month on a single-node GKE cluster w/ 2 cores 4 gigs -> 15.34 USD per month Hetzner VPS w/ 4 cores 8 gigs.
- lyu07282 3y ago48 seems really low to me, I've never seen a k8s cloud cluster for less then 100-150 a month on the very low end, also doesn't take egress into account how do you even run a k8s cluster "on 2 cores 4 gigs", don't you need at least 3 nodes?
- jitl 3y agoYou need 3 nodes for a high availability control plane if you’re managing the Kubernetes control plane yourself. With GKE, the control plane is totally managed by Google Cloud, things like etcd etc are not running on any of your instances. It’s fine to have just 1 compute node (like the before state), or to put all the k8s control plane on a single node (like the after state) if you don’t need high availability.
- deathanatos 3y agoIt would have to be a zonal cluster, I think. A regional cluster would have 3 nodes, minimum (ish¹). (Unless maybe if you can do a two-zone regional cluster? But I'm not sure why you'd ever do that, though. I don't have much experience w/ the zonal ones, since typically we want our service spread across multiple failure domains. OP seems to be in the bootstrap phase, so the cost savings might be > the reliability at their present scale, to them, which I can respect.) ¹you can have a zero node regional cluster, but it isn't going to do much work.
- icedchai 3y agoIf your app needs 2 cores and 4 gigs RAM, why are you running it on a cluster in the first place? That "cluster" is going to have more resources going to overhead/management than running the application itself.