pegasystems / pega-helm-charts

Orchestrate a Pega Platform™ deployment by using Docker, Kubernetes, and Helm to take advantage of Pega Platform Cloud Choice flexibility.
https://community.pega.com/knowledgebase/articles/cloud-choice
Apache License 2.0
123 stars 194 forks source link

Backingservices chart fails to install on k8s 1.26 #615

Closed Emilio-Pega closed 4 months ago

Emilio-Pega commented 1 year ago

Describe the bug The backingservices chart fails to deploy on k8s 1.26 with helm 3.0.0.

[octo@sde-eis-tst2-ctrl staging-sde-utilities]$ kubectl version
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short.  Use --output=yaml|json to get the full version.
Client Version: version.Info{Major:"1", Minor:"26", GitVersion:"v1.26.6", GitCommit:"11902a838028edef305dfe2f96be929bc4d114d8", GitTreeState:"clean", BuildDate:"2023-06-14T09:56:58Z", GoVersion:"go1.19.10", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v4.5.7
Server Version: version.Info{Major:"1", Minor:"26", GitVersion:"v1.26.6", GitCommit:"11902a838028edef305dfe2f96be929bc4d114d8", GitTreeState:"clean", BuildDate:"2023-06-14T09:49:08Z", GoVersion:"go1.19.10", Compiler:"gc", Platform:"linux/amd64"}

[octo@sde-eis-tst2-ctrl staging-sde-utilities]$ helm install ocropodes-search pega/backingservices --version 3.3.0 -f prpc-platform/infrastructure/deployment/sde/sde/build/backingservices-values.yaml --namespace octopodes-backing 
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: resource mapping not found for name: "elasticsearch-master-pdb" namespace: "" from "": no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
ensure CRDs are installed first

To Reproduce Attempt to install the backingservices chart on k8s 1.26

Expected behavior Chart is installed successfully.

Chart version 3.3.0 (latest), no customizations.

Additional context Looking at the source, it appears like there was an attempt to handle this, but it does not appear to be working. https://github.com/pegasystems/pega-helm-charts/commit/d169748d678ec61ffb2d4d75c308199f1a56e53f

robokingmaster commented 1 year ago

Any update on this issue? I am also facing the same problem while installing SRS on k8s version =>v1.26.4 ES Version => 7.16.9

khick77 commented 1 year ago

Bug-823112 created https://agilestudio.pega.com/prweb/AgileStudio/app/agilestudio/bugs/BUG-823112

kishorv10 commented 4 months ago

The issue is addressed in #454 Kindly try the deployment on the latest version and revert to us in case of further issues.