zalintyre opened a new pull request, #97:
URL: https://github.com/apache/skywalking-kubernetes/pull/97

   The old version uses an outdated apiVersion for kind: PodDisruptionBudget, 
which breaks this chart for Kubernetes 1.21 and ongoing.
   
   The following error emerges when using the old Elastic Helm chart: 
   
   ```
   Error: UPGRADE FAILED: resource mapping not found for name: 
"elasticsearch-master-pdb" namespace: "" from "": no matches for kind 
"PodDisruptionBudget" in version "policy/v1beta1"
   ```
   
   As you can see, the newer version of the Elastic Helm chart uses some logic 
to pass the correct apiVersion: 
https://github.com/elastic/helm-charts/blob/v8.5.1/elasticsearch/templates/poddisruptionbudget.yaml
   
   Kind regards
   Franz


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to