pulsar-helm-chart
pulsar-helm-chart copied to clipboard
When K8S does not support PVC, mount the storage to local disk.
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.yamladded thehostPathconfiguration for mounting to a local disk. - Mount the
/zookeeper/datadirectory to the local disk inzookeeper-statefulset.yaml. - In
bookkeeper-statefulset.yaml, mount the/bookie/journaland/bookie/ledgersto 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.