Commit Graph

127091 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
9d62330bfa
Merge pull request #128286 from umagnus/fix_unmount_relative_path
fix: mount-utils IsLikelyNotMountPoint relative path issue
2024-11-27 09:02:57 +00:00
Kubernetes Release Robot
0e1abc4d18 CHANGELOG: Update directory for v1.32.0-rc.0 release 2024-11-26 16:47:58 +00:00
Kubernetes Prow Robot
8770bd58d0
Merge pull request #128966 from liggitt/deflake-external
Wait for updated keys to be observed
2024-11-25 19:18:59 +00:00
Jordan Liggitt
26c08dde52
Wait for updated keys to be observed 2024-11-25 11:55:20 -05:00
Kubernetes Prow Robot
e4c1f980b7
Merge pull request #128932 from pohly/dra-node-selector-validation
DRA API: validate node selector labels
2024-11-22 20:22:55 +00:00
Kubernetes Prow Robot
35d098aaa0
Merge pull request #128852 from cpanato/update-go
[go] Bump images, dependencies and versions to go 1.23.3 and distroless iptables
2024-11-22 10:18:55 +00:00
AxeZhan
3075a9ae96 DRA API: validate node selector labels
Previously, ValidateNodeSelector did not check that labels are valid. Now it
does for resource.k8s.io, regardless whether an object already was created with
invalid labels in an earlier Kubernetes release. Theoretically this is a
breaking change and could cause problems during an upgrade, but that is highly
unlikely in practice.

In contrast to node affinity, DRA does not ignore parse errors
(= uses NewNodeSelector, not NewLazyErrorNodeSelector), so invalid labels would
have been found instead of being silently ignored.

Even if some object has invalid labels, this only affects an alpha -> beta
upgrade which isn't guaranteed to work seamlessly.
2024-11-22 09:10:02 +01:00
Kubernetes Prow Robot
40f222b620
Merge pull request #128834 from pohly/scheduler-perf-pass-workaround
scheduler_perf: fix and enhance reporting
2024-11-21 16:08:55 +00:00
Kubernetes Release Robot
776fb24e06 CHANGELOG: Update directory for v1.31.3 release 2024-11-21 01:12:49 +00:00
Kubernetes Release Robot
dfa82b30f4 CHANGELOG: Update directory for v1.30.7 release 2024-11-21 00:46:50 +00:00
Kubernetes Release Robot
a132d17d45 CHANGELOG: Update directory for v1.29.11 release 2024-11-20 23:36:16 +00:00
Kubernetes Prow Robot
bf70d289fb
Merge pull request #128875 from pacoxu/revert-128682-ippr-beta
Revert "[FG:InPlacePodVerticalScaling] Graduate to Beta"
2024-11-20 14:34:54 +00:00
Paco Xu
03a15fa65d
Revert "[FG:InPlacePodVerticalScaling] Graduate to Beta" 2024-11-20 14:55:29 +08:00
Kubernetes Prow Robot
c9092f69fc
Merge pull request #128851 from pacoxu/fix-master-blocking
skip if cri proxy is disabled/undefined
2024-11-19 14:30:56 +00:00
Kubernetes Prow Robot
021dbe9d19
Merge pull request #128841 from princepereira/ppereira-remove-opencensus
Vendoring changes for new hnslib v0.0.8.
2024-11-19 10:08:54 +00:00
cpanato
cb42224952
Bump images, dependencies and versions to go 1.23.3 and distroless iptables
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-11-19 09:57:41 +01:00
Paco Xu
59dfb0e779 skip if cri proxy is disabled/undefined 2024-11-19 11:17:07 +08:00
Prince Pereira
07c79da04f vendoring changes for new hnslib v0.0.8. 2024-11-18 23:30:50 +05:30
Patrick Ohly
25a4758bcc testing: allow keeping detailed go test JUnit results
Pruning of tests to the top-level test was added for jobs like
pull-kubernetes-unit which run many tests. For other, more focused jobs like
scheduler-perf benchmarking it would be nice to keep the more detailed
information, in particular because it includes the duration per test case.
2024-11-18 12:44:34 +01:00
Patrick Ohly
ac3d43a8a6 scheduler_perf: work around incorrect gotestsum failure reports
Because Go does not a "pass" action for
benchmarks (https://github.com/golang/go/issues/66825#issuecomment-2343229005),
gotestsum reports a successful benchmark run as failed
(https://github.com/gotestyourself/gotestsum/issues/413#issuecomment-2343206787).

We can work around that in each benchmark and sub-benchmark by emitting the
output line that `go test` expects on stdout from the test binary for success.
2024-11-18 12:35:05 +01:00
Patrick Ohly
369a18a3a1 scheduler_perf: simplify flags, fix output
The "disabled by label filter" message for benchmarks printed the pointer to
the filter string, not the filter string itself. This mistake gets avoided and
the code becomes simpler when not using pointers.
2024-11-18 12:32:59 +01:00
Kubernetes Prow Robot
cf480a3a1a
Merge pull request #128800 from soltysh/flake_128742
Add timeout for port-forward test
2024-11-15 18:02:53 +00:00
Maciej Szulik
9e87e99587
Add timeout for port-forward test
After removing a pod in port-forward test we wait for an error from POST
request. Since the POST doesn't have a timeout it hangs indefinitely, so
instead we're hitting a DefaultPodDeletionTimeout. To make sure the POST
fails this adds a timeout to ensure we'll always get that expected
error, rather than nil.

Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2024-11-15 17:48:24 +01:00
Kubernetes Prow Robot
23e76432a9
Merge pull request #128720 from mengjiao-liu/update-metrics-1-32
Update metrics docs for v1.32 release(Note this must be committed after the code freeze)
2024-11-15 04:30:51 +00:00
Kubernetes Prow Robot
475ee33f69
Merge pull request #128765 from sanposhiho/split-tests
fix: split TestCoreResourceEnqueue to deal with the timeout issue
2024-11-14 00:12:46 +00:00
Kubernetes Prow Robot
deecaf73eb
Merge pull request #128763 from srivastav-abhishek/fix-err-string
Fixed failing UT TestWriteKubeletConfigFiles by removing privilege check and adding proper error handling
2024-11-13 18:54:47 +00:00
Kensei Nakada
429abe33f1 fix: split TestCoreResourceEnqueue to deal with the timeout issue 2024-11-13 11:53:42 -07:00
Abhishek Kr Srivastav
56e3c787a5 Fixed failing test by removing privilege check and some refactor
Addressed review comments
2024-11-13 23:13:33 +05:30
Kubernetes Prow Robot
5ee686b6cf
Merge pull request #128559 from lauralorenz/crashloopbackoff-refactorimagepullbackoff-e2enodecriproxytest
E2E Node tests for image pull backoff and crashloopbackoff behavior
2024-11-13 17:34:47 +00:00
Kubernetes Prow Robot
f59dd4bce3
Merge pull request #128777 from SataQiu/fix-upgrade-dryrun-20241113
kubeadm: fix a bug where upgrade dryrun can not select the network interface correctly
2024-11-13 08:14:46 +00:00
SataQiu
d81e8beaea kubeadm: fix a bug where upgrade dryrun can not select the network interface correctly 2024-11-13 11:54:30 +08:00
Kubernetes Prow Robot
0926587bf0
Merge pull request #128771 from tallclair/min-quota
[FG:InPlacePodVerticalScaling] Equate CPU limits below the minimum effective limit (10m)
2024-11-13 03:48:53 +00:00
Kubernetes Prow Robot
af7581e8ec
Merge pull request #128761 from ah8ad3/revert-126533
Revert PR #126533 and add a test case for broken case
2024-11-13 03:48:46 +00:00
Kubernetes Prow Robot
420c6982ef
Merge pull request #128764 from pohly/dra-kubelet-grpc-api-package-name
DRA kubelet: use unique protobuf package name
2024-11-13 02:00:46 +00:00
Laura Lorenz
9ab0d81d76 Now that sleep is shorter, only expect to reach 3 within 30s
Focused too much on the container restart one in commit that fixed that

Signed-off-by: Laura Lorenz <lauralorenz@google.com>
2024-11-13 01:39:58 +00:00
Tim Allclair
18600f43e0 Min cpu limit resize e2e test 2024-11-12 17:23:36 -08:00
Tim Allclair
8342d39956 Equate CPU limits below the minimum effective limit (10m) 2024-11-12 17:23:17 -08:00
Laura Lorenz
59f9858086 Move function specific to container restart test inline
Signed-off-by: Laura Lorenz <lauralorenz@google.com>
2024-11-12 23:59:30 +00:00
Laura Lorenz
529d5ba9d3 Don't overly indirect image name
Signed-off-by: Laura Lorenz <lauralorenz@google.com>
2024-11-12 23:34:57 +00:00
Laura Lorenz
8e7b2af712 Use a better util
Signed-off-by: Laura Lorenz <lauralorenz@google.com>
2024-11-12 23:30:03 +00:00
Laura Lorenz
285d433dea Clearer image pull test and utils
Signed-off-by: Laura Lorenz <lauralorenz@google.com>
2024-11-12 23:30:00 +00:00
Laura Lorenz
e03d0f60ef Orient tests to run faster, but tolerate infra slowdowns up to 5 minutes
Signed-off-by: Laura Lorenz <lauralorenz@google.com>
2024-11-12 21:48:28 +00:00
Laura Lorenz
d293c5088f Fix spelling
Signed-off-by: Laura Lorenz <lauralorenz@google.com>
2024-11-12 21:12:20 +00:00
Kubernetes Prow Robot
252e9cbb23
Merge pull request #128754 from vivzbansal/sidecar-3
Add AllowSidecarResizePolicy to relax resize policy validation check of sidecar containers
2024-11-12 20:28:48 +00:00
Laura Lorenz
1da8ca816e Extract restart number properly
Signed-off-by: Laura Lorenz <lauralorenz@google.com>
2024-11-12 20:00:11 +00:00
Laura Lorenz
2732d57e33 Missed refactor of container name here
Signed-off-by: Laura Lorenz <lauralorenz@google.com>
2024-11-12 19:50:11 +00:00
Laura Lorenz
e6059d7386 Fix typecheck and verify
Signed-off-by: Laura Lorenz <lauralorenz@google.com>
2024-11-12 19:48:38 +00:00
Kubernetes Prow Robot
79e5584257
Merge pull request #128682 from tallclair/ippr-beta
[FG:InPlacePodVerticalScaling] Graduate to Beta
2024-11-12 19:00:46 +00:00
Patrick Ohly
6c27e8dc8f DRA kubelet: use unique protobuf package name
As mentioned in https://protobuf.dev/programming-guides/style, package names
"should be unique". For generated API pb files, Kubernetes uses
"k8s.io.api.<api group>.<version>". The same approach is now used for the
kubelet DRA v1beta1 API. This can be changed without a breaking change because
the API is still unreleased.

This avoids a conflict between the DevicePlugin and the DRA API when both get
used by kubelet:

    2024/11/10 12:51:40 proto: duplicate proto type registered: v1beta1.Device

The exact impact of that conflict is unknown but it seems better to
pro-actively avoid the problem.
2024-11-12 18:06:50 +01:00
Kubernetes Prow Robot
8115baca00
Merge pull request #128666 from macsko/fix_scale_down_in_eventhandlingpodupdate_scheduler_perf_test_case
Fix pod scale down failure in EventHandlingPodUpdate scheduler_perf test
2024-11-12 16:28:47 +00:00