Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document lifecycle management of Azure persistent volumes #10

Closed
wisack opened this issue Feb 10, 2021 · 0 comments
Closed

Document lifecycle management of Azure persistent volumes #10

wisack opened this issue Feb 10, 2021 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@wisack
Copy link

wisack commented Feb 10, 2021

We want to be able to have persistent storage for e.g. database (MongoDB and InfluxDB).

Helm charts that deploy MongoDB and InfluxDB can create their persistent volumes during deployment.
By default persistent volumes created by the deployment charts are destoyed when service deployments are deleted from K8S cluster.
Deployment could be configured in such a way that created persistent volumes are NOT destroyed when service deployments of MongoDB and InfluxDB are deleted from K8S cluster.

Document how to

  1. Create persistent volumes that are not destroyed when service deployments are deleted from K8S
  2. Use the existing persistent volumes when service deployments are created.

Optionally persistent volumes could be created manually before service deployments.

Check work done in smaddis/smad-deploy-azure#38 and #30 before starting this, since AKS can create Persistent volumes to Azure storage automatically based on PersistentVolumeClaims in Helm charts.

More info on Azure storage is available for example here:
https://docs.microsoft.com/en-us/azure/aks/concepts-storage

There might be a need to create Azure persistent volume (storage) for e.g. database manually before the database is deployed to K8S / AKS.

~~This ticket is about ~~
1. investigating how one attached already created Azure storage to Pods created by a Helm chart.
2. investigating and designing how manual provisioning / creation and lifecycle management of storage should be done in Azure

@wisack wisack added this to the Persistent storage milestone Feb 10, 2021
@hjhsalo hjhsalo changed the title Add Azure persistent volume for database Create Azure persistent volumes manually if needed Feb 16, 2021
@hjhsalo hjhsalo changed the title Create Azure persistent volumes manually if needed Document lifecycle management of Azure persistent volumes Mar 9, 2021
@JouHouFin JouHouFin added the documentation Improvements or additions to documentation label Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants