Commit Graph

127243 Commits

Author SHA1 Message Date
Nick Baker
22e84c9abf fix(kubelet): acquire imageRecordsLock when removing image 2025-05-01 21:55:23 -07:00
Kubernetes Release Robot
d5df907c3c Update CHANGELOG/CHANGELOG-1.32.md for v1.32.4 2025-04-22 16:22:00 +00:00
Kubernetes Release Robot
59526cd486 Release commit for Kubernetes v1.32.4 2025-04-22 15:56:13 +00:00
Kubernetes Prow Robot
bf1fded1f9
Merge pull request #130773 from JoelSpeed/automated-cherry-pick-of-#130450-kubernetes-release-1.32
Cherry pick of "Fix implementation of ContainsCIDR to allow non-equal addresses" on release-1.32
2025-04-17 11:03:14 -07:00
Kubernetes Prow Robot
0b7ab453ce
Merge pull request #130684 from carlory/automated-cherry-pick-of-#130335-upstream-release-1.32
Automated cherry pick of #130335: Fix kubelet restart unmounts volumes of running pods if the referenced PVC is being deleted by the user
2025-04-17 11:03:07 -07:00
Kubernetes Prow Robot
35716897a3
Merge pull request #131159 from wojtek-t/automated-cherry-pick-of-#131020-upstream-release-1.32
Automated cherry pick of #131020: Fix race for sending errors in watch
2025-04-17 09:21:07 -07:00
Wojciech Tyczyński
7b326a9511 Fix race for sending errors in watch 2025-04-03 08:46:13 +01:00
Kubernetes Prow Robot
cdc807a9e8
Merge pull request #131154 from neolit123/automated-cherry-pick-of-#131153-origin-release-1.32
Automated cherry pick of #131153: CHANGELOG-1.32: fix release note about kubeadm upgrade phases
2025-04-02 04:36:47 -07:00
Lubomir I. Ivanov
b5f6d82ff5 CHANGELOG-1.32: fix release note about kubeadm upgrade phases
We forgot to mention that users who skipped addon phases
during 'init' now have to skip the same phases during 'upgrade'.
2025-04-02 13:20:20 +03:00
Joel Speed
01b87d211f
Fix implementation of ContainsCIDR to allow non-equal addresses 2025-03-13 09:39:16 +00:00
Kubernetes Release Robot
a0ad8fb28a Update CHANGELOG/CHANGELOG-1.32.md for v1.32.3 2025-03-11 20:15:04 +00:00
Kubernetes Release Robot
32cc146f75 Release commit for Kubernetes v1.32.3 2025-03-11 19:52:20 +00:00
carlory
e3daed8734 fix handle terminating pvc when kubelet rebuild dsw
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-03-10 18:59:14 +08:00
carlory
ef4a6f9833 fix e2e
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-03-10 18:59:14 +08:00
carlory
ad0c8a10e4 add e2e test to reproduce unexpected unmount after kubelet is restarted
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-03-10 18:59:14 +08:00
Kubernetes Prow Robot
1b7bbcf2f5
Merge pull request #130508 from cici37/automated-cherry-pick-of-#130035-upstream-release-1.32
Automated cherry pick of #130035: [KEP-5080]Ordered Namespace Deletion
2025-03-07 22:45:45 -08:00
Cici Huang
b6fd7487fa Update status before returning err 2025-03-06 11:01:10 -08:00
Kubernetes Prow Robot
d2dbce82b9
Merge pull request #130563 from bitoku/automated-cherry-pick-of-#130097-upstream-release-1.32
Automated cherry pick of #130097: Modify how to check the status in PodRejectionStatus test
2025-03-06 04:04:03 -08:00
Kubernetes Prow Robot
b245ae997e
Merge pull request #130496 from sreeram-venkitesh/automated-cherry-pick-of-#129946-upstream-release-1.32
Automated cherry pick of #129946: fix(pod/util): fix typo in getting pod validation options
2025-03-06 04:03:56 -08:00
Kubernetes Prow Robot
d18b6d9d68
Merge pull request #130461 from kariya-mitsuru/automated-cherry-pick-of-#130405-upstream-release-1.32
Automated cherry pick of #130405: Add Watch to controller roles
2025-03-06 04:03:49 -08:00
Kubernetes Prow Robot
e6a89a28f3
Merge pull request #130313 from neolit123/automated-cherry-pick-of-#130202-origin-release-1.32
Automated cherry pick of #130202: kubeadm: fix panic when no UpgradeConfiguration was found in the config file
2025-03-05 16:35:45 -08:00
Ayato Tokubi
31c7235f4c Modify how to check the status
Signed-off-by: Ayato Tokubi <atokubi@redhat.com>
2025-03-04 16:05:35 +00:00
Cici Huang
8636d1b427 Add the feature gate OrderedNamespaceDeletion for apiserver. 2025-03-03 13:40:33 -08:00
Kubernetes Prow Robot
8516520fff
Merge pull request #130109 from varad-ahirwadkar/automated-cherry-pick-of-#129114-upstream-release-1.32
Automated cherry pick of #129114: kubelet: fix DRA registration test
2025-03-03 13:09:43 -08:00
Kubernetes Prow Robot
8207fb465f
Merge pull request #129690 from pohly/automated-cherry-pick-of-#129661-origin-release-1.32
Automated cherry pick of #129661: DRA CEL: add missing size estimator
2025-03-03 05:21:16 -08:00
Kubernetes Prow Robot
b0554e32c7
Merge pull request #130505 from aojea/automated-cherry-pick-of-#130484-upstream-release-1.32
Automated cherry pick of #130484: conntrack reconciler must check the dst port
2025-03-03 03:59:16 -08:00
Antonio Ojea
2a60692f5b conntrack reconciler must check the dst port
The conntrack reconciler maintains the consistency between the
conntrack table on each node and the desired state of Kubernetes UDP services.

A valid entry matches a service's ClusterIP, LoadBalancerIP, or ExternalIP and Service port,
or any ip matching a NodePort, and has a reverse source IP matching an active endpoint for
that service. Other entries are deleted.

Services without endpoints and traffic not handled by kube-proxy are ignored

Co-authored-by: Daman Arora <aroradaman@gmail.com>
2025-02-28 22:47:53 +00:00
Alex Petrov
642b0eae3d fix(pod/util): typos in getting pod validation options
Before, containers with the PostStart sleep lifecycle hook would cause
null pointer panics due to a typo in the field name being checked. This
commit fixes that.

The check also needs to be done on the oldPodSpec, rather than the
podSpec, so that existing workloads which use the zero value continue
functioning in the same way.
2025-02-28 22:19:00 +05:30
Mitsuru Kariya
dbf78217a1
Add Additional Tests
Added tests to check that if NodeRules, ClusterRoles, and NamespaceRoles
include `List`, it also include `Watch`.

Signed-off-by: Mitsuru Kariya <mitsuru.kariya@nttdata.com>
2025-02-27 10:53:15 +09:00
Mitsuru Kariya
1d3fafa1c7
Fix typo
Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
2025-02-27 10:53:14 +09:00
Mitsuru Kariya
7826934ada
Add ControllerRoles Test
Added a test to check that if a controller role includes `List`, it also includes `Watch`.

Signed-off-by: Mitsuru Kariya <mitsuru.kariya@nttdata.com>
2025-02-27 10:53:14 +09:00
Mitsuru Kariya
019c9b4d2d
Fix Fixture Data
I apologize, the Fixture Data modifications were missed.

Signed-off-by: Mitsuru Kariya <mitsuru.kariya@nttdata.com>
2025-02-27 10:53:14 +09:00
Mitsuru Kariya
549220b61e
Add Watch to controller roles
Starting from version 1.32, the client feature `WatchListClient` has been
set to `true` in `kube-controller-manager`.
(commit 06a15c5cf9)

As a result, when the `kube-controller-manager` executes the `List` method,
it utilizes `Watch`. However, there are some existing controller roles that
include `List` but do not include `Watch`. Therefore, when processes using
these controller roles execute the `List` method, `Watch` is executed first,
but due to permission errors, it falls back to `List`.

This PR adds `Watch` to the controller roles that include `List` but do not
include `Watch`.

The affected roles are as follows (prefixed with `system:controller:`):

- `cronjob-controller`
- `endpoint-controller`
- `endpointslice-controller`
- `endpointslicemirroring-controller`
- `horizontal-pod-autoscaler`
- `node-controller`
- `pod-garbage-collector`
- `storage-version-migrator-controller`

Signed-off-by: Mitsuru Kariya <mitsuru.kariya@nttdata.com>
2025-02-27 10:53:13 +09:00
Kubernetes Prow Robot
0821aa2308
Merge pull request #130165 from mimowo/automated-cherry-pick-of-#130164-upstream-release-1.32
Automated cherry pick of #130164: Deflake the PodReplacementPolicyFeatureToggling Job integration test
2025-02-25 12:08:37 -08:00
Kubernetes Prow Robot
403f0ce511
Merge pull request #130070 from mimowo/automated-cherry-pick-of-#130068-upstream-release-1.32
Automated cherry pick of #130068: Fix the flaky Job test: TestSuccessPolicy_ReEnabling
2025-02-25 12:08:30 -08:00
Kubernetes Prow Robot
85ff7928f4
Merge pull request #130356 from aojea/automated-cherry-pick-of-#130348-upstream-release-1.32
Automated cherry pick of #130348: Revert "Add random interval to nodeStatusReport interval every time after an actual node status change"
2025-02-24 16:50:28 -08:00
Kubernetes Prow Robot
53a53b7f62
Merge pull request #130392 from mrIncompetent/automated-cherry-pick-of-#129307-upstream-release-1.32
Automated cherry pick of #129307: Add missing imports in register-gen
2025-02-24 11:34:29 -08:00
Kubernetes Prow Robot
f0100b2b68
Merge pull request #130136 from AwesomePatrol/automated-cherry-pick-of-#130113-upstream-release-1.32
Automated cherry pick of #130113: Make ResourceQuota LIST requests only when Informer is not synced
2025-02-24 07:58:28 -08:00
Kubernetes Prow Robot
ea73dad549
Merge pull request #130332 from richabanker/automated-cherry-pick-of-#129996-upstream-release-1.32
Automated cherry pick of #129996: fix: apiserver flagz to response actual parsed flags
2025-02-24 06:44:28 -08:00
Lionel Jouin
1c07a39847
fix copyright year
Signed-off-by: Lionel Jouin <lionel.jouin@est.tech>
2025-02-24 11:43:29 +01:00
Henrik Schmidt
849aa0858f
Generate register files for all examples
(cherry picked from commit b365634a0d0b2456e918729a9e4b1a4950902dc9)
2025-02-24 11:41:32 +01:00
Lionel Jouin
6ad9199528
add simpletype pkg in v1 for register-gen test
Signed-off-by: Lionel Jouin <lionel.jouin@est.tech>
2025-02-24 11:41:32 +01:00
Lionel Jouin
5fa72a8c1d
Add codegen::register to hack/update-codegen.sh
Co-authored-by: Joe Betz <jpbetz@google.com>
Signed-off-by: Lionel Jouin <lionel.jouin@est.tech>
2025-02-24 11:40:42 +01:00
Lionel Jouin
c05e46c163
Add missing imports in register-gen
Due to a recent change in k8s.io/gengo/v2, the register-gen is
missing 2 imports.The imports were previously auto inserted during
the code generation by k8s.io/gengo/v2.
Now, instead, they are directly imported by the register-gen.

An output_tests has been added to register-gen. This generates an
example, which would have been invalid with these changes.

Signed-off-by: Lionel Jouin <lionel.jouin@est.tech>
2025-02-24 11:40:42 +01:00
Antonio Ojea
4c2a0b85f8 Revert "Add random interval to nodeStatusReport interval every time after an actual node status change" 2025-02-21 23:45:41 +00:00
Richa Banker
99eedea5cc Remove the feature-gate check before populating serverRunOptions.Flagz 2025-02-20 19:33:34 -08:00
yongruilin
a0eb3acf30 test: Add emulated-version flag verification in flagz test 2025-02-20 18:54:51 -08:00
yongruilin
8b3a93b843 fix: flagz endpoint to return parsed flags value 2025-02-20 18:54:04 -08:00
SataQiu
412c353d05 kubeadm: fix panic when no UpgradeConfiguration was found in the config file 2025-02-20 15:22:01 +02:00
Kubernetes Prow Robot
dce86010a0
Merge pull request #130034 from aroradaman/automated-cherry-pick-of-#130032-upstream-release-1.32
Automated cherry pick of #130032: Conntrack memory leak fix
2025-02-19 08:38:27 -08:00