Commit Graph

127442 Commits

Author SHA1 Message Date
Kubernetes Release Robot
0e1abc4d18 CHANGELOG: Update directory for v1.32.0-rc.0 release 2024-11-26 16:47:58 +00:00
googs1025
65b243fcd6 chore: remove repeated scheduler prefix metrics for CacheSizeMetrics 2024-11-26 14:26:07 +08:00
zhikuodu
3195883831 UnitTest: kube-proxy EndpointSliceCache cleared correctly
Signed-off-by: zhikuodu <duzhk@qq.com>
2024-11-26 10:36:02 +08:00
zhikuodu
78b440a74a Fixed: kube-proxy EndpointSliceCache memory is leaked
Signed-off-by: zhikuodu <duzhk@qq.com>
2024-11-26 10:21:33 +08: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
Jon Huhn
05ebf45114 e2e: wrap DRA ResourceQuota Forbidden claim check in gomega.Eventually 2024-11-25 12:31:45 -06:00
Jordan Liggitt
eb6bb5f84d
Record dataTimestamp as float 2024-11-25 12:01:28 -05:00
Jordan Liggitt
26c08dde52
Wait for updated keys to be observed 2024-11-25 11:55:20 -05:00
dom4ha
67b74696f8 Adjust performance test threshold limits 2024-11-25 15:07:15 +00:00
Arda Güçlü
8312c3ec24 Use generic Contains rather than deprecated ContainsString 2024-11-25 11:30:04 +03:00
Kensei Nakada
89e23dd038 fix(e2e): retry on conflict when deleting extended resource 2024-11-24 16:46:18 +09: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
Tim Allclair
7c3a9d65fc Don't set default resize policy in E2E tests 2024-11-21 09:54:37 -08:00
Tim Allclair
da4dc0aec7 Stop defaulting container ResizePolicy 2024-11-21 09:51:31 -08:00
Jordan Liggitt
3baa6f08c0
Add modern-go libraries to unwanted dependencies 2024-11-21 11:25:44 -05: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
Dan Winship
b63593715f Test EndpointSlice in dual-stack e2e tests 2024-11-21 08:42:54 -05:00
Justyna Betkier
9dbdfe7ecb Remove provider specific operations from the autoscaling tests and reintroduce the tests.
Note that these tests will take now more time to run as they are relying on the scale up and scale down to prepare the test case and restore the cluster state.

Remove all the gke and gce specific tests including:
- GPUs
- volumes (no way to provision volumes without provider specific
  infrastructure)
- scale up/down from/to 0
- tests checking what happens after breaking nodes (no way to simulate
  temporary network failure without provider assumptions)

Remove the scalability tests that were not run and unmaintained.

Update the autoscaler version that is used by the tests.

Update the autoscaler status parsing logic for the tests to pass with
newer version of autoscaler.
2024-11-21 13:46:51 +01:00
Arda Güçlü
c3f15fd707 Use generic sets rather than deprecated sets.String 2024-11-21 13:41:14 +03:00
Kensei Nakada
bfea4890c5 cleanup: remove pod_scheduling_duration_seconds 2024-11-21 17:54:31 +09:00
champly
4a876e21bc fix: params typo
Signed-off-by: champly <champly@outlook.com>
2024-11-21 11:10:48 +08: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
Keerthan Reddy Mala
7e977d824c update the github.com/golang-jwt/jwt/v4 dependency 2024-11-20 10:53:05 -08:00
Keisuke Ishigami
dd1300df98 📝 output log when server shutdown is failed 2024-11-21 00:58:27 +09:00
Antonio Ojea
7280d58f85
Don't allow to tolerate flakes
We have zero flake policy for a long time now (> 1 year) https://github.com/kubernetes/community/pull/7538, however , there are some places that are still tolerating flakes and retrying 

Flakes does not help,  to the point that when we have to take a hard decision it creates more iuncertainty.

It does not matter how, we should be always able to deal with flakes:
- if the software or algorithm is racy, we need to work to make deterministic
- if is deterministic, the test must be deterministic
- if the test is determinist but it depends on the environment, then we work on making the environment deterministci
2024-11-20 16:40:03 +01: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
modulitos
b577972a55
set user.DefaultInfo.UID from x509 cert 2024-11-20 00:44:26 -08: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
Mariam Fahmy
f87bcd9b3a
fix: remove duplicated unit tests in JSONPatch and ApplyConfiguration
Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
2024-11-19 15:42:29 +02:00
Adrian Moisey
90922f5c94
Fix linting issue in test
Lint error was introduced in
https://github.com/kubernetes/kubernetes/pull/128305 and backported in https://github.com/kubernetes/kubernetes/pull/128806

It was merged before I could fix it, so I thought I'd make a follow up
PR to fix it.

I won't be backporting this lint as it's only in tests (unless it makes
sense to backport?)
2024-11-19 12:20:02 +02: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
Richa Banker
2581d2fadd Add self to sig-instrumentation leads 2024-11-18 14:58:34 -08:00
Walter Fender
588408df1c Bump konnectivity-client to v0.31.1
Bump konnectivity-client to v0.31.1
Includes a feature which allows KNP server count to be determined by
lease.
2024-11-18 14:10:03 -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
xin.li
36f9ee958e proxy/util: remove unused function
Signed-off-by: xin.li <xin.li@daocloud.io>
2024-11-18 19:40:52 +08: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
Abhishek Kr Srivastav
179fa16f46 Remove user privilege checks from preflight tests 2024-11-15 19:52:27 +05:30
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
googs1025
c725e18e07 feature(scheduler): more fine-grained QHints for interpodaffinity plugin 2024-11-14 20:00:38 +08:00