File tree Expand file tree Collapse file tree 1 file changed +31
-1
lines changed
articles/storage/container-storage Expand file tree Collapse file tree 1 file changed +31
-1
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,37 @@ Create a pod using [Fio](https://github.com/axboe/fio) (Flexible I/O Tester) for
136
136
1 . Use your favorite text editor to create a YAML manifest file such as ` code acstor-pod.yaml ` .
137
137
138
138
1 . Paste in the following code and save the file.
139
- TODO: Add fiopod.yaml definition with ephemeral volume
139
+
140
+ kind: 'Pod'
141
+ apiVersion: 'v1'
142
+ metadata:
143
+ name: 'fiopod'
144
+ spec:
145
+ nodeSelector:
146
+ acstor.azure.com/io-engine: 'acstor'
147
+ containers:
148
+ - name: 'fio'
149
+ image: 'nixery.dev/shell/fio'
150
+ args:
151
+ - 'sleep'
152
+ - '1000000'
153
+ volumeMounts:
154
+ - mountPath: '/volume'
155
+ name: 'ephemeralvolume'
156
+ volumes:
157
+ - name: 'ephemeralvolume'
158
+ ephemeral:
159
+ volumeClaimTemplate:
160
+ metadata:
161
+ labels:
162
+ type: 'my-ephemeral-volume'
163
+ spec:
164
+ accessModes:
165
+ - 'ReadWriteOnce'
166
+ storageClassName: 'acstor-ephemeraldisk-nvme'
167
+ resources:
168
+ requests:
169
+ storage: '1Gi'
140
170
141
171
1 . Apply the YAML manifest file to deploy the pod.
142
172
You can’t perform that action at this time.
0 commit comments