pdb.yaml 553 B

123456789101112131415161718
  1. # PodDisruptionBudget: voluntary disruptions keep quorum (task 46).
  2. #
  3. # 3 replicas with `minAvailable: 2`: drains, node upgrades, and rolling
  4. # deploys may take at most one replica at a time, so an
  5. # authorization-code+PKCE flow always has a quorum serving it.
  6. apiVersion: policy/v1
  7. kind: PodDisruptionBudget
  8. metadata:
  9. name: d-oauth-server
  10. namespace: d-oauth
  11. labels:
  12. app.kubernetes.io/name: d-oauth-server
  13. app.kubernetes.io/part-of: d-oauth
  14. spec:
  15. minAvailable: 2
  16. selector:
  17. matchLabels:
  18. app.kubernetes.io/name: d-oauth-server