Skip to content

Commit 2c6255a

Browse files
Merge pull request #279237 from fhryo-msft/patch-30
Update use-container-storage-with-temp-ssd.md
2 parents ea1f2bb + 672b72a commit 2c6255a

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

articles/storage/container-storage/use-container-storage-with-temp-ssd.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ Create a pod using [Fio](https://github.com/axboe/fio) (Flexible I/O Tester) for
146146
storage: 1Gi
147147
```
148148
149+
When you change the storage size of your volumes, make sure the size is less than the available capacity of a single node's temp disk. See [Check node temp disk capacity](#check-node-temp-disk-capacity).
150+
149151
1. Apply the YAML manifest file to deploy the pod.
150152
151153
```azurecli-interactive
@@ -177,7 +179,23 @@ You've now deployed a pod that's using temp SSD as its storage, and you can use
177179

178180
Now that you've created your storage pool, you can expand or delete it as needed.
179181

180-
## Expand a storage pool
182+
### Check node temp disk capacity
183+
184+
An ephemeral volume is allocated on a single node. When you configure the size of your ephemeral volumes, the size should be less than the available capacity of the single node's temp disk.
185+
186+
Run the following command to check the available capacity of temp disk for a single node.
187+
188+
```output
189+
$ kubectl get diskpool -n acstor
190+
NAME CAPACITY AVAILABLE USED RESERVED READY AGE
191+
ephemeraldisk-temp-diskpool-jaxwb 75660001280 75031990272 628011008 560902144 True 21h
192+
ephemeraldisk-temp-diskpool-wzixx 75660001280 75031990272 628011008 560902144 True 21h
193+
ephemeraldisk-temp-diskpool-xbtlj 75660001280 75031990272 628011008 560902144 True 21h
194+
```
195+
196+
In this example, the available capacity of temp disk for a single node is `75031990272` bytes or 69 GiB.
197+
198+
### Expand a storage pool
181199

182200
You can expand storage pools backed by temp SSD to scale up quickly and without downtime. Shrinking storage pools isn't currently supported.
183201

@@ -193,7 +211,7 @@ Because a storage pool backed by Ephemeral Disk uses local storage resources on
193211

194212
1. Run `kubectl get sp -A` and you should see that the capacity of the storage pool has increased.
195213

196-
## Delete a storage pool
214+
### Delete a storage pool
197215

198216
If you want to delete a storage pool, run the following command. Replace `<storage-pool-name>` with the storage pool name.
199217

0 commit comments

Comments
 (0)