How to use custom Storage Classes in Kubernetes

Most Kubernetes offerings provide default Storage Classes out of the box to ease the process of dynamic storage provisioning. But, what if you have custom requirements? This example shows how you can create your own Storage Class to meet your needs - it is based on an Azure Kubernetes Service but should be applicable to any Kubernetes provider.