Commit Graph

122207 Commits

Author SHA1 Message Date
Kubernetes Release Robot
976373ce24 Update CHANGELOG/CHANGELOG-1.30.md for v1.30.7 2024-11-19 17:41:38 +00:00
Kubernetes Release Robot
0c76c645d5 Release commit for Kubernetes v1.30.7 2024-11-19 17:26:34 +00:00
Kubernetes Prow Robot
c2b510dc03
Merge pull request #128434 from NoicFank/automated-cherry-pick-of-#128307-upstream-release-1.30
Automated cherry pick of #128307: bugfix(scheduler): preemption picks wrong victim node with higher priority pod on it
2024-11-12 11:54:53 +00:00
Kubernetes Prow Robot
627e10a853
Merge pull request #127585 from AxeZhan/automated-cherry-pick-of-#125398-upstream-release-1.30
Automated cherry pick of #125398: [scheduler] When the hostname and nodename of a node do not match, ensure that pods carrying PVs with nodeAffinity are scheduled correctly.
2024-11-12 11:54:46 +00:00
Kubernetes Prow Robot
be00148585
Merge pull request #128445 from p0lyn0mial/automated-cherry-pick-of-#127902-upstream-release-1.30
Automated cherry pick of #127902: server/config: assing system:apiserver user to system:authenticated group
2024-10-31 23:11:26 +00:00
Lukasz Szaszkiewicz
ff3d440e27 server/config: assing system:apiserver user to system:authenticated group 2024-10-31 08:48:47 +01:00
NoicFank
df37614d64 bugfix(scheduler): preemption picks wrong victim node with higher priority pod on it.
Introducing pdb to preemption had disrupted the orderliness of pods in the victims,
2024-10-30 15:38:09 +08:00
Kubernetes Release Robot
02ed463dcc Update CHANGELOG/CHANGELOG-1.30.md for v1.30.6 2024-10-22 20:53:51 +00:00
Kubernetes Release Robot
00f20d443b Release commit for Kubernetes v1.30.6 2024-10-22 20:26:47 +00:00
Kubernetes Prow Robot
28216c6fa2
Merge pull request #128131 from haitch/haitao/k130-on-go122p8
[release-1.30] bump golang to 1.22.8
2024-10-21 07:49:06 +01:00
Haitao Chen
4dea121a2c bump golang to 1.22.8 2024-10-16 10:32:45 -07:00
Kubernetes Prow Robot
aa7af73c6d
Merge pull request #127774 from Snowflake-Labs/automated-cherry-pick-of-#123233-upstream-release-1.30
Automated cherry pick of #123233: Fix daemonset to ensure old unhealthy pods are counted
2024-10-11 09:06:20 +01:00
Kubernetes Prow Robot
065a97c0b4
Merge pull request #127961 from SataQiu/automated-cherry-pick-of-#127650-upstream-release-1.30
Automated cherry pick of #127650: kubeadm: fix a bug where the RemoveMember function did not return the correct member list when the member to be removed did not exist
2024-10-09 19:34:29 +01:00
Kubernetes Prow Robot
c0df69fa5d
Merge pull request #127807 from danwinship/automated-cherry-pick-of-#127780-origin-release-1.30
Automated cherry pick of #127780: Fix deleted UDP endpoint detection
2024-10-09 19:34:23 +01:00
Kubernetes Prow Robot
a184d0fdeb
Merge pull request #126984 from dashpole/fix_mem_leak_30
Cherrypick of #126957 on 1.30: Fix memory leak from global OpenTelemetry MeterProvider
2024-10-09 15:14:23 +01:00
SataQiu
d60b52f2af kubeadm: fix a bug where the RemoveMember function did not return the correct member list when the member to be removed did not exist 2024-10-09 21:38:12 +08:00
Kubernetes Prow Robot
e049af9b23
Merge pull request #127620 from SataQiu/automated-cherry-pick-of-#127491-upstream-release-1.30
Automated cherry pick of #127491: kubeadm: check whether the peer URL for the added etcd member already exists when the MemberAddAsLearner/MemberAdd fails
2024-10-09 11:38:22 +01:00
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
Dan Winship
3a295d45ad Fix deleted UDP endpoint detection 2024-10-02 07:09:10 -04:00
Marshall Brekka
8b6280115c
Fix daemonset to ensure old unhealthy pods are counted towards max unavailable budget. 2024-10-01 07:05:26 -04:00
SataQiu
2ed3348496 kubeadm: check the member list status before adding or removing an etcd member 2024-09-25 19:25:03 +08:00
SataQiu
bbba9afbb9 kubeadm: check whether the peer URL for the added etcd member already exists when the MemberAddAsLearner/MemberAdd fails 2024-09-25 19:25:03 +08:00
Haitao Chen
3bf7f842eb bump go to 1.22.7 2024-09-24 11:30:56 -07:00
AxeZhan
f086227208 tests for nodes with different nodeName and name 2024-09-24 07:29:06 +00:00
AxeZhan
b1c9d7eb07 manually revert #109877 2024-09-24 07:24:26 +00: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
David Ashpole
caf31c0dc3
update vendor 2024-08-29 00:15:41 +00:00
David Ashpole
95ebd39540
fix memory leak from global MeterProvider 2024-08-29 00:12:56 +00:00