Commit Graph

129738 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
288b044e0f Merge pull request #131609 from googs1025/scheduler_AdmissionCheck
fix(scheduler): node pre-check logic to consider NoExecute taint effect
2025-05-06 06:03:20 -07:00
Kubernetes Prow Robot
d2507bb01a Merge pull request #130806 from hakuna-matatah/master
Optimize Statefulset Controller Performance: Reduce Work Duration Time & Minimize Cache Locking.
2025-05-06 06:03:13 -07:00
Kubernetes Prow Robot
73b5f84cb6 Merge pull request #131487 from hshiina/dedup-cgroup-verification
e2e: Deduplicate cgroup verification
2025-05-06 04:03:17 -07:00
Kubernetes Prow Robot
71f0fc6e72 Merge pull request #131593 from gnufied/check-for-recovery-related-fields
Check for newer resizing related fields after expansion is successful
2025-05-05 20:57:14 -07:00
Kubernetes Prow Robot
3f80863807 Merge pull request #131559 from jpbetz/fix-unstructured-to-val-equality
Fix UnstructuredToVal map equality to respect nil fields
2025-05-05 19:53:20 -07:00
Kubernetes Prow Robot
07704ee9b1 Merge pull request #131399 from thockin/kk_realType
Fixes for bad handling of pointers and aliases in validation
2025-05-05 19:53:13 -07:00
Kubernetes Prow Robot
4c0233b95c Merge pull request #131264 from tallclair/container-util
Add ContainerIter utility for ranging over pod containers
2025-05-05 14:02:48 -07:00
Kubernetes Prow Robot
5bb3aa3604 Merge pull request #131602 from adrianmoisey/bump_cni
Update CNI plugins to v1.7.1
2025-05-05 12:21:57 -07:00
Hemant Kumar
36685c6f1c Add information about expected status 2025-05-05 14:40:06 -04:00
googs1025
6c89041043 fix(scheduler): node pre-check logic to consider NoExecute taint effect
Signed-off-by: googs1025 <googs1025@gmail.com>
2025-05-05 22:08:05 +08:00
Kubernetes Prow Robot
2ac0bdf360 Merge pull request #131568 from gnufied/disable-size-checking-needs-resize
Disable size checking performed during resize
2025-05-05 06:49:58 -07:00
Kubernetes Prow Robot
b63fe3d667 Merge pull request #131603 from pohly/agnhost-update
test: bump agnhost image to 2.54
2025-05-05 05:43:58 -07:00
Patrick Ohly
5af026120a test: bump agnhost image to 2.54
YAML files were patched with:
   sed -i -e 's;registry.k8s.io/e2e-test-images/agnhost:2...;registry.k8s.io/e2e-test-images/agnhost:2.54;' $(git grep -l agnhost:2 test/e2e/testing-manifests/ test/fixtures/)

The test/images/kitten and test/images/nautilus base images are still on an
older agnhost because updating those is better left to the owners.
2025-05-05 08:25:20 +02:00
Kubernetes Prow Robot
893486dfd1 Merge pull request #131586 from ardaguclu/kuberc-completion
Continue alias creation when __completion is used to enable completion
2025-05-04 22:21:56 -07:00
Kubernetes Prow Robot
c87ed899e6 Merge pull request #131378 from cuishuang/master
fix: Fix non-constant format string in framework.Logf call
2025-05-04 19:31:56 -07:00
Kubernetes Prow Robot
359f36dfe0 Merge pull request #131420 from simonfogliato/kuberuntime-termination-order-test
Fix flake in test when run with stress on pkg/kubelet/kuberuntime TestTerminationOrderingSidecarsInReverseOrder.
2025-05-04 15:32:08 -07:00
Kubernetes Prow Robot
35b4016d22 Merge pull request #131170 from azych/fix_goroutine_leak
Fix goroutine leak
2025-05-04 15:32:02 -07:00
Kubernetes Prow Robot
f8a6707c03 Merge pull request #131085 from kayrus/exclude-nodes
[cloud-provider] respect the "exclude-from-external-load-balancers=false" label
2025-05-04 15:31:55 -07:00
Adrian Moisey
e5ffec242a Bump CNI to 1.7.1 2025-05-04 20:27:09 +02:00
Kubernetes Prow Robot
0b8133816b Merge pull request #131477 from pohly/golangci-lint@v2
golangci-lint v2
2025-05-02 23:03:55 -07:00
Kubernetes Prow Robot
7b717f262d Merge pull request #131594 from BenTheElder/shell
verify-shellcheck cleanup
2025-05-02 20:37:55 -07:00
Kubernetes Prow Robot
e3e1f80c01 Merge pull request #131595 from aojea/utils_fake_clock
update k8s.io/utils to bring fakeClock.Waiters()
2025-05-02 19:30:02 -07:00
Kubernetes Prow Robot
35f46a9d04 Merge pull request #131588 from pohly/agnhost-pause-output
agnhost pause: report signal, support termination message
2025-05-02 19:29:55 -07:00
Kubernetes Prow Robot
43a5c18eba Merge pull request #131574 from enj/enj/t/oidc_cel_unescape
jwt: support CEL expressions with escaped names
2025-05-02 16:29:57 -07:00
Antonio Ojea
c2c003a71f update k8s.io/utils to bring fakeClock.Waiters()
Change-Id: I7e25338df225c2c27457403fbc2f158d08638f87
2025-05-02 23:11:30 +00:00
Benjamin Elder
b3bf5ed0ee verify-shellcheck.sh: normalize KUBE_ROOT using pwd -P 2025-05-02 15:33:07 -07:00
Benjamin Elder
a1a6208863 use the minimal shellcheck image instead
we don't need any other utils in the image the way the script is currently written, other utils are just a vuln-patch waiting to happen, and make the download larger
2025-05-02 15:33:07 -07:00
Kubernetes Prow Robot
01899a7c86 Merge pull request #130989 from liggitt/creationTimestamp-omitzero
Omit null creationTimestamp
2025-05-02 15:17:58 -07:00
Benjamin Elder
e0983dbee8 remove unused shell imports in verify-shellcheck 2025-05-02 14:23:49 -07:00
Monis Khan
7b50c8a510 jwt: support CEL expressions with escaped names
This is purely for consistency with other uses of CEL in the
project.  Using `[` for accessing claims or user data is preferred
when names contain characters that would need to be escaped.  CEL
optionals via `?` can be used in places where `has` cannot be used,
i.e. `claims[?"kubernetes.io"]` or `user.extra[?"domain.io/foo"]`.

Signed-off-by: Monis Khan <mok@microsoft.com>
2025-05-02 17:18:24 -04:00
Hemant Kumar
784c589a77 Check for newer resizing related fields after expansion is successful 2025-05-02 16:29:04 -04:00
Jordan Liggitt
6bb6c99342 Drop null creationTimestamp from test fixtures 2025-05-02 15:38:40 -04:00
Jordan Liggitt
41805aff91 Update runtime convertor to honor IsZero() 2025-05-02 15:38:40 -04:00
Jordan Liggitt
bc60517171 bump cbor to add omitzero support 2025-05-02 15:38:38 -04:00
Jordan Liggitt
06b0784062 bump structured-merge-diff to add omitzero support 2025-05-02 15:38:38 -04:00
Jordan Liggitt
fdf0bb41a4 Omit null metadata.creationTimestamp 2025-05-02 15:38:37 -04:00
Kubernetes Prow Robot
72ffb70d3e Merge pull request #131587 from neolit123/1.34-use-named-port-for-coredns-probes
kubeadm: use named ports for coredns probes
2025-05-02 11:38:02 -07:00
Kubernetes Prow Robot
a931fc57aa Merge pull request #131585 from pohly/dra-e2e-no-terminationgraceperiod
DRA e2e: avoid terminationGracePeriodSeconds
2025-05-02 11:37:55 -07:00
Kubernetes Prow Robot
9549613361 Merge pull request #131584 from wjiec/chore/ingress-validating
Remove redundant Required validation for IngressRules
2025-05-02 09:15:56 -07:00
Patrick Ohly
79891eac8b agnhost: bump version to 2.54 2025-05-02 17:27:34 +02:00
Kubernetes Prow Robot
ef239ae62b Merge pull request #131029 from liggitt/to-unstructured-stdlib
Make ToUnstructured match stdlib omitempty and anonymous behavior
2025-05-02 08:07:55 -07:00
Jordan Liggitt
09912f3521 Make ToUnstructured match stdlib omitempty and anonymous behavior 2025-05-02 10:03:51 -04:00
Kubernetes Prow Robot
e61430919e Merge pull request #131431 from black-dragon74/apps-v1b2-typo
api: Fix typo in word "immediately"
2025-05-02 06:44:04 -07:00
Kubernetes Prow Robot
0b3648a97f Merge pull request #130179 from mfahlandt/contribex-leadership-change
Updates chairs for SIG ContribEx
2025-05-02 06:43:57 -07:00
jayson wang
49f765e2b3 Remove redundant Required validation for IngressRules 2025-05-02 20:56:29 +08:00
Patrick Ohly
c78556fb4b agnhost pause: report signal, support termination message
Which signal really cause the pause command to exit may be relevant to know.

By supporting the default /dev/termination-log, that information also shows up
in the pod status and then is often already shown in output of E2E tests for
unexpected pod failures.
2025-05-02 14:46:56 +02:00
Lubomir I. Ivanov
a6549edd1a kubeadm: use named ports for coredns probes
This is done for consistency as the coredns deployment already
had named ports.
2025-05-02 15:41:01 +03:00
Patrick Ohly
0faeb5a0d0 golangci-lint: move into hack/tools/golangci-lint
The advantage is that it separates the dependencies of the different tools
better. golangci-lint in particular has many dependencies and is sometimes
sensitive to the exact version being used. This way, "go get" bumps up
dependencies exactly as defined by the upstream golangci-lint module.

It's not quite self-contained because logcheck as a Go plugin for golangci-lint
must be built from the same dependencies. But it only adds one and does not
change any of the others.

While at it, the Go 1.24 "tools" directive gets used instead of the traditional
tools.go approach.
2025-05-02 14:38:09 +02:00
Patrick Ohly
5d9a2f30f2 golangci-lint: finish migration to v2
This finishes the work started in
https://github.com/kubernetes/kubernetes/pull/131113.

Changes:
- Remove TODOs for things that we don't have plans to fix.
- Add issue for older TODO.
- Reorganize and remove suppression rules so that the base check
  has no unused rules.
- Document warn-unused, but don't enable it.
- Remove disabling of statistics (they are useful) and ensure that
  they don't get the ERROR prefix.
- Avoid ../ prefix in paths via `run.relative-path-mode: gomod`.
2025-05-02 14:38:09 +02:00
Patrick Ohly
9bada79de1 DRA node test: fix useless gomega.Consistently
Passing a constant value to gomega.Consistently means that it will not re-check
while running.

Found by linter after removing the suppression rule for the check. It was
disabled earlier because of a bug in the linter.
2025-05-02 12:51:02 +02:00