Summary
In this chapter, we looked at how to set up an HA MicroK8s Kubernetes cluster using the stacked cluster HA topology. We utilized the three nodes to install and configure MicroK8s on each of them, as well as simulating node failure to see whether the cluster could tolerate component failures and still continue to function normally.
We discussed some of the best practices for implementing Kubernetes applications on your production-ready cluster. We also covered the fact that MicroK8s’ HA option has been simplified and enabled by default.
HA is a vital feature for organizations looking to deploy containers and pods that can deliver the kind of reliability required at scale. We also recognized the value of Canonical's lightweight Dqlite SQL database, which is used to provide HA clustering. By embedding the database into Kubernetes, Dqlite reduces the cluster’s memory footprint and eliminates process overhead. For IoT or Edge applications, this is critical...