Skip to content

Commit

Permalink
fix(mhc): increase max unhealthy to 80%
Browse files Browse the repository at this point in the history
With a low maxUnhealthy of 33%, it is possible that a small cluster
with a single node failure will not actually trigger a failover
when in a 3 node cluster.
  • Loading branch information
mnaser committed Jul 19, 2023
1 parent 575e26e commit 4638986
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions magnum_cluster_api/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ def get_object(self) -> objects.ClusterClass:
},
},
"machineHealthCheck": {
"maxUnhealthy": "33%",
"maxUnhealthy": "80%",
"unhealthyConditions": [
{
"type": "Ready",
Expand Down Expand Up @@ -737,7 +737,7 @@ def get_object(self) -> objects.ClusterClass:
},
},
"machineHealthCheck": {
"maxUnhealthy": "33%",
"maxUnhealthy": "80%",
"unhealthyConditions": [
{
"type": "Ready",
Expand Down

0 comments on commit 4638986

Please sign in to comment.