Not many newly designed systems had such an impact on technology in such a short time-frame as today omnipresent Kubernetes, which emerged from Google’s laboratories only short seven years ago! This open-source container-orchestration system, today maintained by Cloud Native Computing Foundation, was originally developed by Google’s engineers to help them orchestrate their containerized applications. As good old Wiki says: “It aims to provide a platform for automating deployment, scaling, and operations of application containers across clusters of hosts”. Unlike at the beginning, when such sophisticated systems were reserved for global giants, today most companies large or small started adopting containerization, some for it’s scalability advantages, some for better efficiency through constant delivery/deployment, and they all need a system where they can run those containers, which is where Kubernetes reigns with no serious competition.
In this tutorial, we will learn how to deploy another ubiquitous technology – MySQL database servers (Percona XtraDB) on the Kubernetes infrastructure, using a provider which is very popular among the industry experts for it’s reliability and affordability – DigitalOcean!
To properly wrap things up, we will also deploy a battle-proven HAProxy load balancer on our cluster, which will handle all traffic, perform database servers health checks and make sure all of them are equally busy.
By combining these systems we will create a resilient, highly available mysql service, which not only rids us of downtimes but also enables us to painlessly scale up and down according to the needs.
4 Comments