Installing or acquiring a Kubernetes cluster does not automatically provide business value. While there are a variety of ways of installing Kubernetes in an organization’s public or private cloud environment or a developer laptop, developers and IT operations engineers often find it challenging to map their application and processes to Kubernetes.
The opportunity cost of running a suboptimal Kubernetes-based development and production workflow can be a huge drain on any business by slowing down release cycles, causing outages, inflating cloud bills, and burning through expensive engineering hours as the teams iterate and try to learn how to correctly deploy their software applications on Kubernetes.
Regrettably, many containerization initiatives fail for one reason – Kubernetes can be complex and challenging to grasp. The Sample Solution in this BoosterPack aims to alleviate much of the pain of learning and navigating the Kubernetes landscape to quickly become productive.
The Kubernetes Sample Solution covers:
- Installing and configuring a single-node Kubernetes cluster on AWS or Azure (using the DAIR Cloud Platform) for development and testing.
- Deploying a stateful To-Do List Web Application that includes a frontend (Vue.js), backend (Django Restful Framework), and database (PostgreSQL) on Kubernetes.
- Using community-driven and custom-written Kubernetes Helm Charts – which help you define, install, and upgrade even the most complex Kubernetes application – to deploy software and components into the Kubernetes cluster.
- Managing software deployments into the Kubernetes cluster, including container image management using Skaffold.
- Enabling the Kubernetes dashboard to navigate the Kubernetes cluster.
- Adding infrastructure monitoring via the Prometheus stack, which includes Grafana dashboards.
- Configuring NGINX ingress to make the cluster’s service accessible from outside the cluster.
- Examples about how to manage application secrets and configuration.
- Advanced topics like resource limits, auto-scaling, and namespaces.
- Discussion around some of the pitfalls and remediation for common Kubernetes challenges.
The graphic below shows the application (in red) surrounded by the key Kubernetes and cloud native concepts that the KAT BoosterPack highlights.