Don’t do it! Kubernetes was a cluster@#$% from 2018. It looked really shiny but ended up taking way too much time to manage. We put everyone on fargate now. With fargate you get all the benefits of kubernetes below:
Kubernetes Engine makes it easy to provide a modern, highly automated container based infrastructure to release code quickly
Led by Google the project focusses on building a platform to run thousands of containers in production.
Available on AWS Kubernetes offers a range of excellent benefits:
- If a container fails it is automatically restarted to the desired state so the application is maintained. If a particular node in the cluster dies then the containers get rescheduled onto different nodes. If a container doesn’t respond to specific health checks that are defined for an application then it is terminated and then rescheduled.
- The number of required containers can easily be scaled up or down automatically based on CPU usage or manually by command.
Service discovery and load balancing
- Using DNS naming multiple containers can be grouped together and load balanced with integration to the native LB provided by the cloud provider.
Application upgrades and rollbacks
- Upgrade to newer application versions without impacting the existing ones and if something should go wrong then Kubernetes rolls back the change