azure aks nodepool

BALAKRISHNA A 86 Reputation points
2021-03-26T06:36:55.207+00:00

we had deployed the AKS with 4 node pool in development environment and we require to shutdown the VM when its not in use . once we shutdown the VM and power on the VM all my data wipes

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,849 questions
{count} votes

Accepted answer
  1. TravisCragg-MSFT 5,676 Reputation points Microsoft Employee
    2021-03-29T22:08:18.027+00:00

    Are you stopping your AKS cluster? This will reduce your pod count to 0. Any data that is not on a persistent volume will be deleted when the pods are removed, so I would start by double checking what drive your persistent volume claim is mapped to, and also keep in mind that if you have 4 pods and 4 disks attached, and each pod is changing the disks in different ways, each disk will have their own changes.

    I would also review the best practices and use cases for storage in AKS to make sure that you are using the correct type of storage. Typically an AKS cluster that needs to make permanent changes to a data set will use a remote database or use Azure Files to connect all of your pods to a single persistent file share.

    Can you share your storage class and persistent volume claim configuration for the cluster?

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful