address review comments
This commit is contained in:
		
							parent
							
								
									16b167b76c
								
							
						
					
					
						commit
						d2a63f334c
					
				|  | @ -158,15 +158,17 @@ data: | ||||||
| 
 | 
 | ||||||
| By default the operator uses a PodDisruptionBudget (PDB) to protect the cluster | By default the operator uses a PodDisruptionBudget (PDB) to protect the cluster | ||||||
| from voluntarily disruptions and hence unwanted DB downtime. The `MinAvailable` | from voluntarily disruptions and hence unwanted DB downtime. The `MinAvailable` | ||||||
| parameter of the PDB is set to `1` which makes it work for single-node clusters | parameter of the PDB is set to `1` which prevents killing masters in single-node | ||||||
| or in situations when there is no master (e.g. standby clusters). | clusters and/or the last remaining running instance in a multi-node cluster. | ||||||
| 
 | 
 | ||||||
| The PDB is only relaxed in two scenarios: | The PDB is only relaxed in two scenarios: | ||||||
| * If a cluster is scaled down to `0` instances (e.g. for draining nodes) | * If a cluster is scaled down to `0` instances (e.g. for draining nodes) | ||||||
| * If the PDB is disabled in the configuration (`enable_pod_disruption_budget`) | * If the PDB is disabled in the configuration (`enable_pod_disruption_budget`) | ||||||
| 
 | 
 | ||||||
| The PDB is still in place having `MinAvailable` set to `0`. If enabled it will | The PDB is still in place having `MinAvailable` set to `0`. If enabled it will | ||||||
| be automatically set to `1` on scale up. | be automatically set to `1` on scale up. Disabling PDBs helps avoiding blocking | ||||||
|  | Kubernetes upgrades in managed K8s environments at the cost of prolonged DB | ||||||
|  | downtime. See PR #384 for the use case. | ||||||
| 
 | 
 | ||||||
| ### Add cluster-specific labels | ### Add cluster-specific labels | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue