Commit Graph

134908 Commits

Author SHA1 Message Date
Ania Borowiec
fadb40199f Move interfaces: Handle and Plugin and related types from kubernetes/kubernetes to staging repo kube-scheduler 2025-09-02 09:42:53 +00:00
Ondra Kupka
82896feebb cli-runtime: Return defined error from Builder
There is a custom error message returned from resource.Builder when
SingleResourceType is set and multiple resources types are specified,
which makes it impossible to check for the condition in code easily.

This patch adds resource.ErrMultipleResourceTypes that is returned
precisely in this case so that it can be checked.

This patch also removes an extra custom error message in kubectl get,
which is actually never reached, because the builder fails before.
2025-09-02 11:27:00 +02:00
Sascha Grunert
f0be916f7a Update CNI plugins to v1.8.0
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2025-09-02 08:39:57 +02:00
Sascha Grunert
584a9da594 Use golang protobuf for etcd version monitor
The golang package is preferred over the gogo one and the type
conversion should work in the same way.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2025-09-02 08:37:05 +02:00
Kubernetes Prow Robot
cb163eb55b Merge pull request #133782 from aojea/lockDisableAllocatorDualWrite
lock DisableAllocatorDualWrite
2025-09-01 22:43:40 -07:00
Kubernetes Prow Robot
02e403f45d Merge pull request #133742 from carlory/cleanup-ComponentSLIs
Remove GA feature gate ComponentSLIs
2025-09-01 22:43:33 -07:00
Kubernetes Prow Robot
e992d3948e Merge pull request #133588 from pohly/test-integration-timeout
hack: more output about running tests
2025-09-01 22:43:26 -07:00
Kubernetes Prow Robot
47bbe32cb6 Merge pull request #132478 from pohly/test-verify-images
verify-e2e-images.sh enhancements
2025-09-01 22:43:19 -07:00
Kubernetes Prow Robot
c600ebb74b Merge pull request #131092 from aldudko/dry-run-sli
metrics: exclude dryRun requests from apiserver_request_sli_duration_seconds
2025-09-01 22:43:13 -07:00
Kubernetes Prow Robot
0038035cac Merge pull request #130237 from zhifei92/migrate-kubelet-userns-to-contextual-logging
chore(kubelet): migrate userns to contextual logging
2025-09-01 20:27:13 -07:00
Kubernetes Prow Robot
8766e51555 Merge pull request #133785 from natasha41575/reviewer
self-nominate natasha41575 to be a sig-node reviewer
2025-09-01 18:29:19 -07:00
Kubernetes Prow Robot
6f4d3e0f87 Merge pull request #132365 from mohiuddin-khan-shiam/master
flag: fix nil-ptr panic & typo messages
2025-09-01 18:29:13 -07:00
Kubernetes Prow Robot
80b8c7b406 Merge pull request #133823 from dims/update-to-spf13/pflag-to-prevent-CI-break
Update to spf13/pflag to prevent CI break
2025-09-01 11:53:13 -07:00
Kubernetes Prow Robot
f424767c08 Merge pull request #133271 from saschagrunert/script-cleanup
Update protobindings scripts to drop gogo references
2025-09-01 08:39:12 -07:00
Davanum Srinivas
a41de8771a Bump github.com/spf13/cobra v1.10.0 2025-09-01 11:21:11 -04:00
Nikola
137d56c1c2 add paths section to kubelet statusz endpoint
Signed-off-by: Nikola <peac36@abv.bg>
2025-09-01 16:38:03 +03:00
Davanum Srinivas
6ddf6261d4 Update to spf13/pflag to prevent CI break 2025-09-01 08:21:12 -04:00
ylink-lfs
1fd7f308fc ci: remove httpd usage while using agnhost instead 2025-09-01 20:11:18 +08:00
Kubernetes Prow Robot
1bcfd5cee7 Merge pull request #133741 from kincoy/hpa-cleanup-redundant-casts
cleanup: remove redundant type conversions in podautoscaler
2025-09-01 04:35:20 -07:00
Kubernetes Prow Robot
5c107f08e9 Merge pull request #133708 from ingvagabund/podautoscaler-dont-print-panic
fix(controller/podautoscaler): do not print panic when .status.lastScaleTime is not set
2025-09-01 04:35:13 -07:00
Kubernetes Prow Robot
4f1ac4f7ac Merge pull request #133659 from kannon92/fix-pod-resources-api
Fix panic in PodResources API test when FeatureGates is nil
2025-09-01 03:27:12 -07:00
Marek Siarkowicz
588276255b Disable collecting stats for resources not setting prefix to prevent error logs 2025-09-01 10:21:52 +02:00
Kubernetes Prow Robot
94f2c72dca Merge pull request #133811 from pohly/dra-e2e-node-resource-health-disabled
DRA e2e node: skipping resource health disabled test
2025-09-01 00:53:12 -07:00
Michael
9b47a096f4 Update to CentOS Stream 9 based on reviewer feedback
- Update BASEIMAGE to quay.io/centos/centos:stream9 for all architectures
- Update Dockerfile to use dnf (CentOS Stream 9 package manager)
- Update package name from /usr/bin/ps to procps-ng

Addresses reviewer feedback that CentOS 8 is also EOL.
CentOS Stream 9 provides ongoing updates and support.
2025-09-01 08:37:07 +01:00
Sascha Grunert
ea02ce5b60 Update protobindings scripts to drop gogo paths
Cleanup the available scripts to remove unused code paths after all
gogo references have been migrated to native protobuf.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2025-09-01 09:35:20 +02:00
Patrick Ohly
70cd76c5cf DRA e2e node: skipping resource health disabled test
`framework.WithLabel("[FeatureGate:ResourceHealthStatus:Disabled]")` has no
effect unless a job explicitly uses it in a --label-filter, which is not what
"generic" alpha/beta jobs are meant to do. The test therefore ran in the new
dra-alpha-beta job and failed because it expected the feature to be off.

In addition, the square brackets got added twice (once via the string
parameter, once by `framework.WithLabel`).

There is no generic way to filter out tests in advance which depend on feature
gates to be turned off. In e2e_node tests the active feature gates can be
checked at runtime, so this is what the test now does.
2025-09-01 08:44:39 +02:00
Kubernetes Prow Robot
b94b6ece10 Merge pull request #133707 from ania-borowiec/fitsports
Remove use of pkg/scheduler/framework.NodeInfo in node_ports.go
2025-08-31 19:25:11 -07:00
Michael
1578267ebe Update volume/iscsi base image from fedora:38 to fedora:42
- Update BASEIMAGE from fedora:38 to fedora:42 for all architectures
- Bump VERSION from 2.7 to 2.8
- Addresses issue #131874 for updating outdated base images

Fedora 42 is the latest official release providing better security
updates and modern package versions for the iSCSI test image.
2025-08-31 13:07:47 +01:00
Kubernetes Prow Robot
5fb3296920 Merge pull request #132451 from macsko/fix_race_in_scheduler_integration_tests
Fix race in scheduler integration tests
2025-08-31 05:03:09 -07:00
Michael
73127eb86d Update volume/nfs base image from centos:7 to centos:8
- Update BASEIMAGE from centos:7 to centos:8 for all architectures
- Bump VERSION from 1.4 to 1.5
- Addresses issue #131874 for updating outdated base images

CentOS 7 is EOL and centos:8 provides better security updates
and modern package versions for the NFS test image.
2025-08-31 12:55:17 +01:00
Nour
72847ee1f7 Replace deprecated strings.Title with cases.Title 2025-08-30 18:16:59 +03:00
Kubernetes Prow Robot
d5065bdf19 Merge pull request #133430 from liggitt/json-patch-v4-errors
bump gopkg.in/evanphx/json-patch.v4
2025-08-30 07:17:08 -07:00
Kubernetes Prow Robot
0a55877979 Merge pull request #133630 from natasha41575/cleanupOldTODO
[FG:InPlacePodVerticalScaling] Clean up outdated TODO about CPU MinShares edge case
2025-08-29 17:13:16 -07:00
Kubernetes Prow Robot
5a3e769ec4 Merge pull request #133428 from natasha41575/remove_cm_dep
kubelet: remove allocationManager's reference to containerManager
2025-08-29 17:13:09 -07:00
Kubernetes Prow Robot
871857b0d0 Merge pull request #133608 from yliaog/flake
added resourceClaimModified to bindClaim to decide whether to update assume cache
2025-08-29 15:23:08 -07:00
Kubernetes Prow Robot
8d55a84ac1 Merge pull request #133786 from jpbetz/consistent-enum-alias-docs
Use consistent documentation of aliases in the API
2025-08-29 14:15:08 -07:00
Antonio Ojea
8a6f173652 lock DisableAllocatorDualWrite 2025-08-29 19:50:56 +00:00
Joe Betz
158e4e8261 generate 2025-08-29 15:46:23 -04:00
Joe Betz
b6927088c8 Use consistent documentation of aliases in the API 2025-08-29 15:46:12 -04:00
Natasha Sarkar
b159d2ca59 self nominate natasha41575 to be a sig-node reviewer 2025-08-29 17:05:40 +00:00
Kubernetes Prow Robot
5a720a58be Merge pull request #132665 from mrIncompetent/applyconfiguration-gen/extract-subresources
applyconfiguration-gen: add ExtractFrom with subresource support
2025-08-29 09:57:10 -07:00
Ayato Tokubi
799312a402 Update pod resize test to accept new cpu.weight conversion.
Signed-off-by: Ayato Tokubi <atokubi@redhat.com>
2025-08-29 16:39:18 +00:00
yliao
bf13cd1b81 added resourceClaimModified to bindClaim to decide whether to update assume cache 2025-08-29 16:12:55 +00:00
Kubernetes Prow Robot
b8257c1667 Merge pull request #133699 from pohly/log-check-update
hack/logcheck.conf: add several converted packages
2025-08-29 08:17:16 -07:00
Kubernetes Prow Robot
cb67d10970 Merge pull request #133026 from saschagrunert/dra-proto
Convert `k8s.io/kubelet/pkg/apis/dra` from gogo to protoc
2025-08-29 08:17:09 -07:00
Henrik Schmidt
1ba96db35b ./hack/update-codegen.sh 2025-08-29 16:44:49 +02:00
Henrik Schmidt
8b0d7efb43 applyconfiguration-gen: add ExtractFrom with subresource support
Add ExtractTypeFrom() functions that accept a subresource parameter, allowing extraction from any subresource. Generate convenience functions for each detected subresource (status, scale, etc).
2025-08-29 16:41:42 +02:00
Kubernetes Prow Robot
d70f058f9f Merge pull request #132407 from skitt/mockery-v3
Bump to mockery v3
2025-08-29 07:03:09 -07:00
aerosouund
f1d0c5dbc3 return an error in case nil selectors are passed to matcher functions
Signed-off-by: aerosouund <aerosound161@gmail.com>
2025-08-29 16:12:31 +03:00
Stephen Kitt
81cec6df1d Bump to mockery v3
mockery has introduced breaking changes and switched to a v3 branch,
this migrates to that, mostly using the built-in migration tool. Mocks
are now generated in single files per package, except in packages
containing mocks for multiple interface packages (in
pkg/kubelet/container/testing).

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2025-08-29 13:43:54 +02:00