Commit Graph

122128 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
e9d1580ab5
Merge pull request #127603 from haitch/haitao/k130-on-go111p7
[release 1.30] bump go to 1.22.7
2024-10-03 16:04:28 +01:00
Haitao Chen
3bf7f842eb bump go to 1.22.7 2024-09-24 11:30:56 -07:00
Kubernetes Prow Robot
6d0fd144a6
Merge pull request #127346 from yuyabee/automated-cherry-pick-of-#127333-upstream-release-1.30
Automated cherry pick of #127333: Add activeDeadlineSeconds to kubeadm upgrade-health-check job
2024-09-24 01:30:00 +01:00
Kubernetes Prow Robot
f87721143c
Merge pull request #127452 from swetharepakula/automated-cherry-pick-of-#127417-origin-release-1.30
Automated cherry pick of #127417: bugfix: endpoints controller track resource version
2024-09-19 22:43:52 +01:00
Yang Yang
47c8669c0c bugfix: endpoints controller track resource version conrrectly
The endpoints controller store the resource version of the previous
Endpoints objects to avoid issues related to stale information on the
cache.

However, there can be update operations that succeed without increasing
the resource version, causing the endpoints controller to declare stale
the existing Resource Version and stopping the Endpoints to be updated.

Co-Author-By: Quan Tian <quan.tian@broadcom.com>
Co-Author-By: Yang Yang <yyyng@amazon.com>
2024-09-18 11:09:17 -07:00
Antonio Ojea
9844402a90 define some default kube-apiserver flags for tests disabling unneded controllers 2024-09-18 11:09:17 -07:00
Kubernetes Prow Robot
c09e4b2b0f
Merge pull request #127414 from saschagrunert/automated-cherry-pick-of-#127151-base-release-1.30
Automated cherry pick of #127151: Remove `socat` and `ebtables` from kubeadm preflight checks
2024-09-18 09:36:46 +01:00
Sascha Grunert
a82c315d28
Remove socat and ebtables from kubeadm preflight checks
Follow-up on https://github.com/kubernetes/release/pull/3722

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-09-17 11:47:46 +02:00
Yuya Yabe
7d80a596f3 Add activeDeadlineSeconds to kubeadm upgrade-health-check job
With https://github.com/kubernetes/kubernetes/pull/122079,
kubeadm now relies on `ttlSecondsAfterFinished` to clean
up `upgrade-health-check` once its pod reaches a terminal state.
However, there is a case where the pod won't reach a terminal state and
the job will not register a terminal state, hence no garbage collection.

For example, if the pause image is not present, `ErrImagePull` will make
the pod keep retrying to pull the image and the pod will never reach a
terminal state on its own. And the job will continue to wait for the pod
to reach a terminal state which will not happen.

So we need to set `activeDeadlineSeconds` to prevent the job from
waiting forever for the pod to reach a terminal state.

Without this, users invoking `kubeadm upgrade plan` need to cleanup the
job outside of kubeadm even if they ignore the preflight result because
the job still runs when the result is configured to be ignored via
`--ignore-prelight-errors=CreateJob` flag.

Since the timeout for the polling in the `CreateJob` step in kubeadm
is 15 seconds, we should set the `activeDeadlineSeconds` to the same
timeout.
2024-09-13 14:24:51 +00:00
Kubernetes Prow Robot
753dcce180
Merge pull request #127307 from dims/automated-cherry-pick-of-#126353-upstream-release-1.30
Automated cherry pick of #126353: Fix verify-vendor script to check all go.mod and go.sum files
2024-09-13 03:15:12 +01:00
Kubernetes Release Robot
cb805766a8 Update CHANGELOG/CHANGELOG-1.30.md for v1.30.5 2024-09-12 00:33:42 +00:00
Kubernetes Release Robot
74e84a90c7 Release commit for Kubernetes v1.30.5 2024-09-12 00:11:54 +00:00
Davanum Srinivas
a361ec621b run update-vendor.sh and fix up broken go.sum(s) 2024-09-11 23:19:37 +00:00
Jordan Liggitt
074f925951 Fix verify-vendor script to check all go.mod and go.sum files 2024-09-11 21:55:19 +00:00
Kubernetes Prow Robot
36be79bd21
Merge pull request #127213 from SergeyKanzhelev/automated-cherry-pick-of-#126543-upstream-release-1.30
Automated cherry pick of #126543: Restart the init container to not be stuck in created state
2024-09-09 22:01:38 +01:00
Kubernetes Prow Robot
a622d8577d
Merge pull request #127208 from SergeyKanzhelev/automated-cherry-pick-of-#126343-upstream-release-1.30
Automated cherry pick of #126343: Terminated pod should not be re-admitted
2024-09-09 22:01:29 +01:00
Kubernetes Prow Robot
b38c75f66f
Merge pull request #127203 from SergeyKanzhelev/automated-cherry-pick-of-#127162-upstream-release-1.30
Automated cherry pick of #127162: Avoid SidecarContainers code path for non-sidecar pods
2024-09-09 20:52:02 +01:00
Gunju Kim
cd83ff032c Restart the init container to not be stuck in created state
The main sync loop should have created and started the container in one
step. If the init container is in the 'created' state, it's likely that
the container runtime failed to start it. To prevent the container from
getting stuck in the 'created' state, restart it.
2024-09-06 20:01:02 +00:00
Sergey Kanzhelev
fb12738689 succeeded pod is being re-admitted 2024-09-06 18:28:46 +00:00
Gunju Kim
8b9d815f27 Avoid SidecarContainers code path for non-sidecar pods
This fixes a regression in the SidecarContainers feature by minimizing
the impact of the new code path. Use the old code path for pods without
restartable init containers, and apply the new code path only to pods
with restartable init containers.
2024-09-06 16:37:46 +00:00
Kubernetes Prow Robot
e33ca0de16
Merge pull request #126395 from bzsuni/automated-cherry-pick-of-#126240-#126242-upstream-release-1.30
Automated cherry pick of #126240: Update etcd from v3.5.14 to v3.5.15
#126242: Build etcd image of v3.5.15
2024-09-04 14:21:13 +01:00
Kubernetes Prow Robot
e53bb36f9e
Merge pull request #127067 from atiratree/automated-cherry-pick-of-#126920-upstream-release-1.30
Automated cherry pick of #126920: add missing RBAC to statefulset-controller for StatefulSetAutoDeletePVC feature
2024-09-04 08:14:46 +01:00
bzsuni
f3c9c3ee0e Build etcd image of v3.5.15
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2024-09-04 14:06:50 +08:00
bzsuni
3824a453e5 Update etcd from v3.5.14 to v3.5.15
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2024-09-04 14:06:47 +08:00
Filip Křepinský
bb3c7a6c83 add missing RBAC to statefulset-controller for StatefulSetAutoDeletePVC feature 2024-09-02 14:41:45 +02:00
Kubernetes Prow Robot
8bd6c10ba5
Merge pull request #126688 from wedaly/automated-cherry-pick-of-#126532-upstream-release-1.30
Automated cherry pick of #126532: kube-proxy: initialization wait for service and endpoint
2024-08-28 18:58:57 +01:00
Kubernetes Prow Robot
70d5fff762
Merge pull request #126779 from hbostan/automated-cherry-pick-of-#125294-upstream-release-1.30
Automated cherry pick of #125294: Add a new workqueue to endpointslice controller for updating
2024-08-28 17:38:57 +01:00
Kubernetes Prow Robot
23bdc6c566
Merge pull request #126970 from cpanato/update-go-1226-rel-130
[release-1.30] [go] Bump images, dependencies and versions to go 1.22.6 and distroless iptables
2024-08-28 15:26:56 +01:00
cpanato
9eb604e1c0
Bump images, dependencies and versions to go 1.22.6 and distroless iptables
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-08-28 14:32:28 +02:00
Kubernetes Prow Robot
3dcc7644d2
Merge pull request #126923 from kannon92/automated-cherry-pick-of-#125499-upstream-release-1.30
Automated cherry pick of #125499: Fix openapi-gen dependency.
2024-08-28 07:52:56 +01:00
Mykhailo Bobrovskyi
0d997170c9 Fix openapi-gen dependency. 2024-08-26 12:10:39 -04:00
Kubernetes Prow Robot
772e3df468
Merge pull request #126797 from BenTheElder/automated-cherry-pick-of-#126449-upstream-release-1.30
cherry pick of #126449: kube-up.sh: bump coreDNS to 1.11.3
2024-08-26 08:09:07 +01:00
Benjamin Elder
2414588ff4 update coredns/corefile-migration to v1.0.24 to support coredns v1.11.3 2024-08-22 11:21:54 -07:00
Kubernetes Prow Robot
ad8a5f5994
Merge pull request #126666 from thockin/automated-cherry-pick-of-#126057-upstream-release-1.30
Automated cherry pick of #126057: make PodIP.IP and HostIP.IP required.
2024-08-22 11:17:53 +01:00
Benjamin Elder
322c524e71 kubeadm: bump coredns to 1.11.3 2024-08-20 11:22:27 -07:00
Benjamin Elder
9f9d774862 kube-up.sh: bump coreDNS to 1.11.3 2024-08-19 14:44:50 -07:00
hbostan
26f4e1d7ae Add a new workqueue to endpointslice controller for updating topology cache and checking node topology distribution. 2024-08-19 10:01:50 +00:00
Kubernetes Prow Robot
cd0ea55142
Merge pull request #126693 from Huang-Wei/automated-cherry-pick-of-#126644-upstream-release-1.30
Automated cherry pick of #126644: fix a scheduler preemption issue that victim is not patched
2024-08-15 01:01:18 -07:00
Kubernetes Release Robot
b2c937b2af Update CHANGELOG/CHANGELOG-1.30.md for v1.30.4 2024-08-14 19:19:45 +00:00
Kubernetes Release Robot
a51b3b7111 Release commit for Kubernetes v1.30.4 2024-08-14 18:57:33 +00:00
Wei Huang
622b4b2790
fix a scheduler preemption issue that victim is not patched properly 2024-08-14 11:51:43 -07:00
Will Daly
c72ac98781 kube-proxy: initialization wait for service and endpoint handlers synced
Ensure kube-proxy waits for the services/endpointslices informer
caches to be synced *and* all pre-sync events delivered before
setting isInitialized=true. Otherwise, in clusters with many services,
some services may be missing from svcPortMap when kube-proxy starts
(e.g. during daemonset rollout). This can cause kube-proxy to temporarily
remove service DNAT rules and then skip cleanup of UDP conntrack entries
to a service VIP.

Resolves: https://github.com/kubernetes/kubernetes/issues/126468
2024-08-14 09:05:45 -07:00
Lan Liang
3ba8e9e80e
make PodIP.IP and HostIP.IP required.
Fields used as map keys must be required or defaulted when used in a CRD schema.

see https://github.com/kubernetes/kubernetes/issues/124540

Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-08-13 16:30:53 -07:00
Kubernetes Prow Robot
6cca485fe7
Merge pull request #126493 from marosset/automated-cherry-pick-of-#126012-upstream-release-1.30
Automated cherry pick of #126012: Updating kubelet on Windows to query uuid from registry
2024-08-09 13:55:41 -07:00
Kubernetes Prow Robot
4e3e56dd44
Merge pull request #125389 from mattcary/cherry-pick-#122499-to-release-1.30
Cherry pick #122499 to release-1.30
2024-08-09 05:53:45 -07:00
Kubernetes Prow Robot
d0c02cd273
Merge pull request #126481 from benluddy/automated-cherry-pick-of-#126470-kubernetes-release-1.30
Automated cherry pick of #126470: Move APIServingWithRoutine to alpha and disabled by default.
2024-08-07 07:42:51 -07:00
Mark Rossetti
a42d8f24a9
Updating kubelet on Windows to query uuid from registry 2024-07-31 11:37:22 -07:00
Kubernetes Prow Robot
935f5d5e43
Merge pull request #126300 from cici37/automated-cherry-pick-of-#126167-upstream-release-1.30
Automated cherry pick of #126167: Hot fix for panic on schema conversion.
2024-07-31 08:58:12 -07:00
Ben Luddy
b64504d5d4
Move APIServingWithRoutine to alpha and disabled by default. 2024-07-31 09:58:29 -04:00
Kubernetes Prow Robot
49b718a05c
Merge pull request #126331 from gjkim42/automated-cherry-pick-of-#125935-upstream-release-1.30
Automated cherry pick of #125935: Terminate restartable init containers ignoring not-started containers
2024-07-31 04:36:23 -07:00