My good friend Roy started another amazing series of post. Now it’s time for Database patterns with Azure Kubernetes
One of the non-straight forward aspects of implementing for applications in Kubernetes is the stateful data store.
I will be showing 2 relational database patterns in Azure Kubernetes Service. Since containers are the fundamental building blocks, these are stateless by default. That is the containers can lose its data when it is terminated or fail. More design, setup and management effort are given to have stateful components in Kubernetes. And is very much the case for relational databases. I will show two stateful persistent database approaches for Azure Kubernetes.
- In-cluster database
- MySQL containerized database in a Kubernetes pod
- Persistent Storage provisioned as Azure Managed Disks
- Azure PaaS Database
- External to the Kubernetes cluster
- With managed Identity for
- Networking via a private link
I will show a containerized MySql database using the demo Deploying WordPress and MySQL with Persistent Volumes. This is representative of a standard web application…
View original post 654 more words