DEV Community

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

Collapse
 
unrealcraig profile image
Craig

Absolutely disagree, it's really not that hard and it provides a consistent way of doing everything.
Starting with something "simpler" then causes interuption to switch to completely different things.
The choice should more involve the skills of initial team than the size of company/budget/project.

Also starting with microsevices is much easier than splitting a monolith later.

Now I've heavily used K8s a lot I'm wishing I got into it sooner but everyone kept incorrectly saying it's over complex when it really isn't!

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.

Collapse
 
liquid_chickens profile image
Chris Dodds

"Also starting with microsevices is much easier than splitting a monolith later."

It's all about picking the tradeoffs you want to deal with. Personally, I'll take "splitting up the monolith" over "re-architecting a bunch of incorrectly scoped microsercvices" any day of the week.