resilience improvements: MySQL anti-affinity comment, descheduler 5min, prometheus termination 60s
- MySQL InnoDB: keep required anti-affinity but document why (2/3 members OK during node loss) - Descheduler: increase frequency from hourly to every 5 min for faster rebalancing - Prometheus: set terminationGracePeriodSeconds=60 to prevent drain timeout [ci skip]
This commit is contained in:
parent
3eb15149e1
commit
c8be07c403
3 changed files with 6 additions and 1 deletions
|
|
@ -237,6 +237,10 @@ resource "helm_release" "mysql_cluster" {
|
|||
}
|
||||
}
|
||||
podAntiAffinity = {
|
||||
# Required anti-affinity: MySQL pods MUST be on different nodes.
|
||||
# During node loss, one pod will be Pending — this is acceptable because
|
||||
# InnoDB Cluster operates with 2/3 members (OK_NO_TOLERANCE).
|
||||
# The descheduler (every 5 min) handles violations if any occur.
|
||||
requiredDuringSchedulingIgnoredDuringExecution = [{
|
||||
labelSelector = {
|
||||
matchLabels = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue