DEV Community

Discussion on: You probably shouldn’t be using Kubernetes for your new startup

Collapse
 
tyronegroves profile image
Tyrone Groves

I agree Craig. K8s makes it so much easier for small projects because you don't have to worry about infrastructure as much. It makes CI much easier.

Collapse
 
correojefer profile image
Jefferson

Well, i disagree with you, the infrastructure behind k8s is so complicated to deploy and administrate, much more complicated on-premise than on Cloud.
Where is the difference? Where is the easier? When the dev guy need to make a deployment of an app or microservice don't need to ask the infrastructure team for servers, storage and or anything... Just make a deployment on the kubernetes cluster and that's all.
But let me say you that the infrastructure is there, with higher level of complexity.

Thread Thread
 
hagen00 profile image
Hagen

This is especially true when you over engineer K8s
Eg. Using it for the DB, persistent disks everywhere etc, all things that could be offloaded to 3rd party cloud services

Thread Thread
 
liquid_chickens profile image
Chris Dodds

👏 Don't 👏 run 👏 stateful 👏 services 👏 in 👏 k8s. 👏

Thread Thread
 
correojefer profile image
Jefferson

Well, deploying stateless microservices will not dissapear all infrastructure required to run k8s.
The discussion is about k8s does not require complex infrastructure...

Thread Thread
 
coryarmbrecht profile image
CoryArmbrecht

👏 Don't 👏 run 👏 stateful 👏 services 👏 in 👏 k8s. 👏

I'm new to them, but I feel like I'm about to do that exact thing. What is your solution to it?

Thread Thread
 
liquid_chickens profile image
Chris Dodds

Run them outside of k8s in traditional VMs or services like AWS RDS.

Thread Thread
 
swoorup profile image
Swoorup Joshi • Edited

That applies to standard tools like databases, not specific ones for your use-case specially if you are building lot of workers and doing cpu heavy computation tasks. i.e not every app is CRUD like.