What an awesomely detailed post, great job, my friend! K8s is one of the most exciting tech out there! Together with Helm charts, it makes a really powerful combo, enabling for example zero downtime deployments.
In my experience, one shouldn't even bother with Kubernetes for a standalone web application. It's too much hassle for that :)
We started seeing it as super-important once we started managing almost a dozen microservices with multiple containers per service. The user base was at least a million users mainly looking for their bank transaction details (multiple geographies).
Kubernetes (packaged as OpenShift) saved us from quite a few downtime situations due to its auto-healing capabilities. Plus the cognitive load on developers managing all those services had become quite significant.
This was so simple to understand! Kubernetes with it's vast infrastructure tends to overwhelm when starting with it but this gives such a wonderful intro to it. Thank you!
Very nice description. I would like to know from you how these concepts can be mapped to Tomcat, which is a servlet container. What are the common things and what are the gaps? Thank you, so much!
Regarding your query, it's hard to have a one-to-one mapping between Tomcat and Kubernetes. In fact, you can deploy Tomcat containers on Kubernetes and orchestrate them.
A few points of comparison can be:
- You can have a Kubernetes Pod running a Tomcat instance
- In Tomcat, a volume can be the storage space used by a Tomcat instance
- Service could be considered roughly similar to Tomcat network configurations
What an awesomely detailed post, great job, my friend! K8s is one of the most exciting tech out there! Together with Helm charts, it makes a really powerful combo, enabling for example zero downtime deployments.
Thanks Daniel for the incredible feedback!
And you mentioned a great point about using Kubernetes with Helm Charts...it's indeed a very powerful combo. Will explore it in some future edition.
For someone who doesn’t use Kubernetes yet, at which scale the cost of this additional
complexity starts to have returns?
In my experience, one shouldn't even bother with Kubernetes for a standalone web application. It's too much hassle for that :)
We started seeing it as super-important once we started managing almost a dozen microservices with multiple containers per service. The user base was at least a million users mainly looking for their bank transaction details (multiple geographies).
Kubernetes (packaged as OpenShift) saved us from quite a few downtime situations due to its auto-healing capabilities. Plus the cognitive load on developers managing all those services had become quite significant.
This is super insightful, thanks for the explanation Saurabh!
Happy to share what I learned, Akos :)
This was so simple to understand! Kubernetes with it's vast infrastructure tends to overwhelm when starting with it but this gives such a wonderful intro to it. Thank you!
Thanks for the great feedback Shruti!
Glad you enjoyed it.
An amazing post Saurabh. Haven't read such a detailed and no non-sense post on k8s for the first time. Keep up 👍
Thanks for the wonderful feedback Shikhar!🙂
Very nice description. I would like to know from you how these concepts can be mapped to Tomcat, which is a servlet container. What are the common things and what are the gaps? Thank you, so much!
Thanks for the feedback Kalyan!
Regarding your query, it's hard to have a one-to-one mapping between Tomcat and Kubernetes. In fact, you can deploy Tomcat containers on Kubernetes and orchestrate them.
A few points of comparison can be:
- You can have a Kubernetes Pod running a Tomcat instance
- In Tomcat, a volume can be the storage space used by a Tomcat instance
- Service could be considered roughly similar to Tomcat network configurations
This is amazing, you probably just summarized with practical examples in one article what will take tons of articles and videos to understand.
Thanks for the gr8 feedback Lekan!
While writing, I wanted this to be a great introductory resource for folks looking to start with K8S :)