helm-charts
helm-charts copied to clipboard
[Bug] Server PDB does not work
What are you really trying to do?
Use PDB options to control server disruption allowance.
Describe the bug
When including server PDB options, no PDB is generated. Web works fine but server does not. Same symptoms as #572
Minimal Reproduction
helm template --repo https://go.temporal.io/helm-charts --set server.frontend.replicaCount=2 --set server.frontend.podDisruptionBudget.minAvailable=1 temporal
And note in output server-pdb.yaml is blank:
# Source: temporal/templates/server-pdb.yaml
---
---
# Source: temporal/templates/server-pdb.yaml
---
---
Environment/Versions
- OS and processor: Windows
- Temporal Version: N/A - Helm chart 0.66
- Are you using Docker or Kubernetes or building Temporal from source? N/A helm problem only
Additional context
Looking at the helm chart, it looks like you also have to pass in enabled: true under each service that you want a PDB for. For you I think it would be server.frontend.enabled=true