Using Kubernetes Secrets with Azure Storage connection data
Using K8s Secrets with Azure Storage Accounts
Create Storage Account and File Shares
Refer to steps to configure the new Storage Account and FileShare in Azure.
Copy Storage Account Key and FileShare Name from DuploCloud Portal for creating Kubernetes Secrets in the next step.
Create Kubernetes Secret
Navigate to Kubernetes -> Secrets. Create a Kubernetes Secret Object using an Azure Storage Account.
For more information, see Kubernetes Configs and Secrets.
Mount the Azure Storage Connection in your deployment
While creating a deployment, under Other Pod Config and Other Container Config, provide the configuration below to create and mount the storage volume for your service. In the configuration below, shareName
attribute should be the File Share name which you can get from the Storage Account screen.
Last updated