From a38e515628870a21454b3712bddce25ee840e947 Mon Sep 17 00:00:00 2001 From: Akash Mukhopadhyay <43958099+mukhoakash@users.noreply.github.com> Date: Mon, 11 Nov 2024 10:55:33 -0800 Subject: [PATCH] fix: Reintroduce a deleted step for Azure container storage (#34) * Introduce the deleted step * Fix the correct storage class name for azure container storage demo --- workshops/advanced-aks/assets/acstor-mysql-statefulset.yaml | 2 +- workshops/advanced-aks/workshop.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/workshops/advanced-aks/assets/acstor-mysql-statefulset.yaml b/workshops/advanced-aks/assets/acstor-mysql-statefulset.yaml index 6f8c33b..611e773 100644 --- a/workshops/advanced-aks/assets/acstor-mysql-statefulset.yaml +++ b/workshops/advanced-aks/assets/acstor-mysql-statefulset.yaml @@ -163,7 +163,7 @@ spec: name: data spec: accessModes: ["ReadWriteOnce"] - storageClassName: azuredisk-standard-ssd-zrs-replicas + storageClassName: acstor-ephemeraldisk-nvme resources: requests: storage: 256Gi diff --git a/workshops/advanced-aks/workshop.md b/workshops/advanced-aks/workshop.md index 7783924..7bdc0d4 100644 --- a/workshops/advanced-aks/workshop.md +++ b/workshops/advanced-aks/workshop.md @@ -1227,6 +1227,12 @@ kubectl get pods -n acstor --watch +Delete the default storage pool created. + +```bash +kubectl delete sp -n acstor ephemeraldisk-nvme +``` + #### Create a replicated ephemeral storage pool With Azure Container Storage enabled, storage pools can also be created using Kubernetes CRDs. Run the following command to deploy a new StoragePool custom resource. This will create a new storage class using the storage pool name prefixed with **acstor-**.