darshansreenivas
ce6ea2f4b0
adding required and other test cases
2025-12-06 11:02:19 -08:00
darshansreenivas
897adb7b48
DRA: adding tag to node module
...
move DRA to a update method
fix boilerplate code
apply node normalize code at fuzz logic
adding normalization fix
fix nit
2025-12-04 23:03:21 -08:00
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
PatrickLaabs
1ae1964e88
chore: depr. pointer pkg replacement for pkg/apis
2025-07-07 16:19:01 +02:00
ndixita
8a8dc27b4e
Adding the logic to validate pod-level resources as following:
...
1. The effective container requests cannot be greater than pod-level requests
2. Inidividual container limits cannot be greater than pod-level limits
3. Only CPU & Memory are supported at pod-level
4. Inplace container resources updates are not supported if pod-level resources are set
Note: effective container requests cannot be greater than pod-level limits is supported by transitivity. Effective container requests <= pod-level requests && pod-level requests <= pod-level limits; Therefore effective container requests <= pod-level limits
Signed-off-by: ndixita <ndixita@google.com>
2024-11-08 03:00:54 +00:00
Tim Hockin
d55b67b349
Clean up brace whitespace in **/validation_test.go
...
This was making my eyes bleed as I read over code.
I used the following in vim. I made them up on the fly, but they seemed
to pass manual inspection.
:g/},\n\s*{$/s//}, {/
:w
:g/{$\n\s*{$/s//{{/
:w
:g/^\(\s*\)},\n\1},$/s//}},/
:w
:g/^\(\s*\)},$\n\1}$/s//}}/
:w
2023-05-02 00:48:42 -07:00
TommyStarK
c242e647ae
pkg/apis: Replace deprecated pointer function
...
Signed-off-by: TommyStarK <thomasmilox@gmail.com>
2023-01-08 13:14:37 +01:00
Patrick Ohly
7d11b422e3
api: add resource claims to core API
...
The resource.k8s.io/ClaimTemplate only gets referenced by name, therefore the
changes to the core API are limited.
2022-11-10 20:08:24 +01:00
Daniel Smith
2831f9a343
remove unneeded references
2022-03-23 15:26:38 +00:00
lala123912
e162fcc1bf
Add request value verification for hugepage
2021-03-05 17:36:22 +08:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
Eric Ernst
991909fdfb
PodOverhead: remove feature gate override in tests
...
PodOverhead is now a beta feature and set to true by default. No need to
override to true during testing.
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2020-02-27 17:27:06 +00:00
Tim Allclair
d54879862b
Update generated files
2019-08-09 11:13:07 -07:00
Yassine TIJANI
009658d643
Introduce topology into the runtimeClass API
...
Co-authored-by: Tim Allclair <tallclair@google.com>
2019-08-09 11:13:07 -07:00
Jordan Liggitt
2e604bedc8
Make Overhead validation unconditional
2019-08-02 20:09:52 -04:00
Eric Ernst
5e09568c8e
pod-overhead: autogenerated code updates
...
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-06-18 08:05:35 -07:00
Eric Ernst
2c52cc3412
pod-overhead: add Overhead to RuntimeClass internal type
...
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-06-18 08:05:35 -07:00
Yassine TIJANI
480d5e47b6
Revert "Introduce topology into the runtimeClass API"
2019-05-31 20:49:40 +00:00
Tim Allclair
2e384858f0
regenerate
2019-05-22 08:48:57 -07:00
Tim Allclair
10c514725b
Update types from api review
2019-05-22 08:48:57 -07:00
Tim Allclair
d419bdfcd9
Validate topology
2019-05-06 18:38:56 -07:00
Tim Allclair
63f61a6714
Migrate RuntimeClass to internal API
2019-03-07 11:07:54 -08:00