docs(manage-resources-containers): add volume and volumeMount for ephemeral storage

Signed-off-by: Jai Govindani <jai@honestbank.com>
This commit is contained in:
Jai Govindani
2021-05-07 19:34:43 +07:00
parent a46bdc27e1
commit 2c82e7d6cf
@@ -337,6 +337,9 @@ spec:
ephemeral-storage: "2Gi"
limits:
ephemeral-storage: "4Gi"
volumeMounts:
- name: ephemeral
mountPath: "/tmp"
- name: log-aggregator
image: images.my-company.example/log-aggregator:v6
resources:
@@ -344,6 +347,12 @@ spec:
ephemeral-storage: "2Gi"
limits:
ephemeral-storage: "4Gi"
volumeMounts:
- name: ephemeral
mountPath: "/tmp"
volumes:
- name: ephemeral
emptyDir: {}
```
### How Pods with ephemeral-storage requests are scheduled