File tree Expand file tree Collapse file tree 1 file changed +21
-21
lines changed Expand file tree Collapse file tree 1 file changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -161,27 +161,27 @@ The following YAML creates a pod that uses the persistent volume claim *my-azure
161
161
162
162
` ` ` yaml
163
163
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
185
185
` ` `
186
186
187
187
2. Create the pod using the [`kubectl apply`][kubectl-apply] command.
You can’t perform that action at this time.
0 commit comments