k8s-sig-cluster-lifecycleawskubesprayhigh-availabilityansiblekubernetes-clustergcekubernetesbare-metal
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
14 lines
334 B
apiVersion: policy/v1beta1
|
|
kind: PodDisruptionBudget
|
|
metadata:
|
|
name: cinder-csi-pdb
|
|
namespace: kube-system
|
|
spec:
|
|
{% if cinder_csi_controller_replicas is defined and cinder_csi_controller_replicas > 1 %}
|
|
minAvailable: 1
|
|
{% else %}
|
|
minAvailable: 0
|
|
{% endif %}
|
|
selector:
|
|
matchLabels:
|
|
app: csi-cinder-controllerplugin
|