You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/09/19 08:41:04 UTC

[GitHub] [pulsar-helm-chart] astylos opened a new issue, #289: Support for kubernetes 1.25

astylos opened a new issue, #289:
URL: https://github.com/apache/pulsar-helm-chart/issues/289

   I am unable to upgrade Pulsar version after upgrading kubernetes to 1.25.0
   
   ```
   $ microk8s kubectl get nodes
   NAME          STATUS   ROLES    AGE    VERSION
   centos8vm02   Ready    <none>   348d   v1.25.0
   centos8vm03   Ready    <none>   348d   v1.25.0
   centos8vm01   Ready    <none>   348d   v1.25.0
   centos8vm04   Ready    <none>   348d   v1.25.0
   ```
   
   ```
   $ microk8s.helm3 --namespace pulsar upgrade pulsar-mini apache/pulsar --version 2.9.4 -f pulsar.yaml
   Error: UPGRADE FAILED: [resource mapping not found for name: "pulsar-mini-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-mini-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-mini-proxy" namespace: "pulsar" from "": no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
   ensure CRDs are installed first, resource mapping not found for name: "pulsar-mini-zookeeper" namespace: "pulsar" from "": no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
   ensure CRDs are installed first]
   ```
   
   I'm no kubernetes/helm expert, so may have done this incorrectly, but I pulled the chart from git, edited all `policy/v1beta1` to `policy/v1` and tried installing from local chart, but it still gave same errors.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar-helm-chart] michaeljmarshall closed issue #289: Support for kubernetes 1.25

Posted by GitBox <gi...@apache.org>.
michaeljmarshall closed issue #289: Support for kubernetes 1.25
URL: https://github.com/apache/pulsar-helm-chart/issues/289


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar-helm-chart] michaeljmarshall commented on issue #289: Support for kubernetes 1.25

Posted by GitBox <gi...@apache.org>.
michaeljmarshall commented on issue #289:
URL: https://github.com/apache/pulsar-helm-chart/issues/289#issuecomment-1283317893

   This will be fixed by #260.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar-helm-chart] relief-melone commented on issue #289: Support for kubernetes 1.25

Posted by GitBox <gi...@apache.org>.
relief-melone commented on issue #289:
URL: https://github.com/apache/pulsar-helm-chart/issues/289#issuecomment-1269425300

   Fix should be straight forward. As workaround you can just disable the policy by
   
   ```yaml
   bookie:
     pdb:
       usePolicy: false
   ```
   
   In the chart as PodDisruptionBudget has been moved out of beta and has been stable since v1.21 the chart should look something like this
   
   ```yaml
   {{- if semverCompare ">=1.21" .Capabilities.KubeVersion.GitVersion }}
   apiVersion: policy/v1
   {{- else }}
   apiVersion: policy/v1beta1
   {{- end }}
   kind: PodDisruptionBudget
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org