Andrew Pruski shows how to use Kubernetes persistent volumes in Azure Container Services:
I’ve been playing around with SQL Server running in Kubernetes in Azure Container Services (AKS)for a while now and I think that the technology is really cool.
You can get a highly available instance of SQL Server up and running with a few lines of code! Ok, there’s a bit of setup to do but once you get that out of the way, you’re good to go.
One thing that has been missing though, is persistent storage. Any changes made to the SQL instance would have been lost if the pod that it was running in failed and was brought back up.
Until now.
Click through to learn how. It’s certainly not trivial, but Andrew does a good job showing us the step-by-step.