Skip to content

Commit 2c82e7d

Browse files
committed
docs(manage-resources-containers): add volume and volumeMount for ephemeral storage
Signed-off-by: Jai Govindani <[email protected]>
1 parent a46bdc2 commit 2c82e7d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

content/en/docs/concepts/configuration/manage-resources-containers.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,13 +337,22 @@ spec:
337337
ephemeral-storage: "2Gi"
338338
limits:
339339
ephemeral-storage: "4Gi"
340+
volumeMounts:
341+
- name: ephemeral
342+
mountPath: "/tmp"
340343
- name: log-aggregator
341344
image: images.my-company.example/log-aggregator:v6
342345
resources:
343346
requests:
344347
ephemeral-storage: "2Gi"
345348
limits:
346349
ephemeral-storage: "4Gi"
350+
volumeMounts:
351+
- name: ephemeral
352+
mountPath: "/tmp"
353+
volumes:
354+
- name: ephemeral
355+
emptyDir: {}
347356
```
348357

349358
### How Pods with ephemeral-storage requests are scheduled

0 commit comments

Comments
 (0)