- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ValidatePositiveIntOrPercent (0.34 sec)
-
pkg/apis/apps/validation/validation.go
var allErrs field.ErrorList // Validate both fields are positive ints or have a percentage value allErrs = append(allErrs, ValidatePositiveIntOrPercent(rollingUpdate.MaxUnavailable, fldPath.Child("maxUnavailable"))...) allErrs = append(allErrs, ValidatePositiveIntOrPercent(rollingUpdate.MaxSurge, fldPath.Child("maxSurge"))...) // Validate that MaxUnavailable and MaxSurge are not more than 100%.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 06 22:11:20 UTC 2024 - 41.4K bytes - Viewed (0)