kubernetes/pkg/util
Heba aceb89debc
KEP-5471: Extend tolerations operators (#134665)
* Add numeric operations to tolerations

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>

* code review feedback

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>

* add default feature gate

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>

* Add integration tests

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>

* Add toleration value validation

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>

* Add validate options for new operators

Signed-off-by: helayoty <heelayot@microsoft.com>

* Remove log

Signed-off-by: helayoty <heelayot@microsoft.com>

* Update feature gate check

Signed-off-by: helayoty <heelayot@microsoft.com>

* emove IsValidNumericString func

Signed-off-by: helayoty <heelayot@microsoft.com>

* Implement IsDecimalInteger

Signed-off-by: helayoty <heelayot@microsoft.com>

* code review feedback

Signed-off-by: helayoty <heelayot@microsoft.com>

* Add logs to v1/toleration

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>
Signed-off-by: helayoty <heelayot@microsoft.com>

* Update integration tests and address code review feedback

Signed-off-by: helayoty <heelayot@microsoft.com>

* Add feature gate to the scheduler framework

Signed-off-by: helayoty <heelayot@microsoft.com>

* Remove extra test

Signed-off-by: helayoty <heelayot@microsoft.com>

* Fix integration test

Signed-off-by: helayoty <heelayot@microsoft.com>

* pass feature gate via TolerationsTolerateTaint

Signed-off-by: helayoty <heelayot@microsoft.com>

---------

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>
Signed-off-by: helayoty <heelayot@microsoft.com>
2025-11-10 12:42:54 -08:00
..
async Drop BoundedFrequencyRunner from pkg/util/async 2025-07-01 12:49:16 -04:00
bandwidth remove import doc comments 2024-12-02 16:59:34 +01:00
coverage emeritus spiffxp 2025-06-10 20:05:40 -07:00
env Replace os.Setenv with testing.T.Setenv in tests 2023-04-17 20:39:46 -05:00
filesystem Merge pull request #130245 from marosset/windows-unit-tests-pkg-util-filesystem-fixes 2025-03-03 16:59:41 -08:00
flag flag: fix nil-ptr panic & typo messages 2025-06-18 02:06:11 +06:00
flock generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
goroutinemap fix:handle error and remove Redundant type conversion 2022-07-19 11:30:46 +08:00
hash replaced spew.Sprintf with a util pretty print function 2023-03-27 09:24:22 +08:00
interrupt delete unused functions in pkg/util directory 2023-01-16 17:22:35 +08:00
iptables Drop utiliptables.NewDualStack() 2025-09-17 20:14:28 -04:00
kernel Revert "Enforce the Minimum Kernel Version 6.3 for UserNamespacesSupport feature" 2025-02-18 17:24:50 +01:00
labels hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
node remove deadcode in pkg/util/node 2024-08-10 23:32:23 +08:00
oom update to latest cadvisor @ v0.52.0 2025-03-05 06:36:39 -05:00
parsers fix panic in cron.ParseStandard 2025-10-10 23:51:05 +08:00
pod Added e2e test and fixed existing pod test 2025-03-25 02:05:30 +05:30
procfs remove import doc comments 2024-12-02 16:59:34 +01:00
removeall Replaces path.Operation with filepath.Operation 2024-01-15 20:35:13 +00:00
rlimit generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
slice add unit test coverage for pkg/util/slice 2022-06-30 15:21:37 +08:00
tail Move pkg/kubelet/kuberuntime/logs to k8s.io/cri-client staging 2024-05-30 15:13:22 +02:00
taints Improve test readability by fixing previous code variables that could easily be changed and 2022-09-16 17:23:35 +08:00
tolerations KEP-5471: Extend tolerations operators (#134665) 2025-11-10 12:42:54 -08:00