Commit Graph

125516 Commits

Author SHA1 Message Date
Jordan Liggitt
745ae75a15
Update vendor 2024-09-27 22:43:28 -04:00
Jordan Liggitt
4d8cbad58e
Implement limited merge function 2024-09-27 22:43:27 -04:00
Kubernetes Prow Robot
26399fa7be
Merge pull request #127649 from mmorel-35/testifylint/formatter@k8s.io/kubernetes
fix: enable formatter rule from testifylint in module `k8s.io/kubernetes`
2024-09-28 02:52:09 +01:00
Kubernetes Prow Robot
04ff7bd303
Merge pull request #127539 from mmorel-35/testifylint/error-is-as@k8s.io/client-go
fix: enable error-is-as rule from testifylint in module `k8s.io/client-go`
2024-09-28 02:52:01 +01:00
Jordan Liggitt
9fde1c6a85
Narrow merge interface to merging the same types 2024-09-27 18:43:57 -04:00
Jordan Liggitt
3b3886a450
Isolate mergo use, add test coverage and error checking 2024-09-27 18:43:54 -04:00
Kubernetes Prow Robot
80941e3e87
Merge pull request #127643 from Jefftree/set-emulation-integration-test
Allow emulation version to be set in integration test
2024-09-27 21:56:01 +01:00
Jefftree
d918804a5a reorder retrygeneratename and fix feature gate to lint versioned features 2024-09-27 20:29:16 +00:00
Kubernetes Prow Robot
1d268108e9
Merge pull request #127714 from dims/re-add-nvidia-gpu-device-plugin.yaml-in-test-suite-itself
Re-add nvidia-gpu-device-plugin.yaml in test suite itself
2024-09-27 20:52:02 +01:00
Jefftree
a8390dcddd Port the rest of unversioned features 2024-09-27 19:10:11 +00:00
Jefftree
de2e232a85 port kcm feature to versioned 2024-09-27 19:08:15 +00:00
Jefftree
c9a999df1a Port deprecated features to versioned 2024-09-27 19:08:06 +00:00
Jefftree
a20039f3d4 update and reorder features that should not be listed under deprecated 2024-09-27 18:43:27 +00:00
Davanum Srinivas
d3cbe2fe86
Re-add nvidia-gpu-device-plugin.yaml in test suite itself
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-09-27 14:23:57 -04:00
Kubernetes Prow Robot
befeb009b9
Merge pull request #127641 from dom4ha/integration-test-fix
Increase the readability of the test preconditions and double check that all test pods are really unschedulable.
2024-09-27 17:20:01 +01:00
dom4ha
9bf6ee976b Assert whethere there are no pod in active queue while waiting for all pods to get scheduled instead of asserting it afterwards. 2024-09-27 15:06:04 +00:00
dom4ha
54b0ed45b7 Add one more check to the test case precondition assessment. 2024-09-27 15:06:04 +00:00
dom4ha
151ac846a2 Increase the readability of the test preconditions and double check that all test pods are really unschedulable. 2024-09-27 15:06:04 +00:00
Patrick Ohly
aee77bfc84 DRA scheduler: add special ActionType for ResourceClaim changes
Having a dedicated ActionType which only gets used when the scheduler itself
already detects some change in the list of generated ResourceClaims of a pod
avoids calling the DRA plugin for unrelated Pod changes.
2024-09-27 16:53:58 +02:00
Kubernetes Prow Robot
3d6c5b2e98
Merge pull request #127551 from carlory/fix-trace-context
introduce a proper trace context
2024-09-27 11:32:01 +01:00
Patrick Ohly
d425353c13 DRA scheduler: reduce verbosity of queuing hints
Other hints also only use V(5) or higher.
2024-09-27 08:15:33 +02:00
Patrick Ohly
4a265feb83 DRA scheduler: fix queuing hint support
d66f8f9 added that "plugins have to implement a QueueingHint for Pod/Update
event if the rejection from them could be resolved by updating unscheduled
Pods itself".

This applies to DRA because the name of a generated ResourceClaim must be
recorded in the pod status before the pod can be scheduled.
2024-09-27 08:15:33 +02:00
CasperLiu
5b2632f707 introduce a proper trace context
Signed-off-by: carlory <baofa.fan@daocloud.io>
Co-authored-by: CasperLiu <qiuyuzhe521@gmail.com>
2024-09-27 14:13:30 +08:00
Matthieu MOREL
3e29e6e9d3 fix: enable error-nil and nil-compare rules from testifylint in module k8s.io/endpointslice
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-27 08:13:21 +02:00
Matthieu MOREL
08314967b9 fix: enable error-nil and nil-compare rules from testifylint in module k8s.io/cli-runtime
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-27 08:12:56 +02:00
Matthieu MOREL
ab9f9ac951 fix: enable error-nil and nil-compare rules from testifylint in module k8s.io/cri-client
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-27 08:12:20 +02:00
Matthieu MOREL
09274182e2 fix: enable error-nil and nil-compare rules from testifylint in module k8s.io/apiserver
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-27 08:11:56 +02:00
Matthieu MOREL
71ced25f44 fix: enable error-nil and nil-compare rules from testifylint in module k8s.io/client-go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-27 08:11:00 +02:00
Matthieu MOREL
223ea3445c fix: enable expected-actual rule from testifylint in module k8s.io/kubectl
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-27 08:07:22 +02:00
Matthieu MOREL
b1fb8ec375 fix: enable expected-actual rule from testifylint in module k8s.io/endpointslice
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-27 08:04:52 +02:00
Matthieu MOREL
8286a69034 fix: enable expected-actual rule from testifylint in module k8s.io/client-go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-27 08:02:38 +02:00
Matthieu MOREL
fbd773ecb8 fix: enable expected-actual rule from testifylint in module k8s.io/apiserver
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-27 08:00:23 +02:00
Matthieu MOREL
f736cca0e5 fix: enable expected-actual rule from testifylint in module k8s.io/kubernetes
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-27 07:56:31 +02:00
Matthieu MOREL
0006a3cc37 fix: enable expected-actual rule from testifylint in module k8s.io/apimachinery
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-27 07:49:18 +02:00
Matthieu MOREL
45faf310a5 fix: enable expected-actual rule from testifylint in module k8s.io/kubelet
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-27 07:47:10 +02:00
Kubernetes Prow Robot
a8c955ab42
Merge pull request #127606 from thockin/skip_test_target_normalization
Skip Go target normalization in integration tests
2024-09-27 04:42:01 +01:00
Kubernetes Prow Robot
466a6c3407
Merge pull request #127672 from jpbetz/apiextensions-versioned-feature-gates
Migrate apiextensions-apiserver to versioned feature gates
2024-09-27 03:38:08 +01:00
Kubernetes Prow Robot
f84bbfe94f
Merge pull request #127488 from dims/remove-unnecessary-stuff-for-nvidia-gpus
Remove remants of broken stuff - nvidia/autoscaling
2024-09-27 03:38:01 +01:00
Kubernetes Prow Robot
960e3984b0
Merge pull request #127444 from dom4ha/fine-grained-qhints
Fine grain QueueHints for NodeAffinity plugin
2024-09-27 01:42:00 +01:00
Joe Betz
82415c3d9d Update feature gate lists 2024-09-26 20:09:41 -04:00
Joe Betz
138106896e Migrate apiextensions-apiserver to versioned feature gates 2024-09-26 20:09:01 -04:00
Matthieu MOREL
f777addb05 fix: use ErrorContains(t, err instead of Contains(t, err.Error()
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-26 22:22:20 +02:00
Jeffrey Ying
ff13ffc6e0
Update cmd/kube-apiserver/app/testing/testserver.go
Co-authored-by: Joe Betz <jpbetz@google.com>
2024-09-26 15:29:33 -04:00
Jeffrey Ying
396d36596c
Update cmd/kube-apiserver/app/testing/testserver.go
Co-authored-by: Joe Betz <jpbetz@google.com>
2024-09-26 15:29:24 -04:00
Kubernetes Prow Robot
5ebd0da6cc
Merge pull request #127662 from macsko/make_scheduler_perf_sleepop_duration_parametrizable
Make sleepOp duration parametrizable in scheduler_perf
2024-09-26 20:10:01 +01:00
elmiko
d1d05d3eba remove IsDeprecatedInternal from cloudprovider.plugins
The internal cloud controller loops are disabled at this point, this
function should not be used as it does not return accurate information.
In its place we check for the presence of the external cloud provider as
that is the only acceptable value.
2024-09-26 14:55:25 -04:00
Kubernetes Prow Robot
421436a94c
Merge pull request #127473 from dom4ha/fine-grain-qhints-fit
feature(scheduler): more fine-grained Node QHint for NodeResourceFit plugin
2024-09-26 18:34:02 +01:00
Abu Kashem
71d9307eae
apiserver: all bookkeeping must complete before apf handler returns
all bookkeeping must complete before the apf handler returns,
whether it panics or returns normally
2024-09-26 11:40:20 -04:00
Abu Kashem
0c8632de57
apiserver: fix apf watch test
the assert to verify that 'atomicReadOnlyExecuting' is zero
should be executed if the apf handler panics, all apf
bookkeeping must be completed before the handler returns
2024-09-26 11:40:20 -04:00
Kubernetes Prow Robot
c89205f7d6
Merge pull request #127647 from mmorel-35/testifylint/formatter@k8s.io/apiserver
fix: enable formatter rule from testifylint in module `k8s.io/apiserver`
2024-09-26 14:56:08 +01:00