pulsar-helm-chart icon indicating copy to clipboard operation
pulsar-helm-chart copied to clipboard

When K8S does not support PVC, mount the storage to local disk.

Open autumnqfeng opened this issue 4 years ago • 0 comments

Fixes #

Motivation

Installing ZooKeeper and BookKeeper through Helm Charts fails when K8S does not support PVC, so I think Helm Charts should support mounting to local disks.

Modifications

  • values.yaml added the hostPath configuration for mounting to a local disk.
  • Mount the /zookeeper/data directory to the local disk in zookeeper-statefulset.yaml .
  • In bookkeeper-statefulset.yaml, mount the /bookie/journal and /bookie/ledgers to the local disk. For example, mount journal to the local SSD and ledgers to HDD.

Verifying this change

  • [ ] Make sure that the change passes the CI checks.

autumnqfeng avatar Nov 04 '21 10:11 autumnqfeng