Azure-docs: Change AKS Storage Class

Created on 23 Oct 2018  路  4Comments  路  Source: MicrosoftDocs/azure-docs

Hello

I'm not sure if I should be posting it here, so sorry in advanced.
When I looked in this doc I see no reference as to how to change the reclaimPolicy for the default storageClass when I provision an AKS cluster

Is there such an option? Currently it is set to delete and I would like to change it to Retain

Thanks in advance

Omer

container-servicsvc cxp in-progress product-question triaged

All 4 comments

@jungopro Thanks for the feedback! We are currently investigating and will update you shortly.

@jungopro all the examples I am able to find do not appear to let you change it during the initial creation of the cluster

@iainfoulds do you know if this is configurable during the creation phase of a cluster or if we can only set this option when creating a persistent disk after the cluster has already been created?

Thanks for the question, @jungopro. This isn't something that can be edited during the cluster creation. The best practice would be to create an additional storage class and define the reclaim policy of 'retain', then reference this in your deployments rather than one of the default storage classes. An example of this type of storage class definition can be found here - https://docs.microsoft.com/en-us/azure/aks/concepts-storage#storage-classes

@MicahMcKittrick-MSFT #please-close

Thanks for confirming @iainfoulds

@jungopro let us know if you have any additional questions

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jamesgallagher-ie picture jamesgallagher-ie  路  3Comments

jharbieh picture jharbieh  路  3Comments

JamesDLD picture JamesDLD  路  3Comments

spottedmahn picture spottedmahn  路  3Comments

ianpowell2017 picture ianpowell2017  路  3Comments