Skip to content

Commit 68f0293

Browse files
authored
Update azure-csi-disk-storage-provision.md
Fixed the azure-pvc-disk.yaml file Format, as it was not working once you copy and paste it.
1 parent 88c8dc5 commit 68f0293

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

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

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

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

136-
```yaml
137-
kind: Pod
138-
apiVersion: v1
139-
metadata:
140-
name: mypod
141-
spec:
142-
containers:
143-
- name: mypod
144-
image: mcr.microsoft.com/oss/nginx/nginx:1.15.5-alpine
145-
resources:
146-
requests:
147-
cpu: 100m
148-
memory: 128Mi
149-
limits:
150-
cpu: 250m
151-
memory: 256Mi
152-
volumeMounts:
153-
- mountPath: "/mnt/azure"
154-
name: volume
155-
volumes:
156-
- name: volume
157-
persistentVolumeClaim:
158-
claimName: azure-managed-disk
159-
```
136+
```yaml
137+
kind: Pod
138+
apiVersion: v1
139+
metadata:
140+
name: mypod
141+
spec:
142+
containers:
143+
- name: mypod
144+
image: mcr.microsoft.com/oss/nginx/nginx:1.15.5-alpine
145+
resources:
146+
requests:
147+
cpu: 100m
148+
memory: 128Mi
149+
limits:
150+
cpu: 250m
151+
memory: 256Mi
152+
volumeMounts:
153+
- mountPath: "/mnt/azure"
154+
name: volume
155+
volumes:
156+
- name: volume
157+
persistentVolumeClaim:
158+
claimName: azure-managed-disk
159+
```
160160

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

0 commit comments

Comments
 (0)