Hi everyone , can help me pls . I try to install ...
# gooddata-cn
y
Hi everyone , can help me pls . I try to install pulsar in my kubernetes cluster with helm but i cant .
Copy code
helm install --namespace pulsar --version 2.9.2 \
    -f customized-values-pulsar.yaml \
    pulsar apache/pulsar
The error
Copy code
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: [resource mapping not found for name: "pulsar-bookie" namespace: "pulsar" from "": no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
ensure CRDs are installed first, resource mapping not found for name: "pulsar-broker" namespace: "pulsar" from "": no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
ensure CRDs are installed first, resource mapping not found for name: "pulsar-zookeeper" namespace: "pulsar" from "": no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
ensure CRDs are installed first]
j
We recommend Pulsar version
2.6.1-2
as is stated in our documentation here: https://www.gooddata.com/developers/cloud-native/doc/1.1/installation/k8s/helm-chart-installation/#installation
Could you try using the other version to see if that helps?
maybe some additional command or property is missing from the example yaml file (customized-values-pulsar.yaml)
r
The upstream helm chart of Pulsar is not working with kubernetes 1.25, because PodDisruptionBudget objects in version policy/v1beta1 were deprecated in favor of policy/v1.
Unfortunately, it was fixed in chart version 3.0.0 that contains a newer Apache Pulsar version 2.10.2 that was not yet thoroughly tested with GoodData.CN ; Either use older k8s version (1.24 is known to work), or if it is not desirable or possible, there's a workaround - disable PodDisruptionBudget for Pulsar. Just merge the following YAML snippet with your customized-values-pulsar.yaml file:
Copy code
bookkeeper:
  pdb:
    usePolicy: false
zookeeper:
  pdb:
    usePolicy: false
broker:
  pdb:
    usePolicy: false
🙏 1
👀 1
y
Thanks , i Try with that!