You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# make sure volumeid is unique for every storage blob container in the cluster
85
+
# the # character is reserved for internal use, the / character is not allowed
86
+
volumeHandle: unique_volume_id
87
+
volumeAttributes:
88
+
storageaccount: $ACCOUNT # required
89
+
containerName: $CONTAINER # required
90
+
clientID: $USER_ASSIGNED_CLIENT_ID # required
91
+
resourcegroup: $STORAGE_RESOURCE_GROUP # optional, specified when the storage account is not under AKS node resource group(which is prefixed with "MC_")
92
+
# tenantID: $IDENTITY_TENANT #optional, only specified when workload identity and AKS cluster are in different tenant
93
+
# subscriptionid: $SUBSCRIPTION #optional, only specified when workload identity and AKS cluster are in different subscription
94
+
---
95
+
kind: PersistentVolumeClaim
96
+
apiVersion: v1
97
+
metadata:
98
+
name: pvc-blob
99
+
spec:
100
+
accessModes:
101
+
- ReadWriteMany
102
+
resources:
103
+
requests:
104
+
storage: 10Gi
105
+
volumeName: pv-blob
106
+
storageClassName: blob-fuse
107
+
---
108
+
apiVersion: apps/v1
109
+
kind: Deployment
110
+
metadata:
111
+
labels:
112
+
app: nginx
113
+
name: deployment-blob
114
+
spec:
115
+
replicas: 1
116
+
selector:
117
+
matchLabels:
118
+
app: nginx
119
+
template:
120
+
metadata:
121
+
labels:
122
+
app: nginx
123
+
name: deployment-blob
124
+
spec:
125
+
serviceAccountName: $SERVICE_ACCOUNT_NAME #required, Pod has no permission to mount the volume without this field
0 commit comments