[ja] add volume and volumeMount for ephemeral storage

This commit is contained in:
Arhell
2021-10-12 00:37:01 +03:00
parent 451bbe2fc3
commit 5254e90988
@@ -270,6 +270,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:
@@ -277,6 +280,12 @@ spec:
ephemeral-storage: "2Gi"
limits:
ephemeral-storage: "4Gi"
volumeMounts:
- name: ephemeral
mountPath: "/tmp"
volumes:
- name: ephemeral
emptyDir: {}
```
### エフェメラルストレージを要求するPodのスケジュール方法