Commit graph

135661 commits

Author SHA1 Message Date
Kubernetes Prow Robot
8051281a28
Merge pull request #135502 from Argh4k/binding-pods
Preempt pods in prebind phase without delete calls.
2026-02-18 17:23:37 +05:30
Kubernetes Prow Robot
5fa8c7f7e6
Merge pull request #137081 from guettli/fallback-to-external-ip-in-tests
Fallback to ExternalIP in tests.
2026-02-18 15:11:37 +05:30
Maciej Wyrzuc
4a326b0196 Preempt pods in prebind phase without delete calls.
This change allows the preemption to preempt a pod that is not yet
bound, but is already in prebind phase) without issuing a delete call to the
apiserver.

Pods are added to a special map of pods currently in prebind phaseand
preemption can cancel the context that is used for given pod prebind phase ,
allowing it to gracefully handle error in the same manner as errors
coming out from prebind plugins. This results in pods being pushed to
backoff queue, allowing them to be rescheduled in upcoming scheduling
cycles.
2026-02-18 09:00:23 +00:00
Kubernetes Prow Robot
5e8bc18171
Merge pull request #137076 from atilsensalduz/chore/hpa-e2e-update-deprecated-apis-to-current
chore(test/autoscaling): update HPA e2e DynamicResourceConsumer to use current APIs
2026-02-18 14:05:38 +05:30
Kubernetes Prow Robot
4edf082c40
Merge pull request #136895 from youwalther65/csr-create
Add CertificateSigningRequest create log entry for default kubelet debug level V2
2026-02-18 09:23:37 +05:30
Kubernetes Prow Robot
d392136d18
Merge pull request #137063 from richabanker/mvp-metrics
Add group, version, resource labels to alpha metric apiserver_rerouted_request_total
2026-02-18 07:07:39 +05:30
Kubernetes Prow Robot
920d29b10f
Merge pull request #136154 from bhope/metrics-beta-component-base
Promote component-base metrics to beta
2026-02-18 05:25:38 +05:30
Prathamesh Bhope
9c3fabadde component-base/metrics: graduate metrics to stable: kubernetes_build_info, rest_client_requests_total, rest_client_request_duration_seconds, running_managed_controllers
address review nits
2026-02-17 14:45:25 -08:00
Richa Banker
6cdd9e6bab Add group, version, resource labels to alpha metric apiserver_rerouted_request_total 2026-02-17 12:52:20 -08:00
Kubernetes Prow Robot
1bb4d4f7b3
Merge pull request #137057 from iPraveenParihar/e2e/fix-flaky-snapshot-metadata-test
e2e: fix snapshot metadata test flakes by removing in-test CRD creation
2026-02-18 00:23:53 +05:30
Kubernetes Prow Robot
aaa8fe96de
Merge pull request #136951 from zylxjtu/master
Add the windows 2025 support for some e2e test images
2026-02-18 00:23:46 +05:30
Kubernetes Prow Robot
338a3bcef8
Merge pull request #136254 from tosi3k/extend-postfilter
Extend PostFilterResult with a list of victim Pods
2026-02-18 00:23:37 +05:30
Kubernetes Prow Robot
e7e9eebc02
Merge pull request #137088 from soltysh/logs_timeout
Bump logs e2e timeout to 3s to match log generator
2026-02-17 23:31:55 +05:30
Kubernetes Prow Robot
4540abb5d8
Merge pull request #136704 from Ignoramuss/optionalorrequired-authentication
api: enable optionalorrequired linter for authentication API
2026-02-17 23:31:47 +05:30
Kubernetes Prow Robot
09259d3dff
Merge pull request #136689 from kfess/bugfix/windows-plugin
Fix kubectl plugin list overshadow detection on Windows
2026-02-17 23:31:39 +05:30
Praveen M
0e6bf008b8 e2e: fix snapshot metadata test flakes by removing in-test CRD creation
Signed-off-by: Praveen M <m.praveen@ibm.com>
2026-02-17 22:17:16 +05:30
Kubernetes Prow Robot
c9020bef5a
Merge pull request #135732 from pohly/dra-upgrade-downgrade-device-taints
DRA: upgrade/downgrade device taints
2026-02-17 22:13:42 +05:30
Thomas Güttler
8e7eb56023 Fallback to ExternalIP in tests.
Make test code behave like [GetNodeHostIPs()](https://pkg.go.dev/k8s.io/kubernetes/pkg/util/node#GetNodeHostIPs)

First try InternalIP, then ExternalIP.
2026-02-17 17:24:08 +01:00
Maciej Szulik
76ba5f101c
Bump logs e2e timeout to 3s to match log generator
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2026-02-17 17:11:09 +01:00
Antoni Zawodny
25d93e1f8e Extend PostFilterResult with a list of victim Pods 2026-02-17 16:50:20 +01:00
Patrick Ohly
ff551f387f DRA E2E: disarm footgun in PodExternal
The implicit matching of the ResourceClaim name to ExternalClaim was
convenient (no need to specify the parameter) but did go wrong in integration
testing where there are multiple calls to ExternalClaim.
2026-02-17 16:35:36 +01:00
Patrick Ohly
aa3f79d4c9 DRA upgrade/downgrade: add DeviceTaints test
This automatically tests a few scenarios across cluster upgrade/downgrade.
2026-02-17 16:35:36 +01:00
Kubernetes Prow Robot
7ed7104d27
Merge pull request #137079 from pohly/dra-integration-data-race
DRA integration: fix data race
2026-02-17 19:57:03 +05:30
Patrick Ohly
e53d93a6bc DRA integration: fix data race
Gomega matchers cannot be used concurrently, they get mutated. Each user must
get its own separate instance.

    WARNING: DATA RACE
    Write at 0x00c0195da678 by goroutine 322445:
      github.com/onsi/gomega/matchers.(*AndMatcher).Match()
          /home/prow/go/src/k8s.io/kubernetes/vendor/github.com/onsi/gomega/matchers/and.go:18 +0x44
      github.com/onsi/gomega/internal.(*AsyncAssertion).pollMatcher()
          /home/prow/go/src/k8s.io/kubernetes/vendor/github.com/onsi/gomega/internal/async_assertion.go:387 +0xbe
      github.com/onsi/gomega/internal.(*AsyncAssertion).match()
          /home/prow/go/src/k8s.io/kubernetes/vendor/github.com/onsi/gomega/internal/async_assertion.go:415 +0x47b
      github.com/onsi/gomega/internal.(*AsyncAssertion).Should()
          /home/prow/go/src/k8s.io/kubernetes/vendor/github.com/onsi/gomega/internal/async_assertion.go:145 +0xc4
      k8s.io/kubernetes/test/integration/dra.testShareResourceClaimSequentially.func3()
          /home/prow/go/src/k8s.io/kubernetes/test/integration/dra/resourceclaim_test.go:104 +0x361
      k8s.io/kubernetes/test/integration/dra.testShareResourceClaimSequentially.func5()
          /home/prow/go/src/k8s.io/kubernetes/test/integration/dra/resourceclaim_test.go:139 +0xa1
      sync.(*WaitGroup).Go.func1()
          /home/prow/go/src/k8s.io/kubernetes/_output/local/go/cache/mod/golang.org/toolchain@v0.0.1-go1.25.7.linux-amd64/src/sync/waitgroup.go:239 +0x5d

    Previous write at 0x00c0195da678 by goroutine 322438:
      github.com/onsi/gomega/matchers.(*AndMatcher).Match()
          /home/prow/go/src/k8s.io/kubernetes/vendor/github.com/onsi/gomega/matchers/and.go:18 +0x44
      github.com/onsi/gomega/internal.(*AsyncAssertion).pollMatcher()
          /home/prow/go/src/k8s.io/kubernetes/vendor/github.com/onsi/gomega/internal/async_assertion.go:387 +0xbe
      github.com/onsi/gomega/internal.(*AsyncAssertion).match()
          /home/prow/go/src/k8s.io/kubernetes/vendor/github.com/onsi/gomega/internal/async_assertion.go:415 +0x47b
      github.com/onsi/gomega/internal.(*AsyncAssertion).Should()
          /home/prow/go/src/k8s.io/kubernetes/vendor/github.com/onsi/gomega/internal/async_assertion.go:145 +0xc4
      k8s.io/kubernetes/test/integration/dra.testShareResourceClaimSequentially.func3()
          /home/prow/go/src/k8s.io/kubernetes/test/integration/dra/resourceclaim_test.go:104 +0x361
      k8s.io/kubernetes/test/integration/dra.testShareResourceClaimSequentially.func5()
          /home/prow/go/src/k8s.io/kubernetes/test/integration/dra/resourceclaim_test.go:139 +0xa1
      sync.(*WaitGroup).Go.func1()
          /home/prow/go/src/k8s.io/kubernetes/_output/local/go/cache/mod/golang.org/toolchain@v0.0.1-go1.25.7.linux-amd64/src/sync/waitgroup.go:239 +0x5d
2026-02-17 14:38:25 +01:00
Kubernetes Prow Robot
d3a1be8586
Merge pull request #136990 from cpanato/update-rules
Update publishing rules
2026-02-17 19:07:03 +05:30
Kubernetes Prow Robot
23fc0bff62
Merge pull request #137049 from pohly/dra-scheduler-perf-failures
DRA scheduler_perf: avoid race between assume cache and Update calls
2026-02-17 16:37:04 +05:30
atilsensalduz
7e3bd4cfa5 chore(test/autoscaling): replace RC with ReplicaSet and update deprecated API versions in HPA e2e
Signed-off-by: atilsensalduz <atil.sensalduz@gmail.com>
2026-02-17 14:01:02 +03:00
Kubernetes Prow Robot
f9c9f03b05
Merge pull request #136618 from macsko/workload_scheduling_cycle
KEP-4671: Introduce Workload Scheduling Cycle
2026-02-17 15:21:04 +05:30
Maciej Skoczeń
6233b25907 Introduce Workload Scheduling Cycle
Add integration tests for gang and basic policy workload scheduling

Add more tests for cluster snapshot

Proceed to binding cycle just after pod group cycle

Enforce one scheduler name per pod group, rename workload cycle to pod group cycle

Add unit tests for pod group scheduling cycle

Run ScheduleOne tests treating pod as part of a pod group

Rename NeedsPodGroupCycle to NeedsPodGroupScheduling

Observe correct per-pod and per-podgroup metrics during pod group cycle

Rename pod group algorithm status to waiting_on_preemption

Mention forgotAllAssumedPods is a safety check
2026-02-17 09:02:32 +00:00
Carlos Panato
a1736c1595
update go in publishing rules
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2026-02-17 09:51:58 +01:00
Kubernetes Prow Robot
2fb84cfed3
Merge pull request #137052 from skitt/golangci-lint-2.9.0
Bump to golangci-lint 2.9.0
2026-02-17 00:58:01 +05:30
Stephen Kitt
3d1e90f95a
Bump to golangci-lint 2.9.0
bloop was disabled because of its impact on small benchmarks (see
267fc6b81a
for details), this removes it from the disabled entries.

stringscut was introduced in x/tools 0.40.0 and is disabled for
existing code.

ginkgolinter's Success matcher check doesn't know about TContext, so
it's disabled for k/k.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2026-02-16 15:45:22 +01:00
Kubernetes Prow Robot
31bf3ed48b
Merge pull request #137019 from olamilekan000/add-a-show-secret-flag-in-diff-command
add show-secret flag to the diff command
2026-02-16 19:44:10 +05:30
Kubernetes Prow Robot
c99adcec1a
Merge pull request #136799 from omerap12/external-metrics-e2e
Add e2e test for external metrics
2026-02-16 19:44:02 +05:30
Patrick Ohly
ca0433bdb2 DRA scheduler_perf: avoid race between assume cache and Update calls
A updated claim can only be stored in the assume cache if the cache already
contains a copy of it. That wasn't guaranteed because the update operations
where based on listing existing claims without going through the cache.

To avoid the race, we can ensure that the assume cache is up-to-date before
we start updating claims and the cache. This is simpler than retrying the
assume call.
2026-02-16 13:47:39 +01:00
Kubernetes Prow Robot
18865bef41
Merge pull request #136411 from olamilekan000/fix-cli-throwing-an-error-when-tailing-logs
fix cli throwing an error when trying to tail the logs for a Pod
2026-02-16 18:00:00 +05:30
olalekan odukoya
5b3b05921f fix cli throwing an error when trying to follow logs for pod while still initializing
Signed-off-by: olalekan odukoya <odukoyaonline@gmail.com>
2026-02-16 12:34:43 +01:00
Kubernetes Prow Robot
f067ad1e8f
Merge pull request #135715 from darshansreenivas/dtumkur-pr-network-tag-cidr
networkpolicy: migrate ipBlock.cidr validation to DV
2026-02-16 07:01:58 +05:30
darshansreenivas
bc17031d19 network: migrate CIDR validation to DV
Co-authored-by: Abhishek Srivastava <abhishek@asrivas.me>
2026-02-15 16:00:41 -08:00
Kubernetes Prow Robot
8d835ffd33
Merge pull request #137037 from atombrella/feature/proxy_utils_net_joinhost
proxy/utils: Use net.JoinHostPort to format address.
2026-02-16 04:19:59 +05:30
Kubernetes Prow Robot
9210644161
Merge pull request #136501 from adrianmoisey/remove-CustomMetricsAutoscaling
Remove unused variable CustomMetricsAutoscaling
2026-02-15 21:23:58 +05:30
Mads Jensen
bbbc09fb11 proxy/utils: Use net.JoinHostPort to format address. 2026-02-15 16:53:17 +01:00
Kubernetes Prow Robot
4811b20170
Merge pull request #136588 from abel-von/split-slices
dra: split slices to "shared" and "on node"
2026-02-14 08:35:59 +05:30
Ignoramuss
3b25b16ce1 api: enable optionalorrequired linter for authentication API
Add missing +optional and +required markers to authentication API types
across v1, v1beta1, and v1alpha1 versions, and remove authentication
from the linter exception lists.

Part of kubernetes/kubernetes#134671
2026-02-13 17:40:47 -08:00
Kubernetes Prow Robot
574b3aad0f
Merge pull request #136998 from yongruilin/master-vg_hpa-ifenable
Migrate HPA MinReplicas to Declarative Validation with Feature Gate Support
2026-02-14 06:59:58 +05:30
yongruilin
8dd711ea80 address feedback: pass HPAScaleToZero option when already in use 2026-02-13 22:50:16 +00:00
olalekan odukoya
03060174b8 add show-secret flag to the diff command
Signed-off-by: olalekan odukoya <odukoyaonline@gmail.com>
2026-02-13 22:48:51 +01:00
Kubernetes Prow Robot
18c8b8c4d3
Merge pull request #136896 from aaron-prindle/modal-validation-upstream
Implement declarative modal validation (+k8s:discriminator and +k8s:member)
2026-02-14 03:08:00 +05:30
Aaron Prindle
5f3bb4a434 feedback: Remove disallowed tags logic from discriminator validator 2026-02-13 20:34:12 +00:00
Kubernetes Prow Robot
638bdc9df6
Merge pull request #136993 from hdp617/patch-1
Update cloud-controller-manager image version to v35.0.2
2026-02-14 00:44:00 +05:30