Heba Elayoty
5d7208e48f
Add udpate and immutable tags on Workload API
...
Co-Author: Lalit Chauhan <lalitc375@gmail.com >
Signed-off-by: Heba Elayoty <heelayot@microsoft.com >
2026-01-15 14:26:40 -08:00
Heba Elayoty
24c161307f
Add tweak functions and enhance code readability
...
Signed-off-by: Heba Elayoty <heelayot@microsoft.com >
2026-01-13 13:42:55 -08:00
helayoty
6a9f3a1509
Remove descriminated union
...
Signed-off-by: helayoty <heelayot@microsoft.com >
2026-01-12 14:22:58 -08:00
helayoty
f4c839950e
Wire up declarative validation for Workload API
2026-01-12 14:22:55 -08:00
Maciej Skoczeń
9639274676
api: Create Workload API
2025-11-06 09:36:43 +00:00
Marek Siarkowicz
1ac067ae0e
Fix tests to to only accesses keys from under resourcePrefix
2025-09-10 14:49:58 +02:00
Patrick Ohly
e32adad657
apiserver: fix PriorityClasses creation data race
...
As mentioned for SystemPriorityClasses:
NOTE: be careful not to modify any of elements of the returned array directly.
Create violates that because it temporarily changes the kind during encoding.
This led to a data race in test/integration/apiserver/oidc, found during local
testing.
Co-authored-by: Jordan Liggitt <liggitt@google.com >
2025-09-02 21:00:18 +02:00
Patrick Ohly
8a908e0c0b
remove import doc comments
...
The "// import <path>" comment has been superseded by Go modules.
We don't have to remove them, but doing so has some advantages:
- They are used inconsistently, which is confusing.
- We can then also remove the (currently broken) hack/update-vanity-imports.sh.
- Last but not least, it would be a first step towards avoiding the k8s.io domain.
This commit was generated with
sed -i -e 's;^package \(.*\) // import.*;package \1;' $(git grep -l '^package.*// import' | grep -v 'vendor/')
Everything was included, except for
package labels // import k8s.io/kubernetes/pkg/util/labels
because that package is marked as "read-only".
2024-12-02 16:59:34 +01:00
Michelle Au
c4aab1036f
Add sig OWNERS to registry packages
2023-10-31 01:20:16 +00:00
Arda Güçlü
578ddde80e
Add singular name for the rest of types
2022-11-18 12:21:13 +03:00
Arda Güçlü
0990ba1cc9
Introduce singularNameProvider for core types
...
This introduces `singularNameProvider`. This provider will be used
by core types to have their singular names are defined in discovery
endpoint. Thanks to that, core resources singular name always have
higher precedence than CRDs shortcuts or singular names.
2022-11-18 12:21:07 +03:00
David Eads
a59b92e8c0
reduce API surface area of whether a resource is enabled
2022-02-23 13:36:33 -05:00
David Eads
0ec20f97d2
migrate more rest handlers to select by resource enablement
2022-02-22 12:07:43 -05:00
Alex Wang
541907334e
graduate nonpreemptingpriority to ga
2022-02-08 18:11:23 +08:00
Jordan Liggitt
39a1293cbc
Drop beta REST APIs removed in 1.22
2021-08-09 11:10:16 -04:00
Jordan Liggitt
8c8a4cf3e4
Add WarningsOnCreate,WarningsOnUpdate
2021-05-18 10:42:36 -04:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
Chao Xu
22452917c2
make some rbac and scheduling post start hooks tolerate the apiserver
...
bootstrap delay caused by installing storage versions.
2020-11-08 18:53:40 -08:00
Davanum Srinivas
07d88617e5
Run hack/update-vendor.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2020-05-16 07:54:33 -04:00
Davanum Srinivas
442a69c3bd
switch over k/k to use klog v2
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2020-05-16 07:54:27 -04:00
Mike Danese
25651408ae
generated: run refactor
2020-02-08 12:30:21 -05:00
Mike Danese
3aa59f7f30
generated: run refactor
2020-02-07 18:16:47 -08:00
yue9944882
09cf42d67c
switch system priority class to versioned (v1) api
...
move all the helpers to scheduling v1 helpers
less explicit conversion
2019-10-24 00:51:57 +08:00
Ted Yu
87b2a3129b
Propagate error from NewREST
2019-08-12 13:55:35 -07:00
wojtekt
a756e20cb5
Update autogenerated files
2019-07-01 15:02:49 +02:00
wojtekt
7497260e54
Move etcd/testing to etcd3/testing
2019-07-01 15:02:49 +02:00
wangqingcan
52f3380ef3
change preempting to PreemptionPolicy
2019-05-31 12:42:05 +08:00
yue9944882
34c4a6e057
Cherrypicking #66535
...
validate deletion admission object
backward compatibility: add validation for direct storage delete calls
apply nil validation to existing tests
revert behavior changes in deleteCollection call
fixes validation on wiring graceful deletion
remove nil validation check
continue admission check on not found error
2019-05-17 09:50:16 -07:00
Sean Sullivan
abfc5bbbf7
Rename TablePrinter interface to TableGenerator
2019-04-16 12:55:30 -07:00
yue9944882
65ba58a9a5
remove internal client dependency in pkg/*
2019-04-09 21:43:51 +08:00
Bobby (Babak) Salamat
1dac6d03e3
generated files
2019-02-22 10:51:15 -08:00
Bobby (Babak) Salamat
453498fe2c
Graduate PriorityClass to GA
2019-02-22 10:51:13 -08:00
Kubernetes Prow Robot
c5fa271dfb
Merge pull request #62979 from wackxu/comment
...
fix priorityclass strategy comment
2019-02-01 07:44:15 -08:00
Richard Kojedzinszky
a8c70aadd1
storage_scheduling: retry operation as intended
...
Fixes #72163
2018-12-21 17:22:00 +01:00
Davanum Srinivas
954996e231
Move from glog to klog
...
- Move from the old github.com/golang/glog to k8s.io/klog
- klog as explicit InitFlags() so we add them as necessary
- we update the other repositories that we vendor that made a similar
change from glog to klog
* github.com/kubernetes/repo-infra
* k8s.io/gengo/
* k8s.io/kube-openapi/
* github.com/google/cadvisor
- Entirely remove all references to glog
- Fix some tests by explicit InitFlags in their init() methods
Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135
2018-11-10 07:50:31 -05:00
Wei Huang
da041ec5a9
kubectl get priorityclass prints value column
2018-10-10 12:18:42 -07:00
tanshanshan
a99b619c11
fix apiserver crashed when priority classs already exists
2018-08-16 08:46:55 +08:00
Antoine Pelisse
68937c4934
dry-run: Use dry-runnable structure
2018-08-03 14:30:50 -07:00
Jordan Liggitt
652e2dc025
generated
2018-07-13 11:41:09 -04:00
Jordan Liggitt
617078d220
Remove hand-written typed registries
2018-07-13 11:40:52 -04:00
Antoine Pelisse
03b1e14101
dry-run: Create new options for Update/Create and pass it along
2018-07-12 07:18:37 -07:00
jennybuckley
d10e08fc89
Allow override AllowCreateOnUpdate with new argument to Update
2018-06-28 14:24:51 -07:00
Jeff Grafton
23ceebac22
Run hack/update-bazel.sh
2018-06-22 16:22:57 -07:00
ravisantoshgudimetla
f20bd00ab2
Generated
2018-05-12 02:01:09 -04:00
ravisantoshgudimetla
1db5990013
Move scheduling api to beta
2018-05-12 02:01:04 -04:00
David Eads
c5445d3c56
simplify api registration
2018-05-08 18:33:50 -04:00
David Eads
a89291a5de
stop duplicating preferred version order
2018-04-26 10:03:36 -04:00
Mike Danese
54fd2aaefd
replace request.Context with context.Context
2018-04-24 08:59:00 -07:00
wackxu
37fb3480cf
fix priorityclass strategy comment
2018-04-23 11:35:42 +08:00
Bobby (Babak) Salamat
9592a9ecf4
Allow system critical priority classes in API validation
2018-03-06 10:06:58 -08:00