- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getStatefulSetMaxUnavailable (0.24 sec)
-
pkg/controller/statefulset/stateful_set_utils.go
} func (do descendingOrdinal) Swap(i, j int) { do[i], do[j] = do[j], do[i] } func (do descendingOrdinal) Less(i, j int) bool { return getOrdinal(do[i]) > getOrdinal(do[j]) } // getStatefulSetMaxUnavailable calculates the real maxUnavailable number according to the replica count // and maxUnavailable from rollingUpdateStrategy. The number defaults to 1 if the maxUnavailable field is
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 26.7K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_control.go
// more than 1. Ignore the passed in value and Use maxUnavailable as 1 to enforce // expected behavior when feature gate is not enabled. var err error maxUnavailable, err = getStatefulSetMaxUnavailable(set.Spec.UpdateStrategy.RollingUpdate.MaxUnavailable, replicaCount) if err != nil { return &status, err } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:03:46 UTC 2024 - 30.9K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_utils_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 50.9K bytes - Viewed (0)