Skip to content

Commit dc262ad

Browse files
authored
Merge pull request #27905 from jai/jai/fix-20134
docs(manage-resources-containers): add volume and volumeMount for ephemeral storage
2 parents 607405e + 2c82e7d commit dc262ad

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
@@ -338,13 +338,22 @@ spec:
338338
ephemeral-storage: "2Gi"
339339
limits:
340340
ephemeral-storage: "4Gi"
341+
volumeMounts:
342+
- name: ephemeral
343+
mountPath: "/tmp"
341344
- name: log-aggregator
342345
image: images.my-company.example/log-aggregator:v6
343346
resources:
344347
requests:
345348
ephemeral-storage: "2Gi"
346349
limits:
347350
ephemeral-storage: "4Gi"
351+
volumeMounts:
352+
- name: ephemeral
353+
mountPath: "/tmp"
354+
volumes:
355+
- name: ephemeral
356+
emptyDir: {}
348357
```
349358

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

0 commit comments

Comments
 (0)