7 ms·
Kubernetes solves a very real and significant problem. But before you start using it, make sure you have the problem it solves. If you're looking to have your
by lallysingh 6y ago
Kubernetes solves a very real and significant problem. But before you start using it, make sure you have the problem it solves.
If you're looking to have your small app eventually grow into a large one, read up on K8s and just make sure you're not blocking future-you from making your app work on it. E.g., work well in a container (which is useful for automated testing, deps management, etc), have a simple 'ping' endpoint to make sure the app is up, have a better config story than "recompile to change these variables", use a logging library, and tolerate any other services you're using to sometimes be down.
All useful things for a grown-up app to do anyways, all a bit of a PITA, and all better than trying to operate an app that doesn't do them.
- danpalmer 6y agoExactly this. Kubernetes is a service orchestrator, not a hosting platform. Those getting caught up in it just want a hosting platform, but those getting value out of it want a service orchestrator. If you have one monolithic backend service (and most web applications really should start out this way), Kubernetes offers almost no benefits over alternatives.