Azure Cloud provides persistent block-level storage volumes for use with Azure Kubernetes Engine (AKS). In this section, we will create storage classes for your applications in Kubernetes running in the AKS. You will learn how to create a StorageClass resource in Kubernetes, you will learn about the parameters available with the variation in performance of Azure Disk volume types, and you will also learn how to use the new CSI.
Clone the k8sdevopscookbook/src repository to your workstation in order to use manifest files under the chapter5 directory:
$ git clone https://github.com/k8sdevopscookbook/src.git
$ cd src/chapter5
Make sure you have a regional GKE cluster ready and kubectl configured to manage the cluster resources.
How to do it…
This section is sub-divided further into the following subsections to facilitate the process:
- Creating an Azure Disk storage class
- Changing the default storage class to ZRS
- Using Azure Disk...