Skip to content

Commit 3e0d0f1

Browse files
(AzureCXP) fixes MicrosoftDocs/azure-docs#114844
Changes made in line no 163 to 184 From kind: Pod apiVersion: v1 metadata: name: mypod spec: containers: - name: mypod image: mcr.microsoft.com/oss/nginx/nginx:1.15.5-alpine resources: requests: cpu: 100m memory: 128Mi limits: cpu: 250m memory: 256Mi volumeMounts: - mountPath: /mnt/azure name: volume volumes: - name: volume persistentVolumeClaim: claimName: my-azurefile To kind: Pod apiVersion: v1 metadata: name: mypod spec: containers: - name: mypod image: mcr.microsoft.com/oss/nginx/nginx:1.15.5-alpine resources: requests: cpu: 100m memory: 128Mi limits: cpu: 250m memory: 256Mi volumeMounts: - mountPath: /mnt/azure name: volume volumes: - name: volume persistentVolumeClaim: claimName: my-azurefile
1 parent fb93c7a commit 3e0d0f1

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

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

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -161,27 +161,27 @@ The following YAML creates a pod that uses the persistent volume claim *my-azure
161161

162162
```yaml
163163
kind: Pod
164-
apiVersion: v1
165-
metadata:
166-
name: mypod
167-
spec:
168-
containers:
169-
- name: mypod
170-
image: mcr.microsoft.com/oss/nginx/nginx:1.15.5-alpine
171-
resources:
172-
requests:
173-
cpu: 100m
174-
memory: 128Mi
175-
limits:
176-
cpu: 250m
177-
memory: 256Mi
178-
volumeMounts:
179-
- mountPath: /mnt/azure
180-
name: volume
181-
volumes:
182-
- name: volume
183-
persistentVolumeClaim:
184-
claimName: my-azurefile
164+
apiVersion: v1
165+
metadata:
166+
name: mypod
167+
spec:
168+
containers:
169+
- name: mypod
170+
image: mcr.microsoft.com/oss/nginx/nginx:1.15.5-alpine
171+
resources:
172+
requests:
173+
cpu: 100m
174+
memory: 128Mi
175+
limits:
176+
cpu: 250m
177+
memory: 256Mi
178+
volumeMounts:
179+
- mountPath: /mnt/azure
180+
name: volume
181+
volumes:
182+
- name: volume
183+
persistentVolumeClaim:
184+
claimName: my-azurefile
185185
```
186186

187187
2. Create the pod using the [`kubectl apply`][kubectl-apply] command.

0 commit comments

Comments
 (0)