Skip to content

Commit 3dcc8ed

Browse files
authored
Update use-container-storage-with-local-disk.md
Removed '' from values
1 parent 1e55486 commit 3dcc8ed

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed

articles/storage/container-storage/use-container-storage-with-local-disk.md

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -137,36 +137,35 @@ Create a pod using [Fio](https://github.com/axboe/fio) (Flexible I/O Tester) for
137137

138138
1. Paste in the following code and save the file.
139139
```yml
140-
kind: 'Pod'
141-
apiVersion: 'v1'
140+
kind: Pod
141+
apiVersion: v1
142142
metadata:
143-
name: 'fiopod'
143+
name: fiopod
144144
spec:
145145
nodeSelector:
146-
acstor.azure.com/io-engine: 'acstor'
146+
acstor.azure.com/io-engine: acstor
147147
containers:
148-
- name: 'fio'
149-
image: 'nixery.dev/shell/fio'
148+
- name: fio
149+
image: nixery.dev/shell/fio
150150
args:
151-
- 'sleep'
152-
- '1000000'
151+
- sleep
152+
- "1000000"
153153
volumeMounts:
154-
- mountPath: '/volume'
155-
name: 'ephemeralvolume'
154+
- mountPath: "/volume"
155+
name: ephemeralvolume
156156
volumes:
157-
- name: 'ephemeralvolume'
157+
- name: ephemeralvolume
158158
ephemeral:
159159
volumeClaimTemplate:
160160
metadata:
161161
labels:
162-
type: 'my-ephemeral-volume'
162+
type: my-ephemeral-volume
163163
spec:
164-
accessModes:
165-
- 'ReadWriteOnce'
166-
storageClassName: 'acstor-ephemeraldisk-nvme'
164+
accessModes: [ "ReadWriteOnce" ]
165+
storageClassName: "acstor-ephemeraldisk-nvme" # replace with the name of your storage class if different
167166
resources:
168167
requests:
169-
storage: '1Gi'
168+
storage: 1Gi
170169
```
171170
172171
1. Apply the YAML manifest file to deploy the pod.

0 commit comments

Comments
 (0)