mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-23 10:32:03 +00:00
Autocalculate ALLOWED_NOTREADY_NODES based on NUM_NODES
This commit is contained in:
parent
e36fa85ec2
commit
2767dd3d79
@ -66,6 +66,10 @@ if [[ "${NODE_OS_DISTRIBUTION}" == "debian" ]]; then
|
|||||||
NODE_ACCELERATORS=""
|
NODE_ACCELERATORS=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# To avoid failing large tests due to some flakes in starting nodes, allow
|
||||||
|
# for a small percentage of nodes to not start during cluster startup.
|
||||||
|
ALLOWED_NOTREADY_NODES="${ALLOWED_NOTREADY_NODES:-$((NUM_NODES / 100))}"
|
||||||
|
|
||||||
# By default a cluster will be started with the master and nodes
|
# By default a cluster will be started with the master and nodes
|
||||||
# on Container-optimized OS (cos, previously known as gci). If
|
# on Container-optimized OS (cos, previously known as gci). If
|
||||||
# you are updating the os image versions, update this variable.
|
# you are updating the os image versions, update this variable.
|
||||||
|
Loading…
Reference in New Issue
Block a user