How to make XFS quotas work in Kubernetes volumes on DigitalOcean? How to make XFS quotas work in Kubernetes volumes on DigitalOcean? kubernetes kubernetes

How to make XFS quotas work in Kubernetes volumes on DigitalOcean?


Timo here from the Managed Kubernetes (DOKS) team at DigitalOcean.

What you are missing is the host system mount of the /dev directory. If you add both

 volumes: - name: device-dir   hostPath:     path: /dev

and

volumeMounts:  - name: device-dir    mountPath: /dev

to the manifest at the right places, things should work as expected.