metal-stack / csi-driver-lvm

MIT License
121 stars 26 forks source link

Ephemeral Volume support #31

Closed majst01 closed 3 years ago

majst01 commented 3 years ago

Some use cases require more scratch filesystem space for the application than available via emptydir. For these type of applications, kubernetes support since 1.16 Ephemeral Volumes:

csi-driver-host-path does support this: https://github.com/kubernetes-csi/csi-driver-host-path/blob/master/docs/example-ephemeral.md

From reading our code, this seems to be supported as well, but testing it and collecting the required steps in a example-ephemeral.md would be required.

mwennrich commented 3 years ago

Example: https://github.com/metal-stack/csi-driver-lvm/blob/master/examples/csi-app-inline.yaml Integration-tested here: https://github.com/metal-stack/csi-driver-lvm/blob/master/tests/bats/test.bats#L15

majst01 commented 3 years ago

Ha, i should have had a closer look, fantastic !