Skip to content

Commit 4d78fce

Browse files
authored
Merge pull request #108224 from ammarqq/patch-1
Update azure-csi-disk-storage-provision.md
2 parents e0ae1d9 + 6c8e090 commit 4d78fce

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

articles/aks/azure-csi-disk-storage-provision.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -130,30 +130,30 @@ Once the persistent volume claim has been created and the disk successfully prov
130130

131131
1. Create a file named `azure-pvc-disk.yaml`, and copy in the following manifest:
132132

133-
```yaml
134-
kind: Pod
135-
apiVersion: v1
136-
metadata:
137-
name: mypod
138-
spec:
139-
containers:
140-
- name: mypod
133+
```yaml
134+
kind: Pod
135+
apiVersion: v1
136+
metadata:
137+
name: mypod
138+
spec:
139+
containers:
140+
- name: mypod
141141
image: mcr.microsoft.com/oss/nginx/nginx:1.15.5-alpine
142142
resources:
143143
requests:
144-
cpu: 100m
145-
memory: 128Mi
144+
cpu: 100m
145+
memory: 128Mi
146146
limits:
147147
cpu: 250m
148148
memory: 256Mi
149149
volumeMounts:
150-
- mountPath: "/mnt/azure"
151-
name: volume
152-
volumes:
153-
- name: volume
154-
persistentVolumeClaim:
155-
claimName: azure-managed-disk
156-
```
150+
- mountPath: "/mnt/azure"
151+
name: volume
152+
volumes:
153+
- name: volume
154+
persistentVolumeClaim:
155+
claimName: azure-managed-disk
156+
```
157157

158158
2. Create the pod with the [kubectl apply][kubectl-apply] command, as shown in the following example:
159159

0 commit comments

Comments
 (0)