Commit Graph

127357 Commits

Author SHA1 Message Date
Patrick Ohly
e0e4af8a58 prune-junit-xml: smarter concatenation when pruning tests
Repeating the same "Failed" message text doesn't add any
information. Separating with a blank line is more readable.

Before:

    <failure message="Failed; Failed; Failed" type="">
       ...
       --- FAIL: TestFrontProxyConfig/WithoutUID (64.89s) ; === RUN TestFrontProxyConfig/WithUID

After:

    <failure message="Failed" type="">
       ...
       --- FAIL: TestFrontProxyConfig/WithoutUID (64.89s)

       === RUN TestFrontProxyConfig/WithUID
2024-12-02 11:17:57 +01:00
HirazawaUi
53e9f29d29 Fix kubelet e2e tests incorrect message 2024-12-01 22:45:29 +08:00
Kensei Nakada
8f4e425daf
chore: ignore dat files generated by scheduler-perf 2024-11-30 22:23:15 +09:00
Penghao
9e99be7c2b Fix: typos for volume package 2024-11-29 17:11:00 +08:00
Antonio Ojea
e5ebbdc3c7 Ignore internal packages messages 2024-11-29 07:29:46 +00:00
zhifei92
27608fa25d refactor(scheduler): Rename UpdatePodTolerations for code style consistency. 2024-11-29 13:13:09 +08:00
Kubernetes Prow Robot
810e9e212e
Merge pull request #129019 from cpanato/update-rules
Update publishing-bot rules to Go 1.22.9 for the active release branches
2024-11-28 19:22:57 +00:00
Antonio Ojea
f92bde1894 parallalize the apidiff dump 2024-11-28 18:20:07 +00:00
Antonio Ojea
affafd906d improve report on failures summarizing the modules with incompatible changes 2024-11-28 18:20:04 +00:00
Antonio Ojea
7de94d43ca handle the case when modules are added or removed
don't compare modules that didn't or doesn't exist
2024-11-28 18:19:18 +00:00
Antonio Ojea
52386915a8 use relative paths and modules that are not visible to golagn workspaces 2024-11-28 18:19:12 +00:00
Antonio Ojea
e6fccc36d8 apidiff support internal go modules
The kubernetes repository contains some internal golang modules that are
not part of the golang global workspace. Because apidiff is currently
run from the root of the repository, it does not work against this
internal modules.

Instead of executing apidiff from the root we can just cd into the
passed path of the module to avoid this limitation.
2024-11-28 15:43:09 +00:00
cpanato
823cd76162
Update publishing-bot rules to Go 1.22.9 for the active release branches
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-11-28 15:00:08 +01:00
Ondrej Kokes
6f06cd6e05 Do not reload kubeconfig from disk
When `kubeadm init phase bootstrap-token` gets invoked, it reads
the kubeconfig from disk repeatedly. This is wasteful, but, more
importantly, it blocks the use of `/dev/stdin` and other sources
of data that cannot be read repeatedly.

This change introduces a new field that caches a parsed kubeconfig
and when a new clientset is requested, it is converted from
this pre-parsed kubeconfig, the code no longer reaches out to disk.
2024-11-27 16:44:51 +01:00
Kubernetes Prow Robot
95d71c464a
Merge pull request #128990 from dims/update-publishing-bot-rules-for-release-1.32
staging/publishing: add release-1.32 branch
2024-11-27 15:14:56 +00:00
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
Benjamin Elder
a43b00b429 make test-cmd: use kube::util::find-binary to get kubeadm binary
fixes finding the binary when dockerized builds vs host builds
2024-11-26 17:33:44 -08:00
Davanum Srinivas
2ca4217a38
staging/publishing: add release-1.32 branch
```
update-rules --branch release-1.32 --rules staging/publishing/rules.yaml --o staging/publishing/rules.yaml
```

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-11-26 19:40:13 -05:00
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