You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
334 B

  1. apiVersion: policy/v1beta1
  2. kind: PodDisruptionBudget
  3. metadata:
  4. name: cinder-csi-pdb
  5. namespace: kube-system
  6. spec:
  7. {% if cinder_csi_controller_replicas is defined and cinder_csi_controller_replicas > 1 %}
  8. minAvailable: 1
  9. {% else %}
  10. minAvailable: 0
  11. {% endif %}
  12. selector:
  13. matchLabels:
  14. app: csi-cinder-controllerplugin