Daniel's Tech Blog

Cloud Computing, Cloud Native & Kubernetes

Using dysk in Azure Kubernetes Service – updated deployment templates

In one of my last blog posts I have explained how to use dysk in Azure Kubernetes Service as persistent storage option.

-> https://www.danielstechblog.io/using-dysk-in-azure-kubernetes-service-as-persistent-storage-option/

Since then some of the dysk parts have been moved to the official Azure GitHub repository.

-> https://github.com/Azure/kubernetes-volume-drivers

Comparing the deployment templates for the dysk FlexVolume and CSI driver, there is only a slight change. Especially using newer container images.

So, when you are following my guide to deploy and using dysk in AKS you should utilize the latest deployment templates in the Azure GitHub repository.

Execute the following commands to install the FlexVolume driver first

kubectl create -f https://raw.githubusercontent.com/Azure/kubernetes-volume-drivers/master/flexvolume/dysk/deployment/dysk-flexvol-installer.yaml

and then the CSI driver afterwards.

kubectl create -f https://raw.githubusercontent.com/Azure/kubernetes-volume-drivers/master/csi/dysk/deployment/csi-dysk-driver.yaml

When both deployments are up and running in your AKS cluster you can continue with the guide mentioned above.


Posted

in

WordPress Cookie Notice by Real Cookie Banner