Commit Graph

124470 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
c9e75e73f4
Merge pull request #128236 from carlory/automated-cherry-pick-of-#128182-upstream-release-1.31
Automated cherry pick of #128182: Fix crash on kube manager's service-lb-controller after v1.31.0.
2024-11-12 09:13:00 +00:00
Kubernetes Prow Robot
dd898b82d0
Merge pull request #127584 from AxeZhan/automated-cherry-pick-of-#125398-upstream-release-1.31
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 09:12:53 +00:00
Kubernetes Prow Robot
19f244ad5c
Merge pull request #128376 from mengjiao-liu/update-metrics-docs-1-31
Update metrics documentation for v1.31
2024-11-12 06:46:45 +00:00
Kubernetes Prow Robot
f6f4d800c8
Merge pull request #128530 from wojtek-t/automated-cherry-pick-of-#128468-upstream-release-1.31
Automated cherry pick of #128468: Fix TestCacherDontMissEventsOnReinitialization test
2024-11-06 15:43:29 +00:00
Wojciech Tyczyński
7682b74271 Fix TestCacherDontMissEventsOnReinitialization test 2024-11-04 09:25:58 +01:00
Kubernetes Prow Robot
6d1bcd738f
Merge pull request #127928 from p0lyn0mial/automated-cherry-pick-of-#127902-upstream-release-1.31
Automated cherry pick of #127902: server/config: assing system:apiserver user to system:authenticated group
2024-11-01 00:15:26 +00:00
Mengjiao Liu
9624086933 Update metrics documentation for v1.31 2024-10-28 15:33:54 +08:00
Kubernetes Release Robot
1ef7d66879 Update CHANGELOG/CHANGELOG-1.31.md for v1.31.2 2024-10-22 20:52:27 +00:00
Kubernetes Release Robot
5864a46772 Release commit for Kubernetes v1.31.2 2024-10-22 20:28:12 +00:00
carlory
fb63fe6926 Fix crash on kube manager's service-lb-controller after v1.31.0.
Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2024-10-22 10:19:54 +08:00
Kubernetes Prow Robot
f66782e8c4
Merge pull request #128132 from haitch/haitao/k131-on-go122p8
[release-1.31] bump golang to 1.22.8
2024-10-21 07:49:05 +01:00
Haitao Chen
de071d2739 bump golang to 1.22.8 2024-10-16 10:38:04 -07:00
Kubernetes Prow Robot
87bc649cbb
Merge pull request #127328 from xuzhenglun/automated-cherry-pick-of-#127239-github-release-1.31
Automated cherry pick of #127239: API emulation versioning honors cohabitating resources
2024-10-10 13:30:23 +01:00
Kubernetes Prow Robot
988235aa7f
Merge pull request #127960 from SataQiu/automated-cherry-pick-of-#127650-upstream-release-1.31
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 16:34:23 +01:00
SataQiu
5ff073516e 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:36:40 +08:00
Kubernetes Prow Robot
f1ca46fbc8
Merge pull request #127619 from SataQiu/automated-cherry-pick-of-#127491-upstream-release-1.31
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 12:50:29 +01:00
Kubernetes Prow Robot
36493b1849
Merge pull request #126983 from dashpole/fix_mem_leak_31
Cherrypick of #126957 on 1.31: Fix memory leak from global OpenTelemetry MeterProvider
2024-10-09 12:50:22 +01:00
Kubernetes Prow Robot
4a04b7261f
Merge pull request #127806 from danwinship/automated-cherry-pick-of-#127780-origin-release-1.31
Automated cherry pick of #127780: Fix deleted UDP endpoint detection
2024-10-09 11:42:22 +01:00
Lukasz Szaszkiewicz
32286d571d server/config: assing system:apiserver user to system:authenticated group 2024-10-08 14:12:25 +02:00
Kubernetes Prow Robot
192c1495bb
Merge pull request #127600 from haitch/haitao/k131-on-go122p7
[release-1.31] bump to go 1.22.7
2024-10-04 17:48:27 +01:00
Dan Winship
b84713348c Fix deleted UDP endpoint detection 2024-10-02 07:08:21 -04:00
SataQiu
0166d23783 kubeadm: check the member list status before adding or removing an etcd member 2024-09-25 19:23:15 +08:00
SataQiu
f22fd52e91 kubeadm: check whether the peer URL for the added etcd member already exists when the MemberAddAsLearner/MemberAdd fails 2024-09-25 19:23:15 +08:00
Haitao Chen
a732fb1167 bump to go 1.22.7 2024-09-24 10:25:43 -07:00
AxeZhan
d8d31947dc tests for nodes with different nodeName and name 2024-09-24 06:41:05 +00:00
AxeZhan
fdca80f8dc manually revert #109877 2024-09-24 06:41:05 +00:00
Kubernetes Prow Robot
c75e833026
Merge pull request #127347 from yuyabee/automated-cherry-pick-of-#127333-upstream-release-1.31
Automated cherry pick of #127333: Add activeDeadlineSeconds to kubeadm upgrade-health-check job
2024-09-24 02:01:59 +01:00
Kubernetes Prow Robot
e3be752b91
Merge pull request #127451 from swetharepakula/automated-cherry-pick-of-#127417-origin-release-1.31
Automated cherry pick of #127417: bugfix: endpoints controller track resource version
2024-09-19 23:51:39 +01:00
Kubernetes Prow Robot
1740b2ae7f
Merge pull request #127462 from dims/automated-cherry-pick-of-#127423-#127456-upstream-release-1.31
Automated cherry pick of #127423: Add some simple tests for nvidia GPU(s)
#127456: Install Nvidia Daemonset in test harness for GCE
2024-09-19 11:16:45 +01:00
Davanum Srinivas
21565fe16f
Install Nvidia Daemonset in test harness for GCE
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-09-18 21:11:16 -04:00
Davanum Srinivas
f4cd6ec052
Add some simple tests for nvidia GPU(s)
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-09-18 21:11:15 -04:00
Yang Yang
dad9c77a74 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 17:05:05 +00:00
Kubernetes Prow Robot
aae6745a67
Merge pull request #127413 from saschagrunert/automated-cherry-pick-of-#127151-base-release-1.31
Automated cherry pick of #127151: Remove `socat` and `ebtables` from kubeadm preflight checks
2024-09-18 09:36:46 +01:00
Sascha Grunert
e7090a9b9b
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:23 +02:00
Yuya Yabe
ebc460e8cc 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:26:09 +00:00
xuzhenglun
880e026a07
API emulation versioning honors cohabitating resources 2024-09-13 00:39:55 +08:00
Kubernetes Release Robot
1f7b707f26 Update CHANGELOG/CHANGELOG-1.31.md for v1.31.1 2024-09-11 21:41:40 +00:00
Kubernetes Release Robot
948afe5ca0 Release commit for Kubernetes v1.31.1 2024-09-11 21:22:07 +00:00
Kubernetes Prow Robot
a8a78f0da6
Merge pull request #127212 from SergeyKanzhelev/automated-cherry-pick-of-#126543-upstream-release-1.31
Automated cherry pick of #126543: Restart the init container to not be stuck in created state
2024-09-09 23:15:07 +01:00
Kubernetes Prow Robot
939edc7c6b
Merge pull request #127207 from SergeyKanzhelev/automated-cherry-pick-of-#126343-upstream-release-1.31
Automated cherry pick of #126343: Terminated pod should not be re-admitted
2024-09-09 22:05:54 +01:00
Kubernetes Prow Robot
8cf2eb9a9e
Merge pull request #127202 from SergeyKanzhelev/automated-cherry-pick-of-#127162-upstream-release-1.31
Automated cherry pick of #127162: Avoid SidecarContainers code path for non-sidecar pods
2024-09-09 20:51:57 +01:00
Gunju Kim
fc5d752394 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:00:48 +00:00
Sergey Kanzhelev
8a28b17c3a succeeded pod is being re-admitted 2024-09-06 18:27:57 +00:00
Gunju Kim
8469207728 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:09 +00:00
Kubernetes Prow Robot
f67b92227c
Merge pull request #127100 from jsturtevant/automated-cherry-pick-of-#126976-upstream-release-1.31
Automated cherry pick of #126976: Revert "fix: handle socket file detection on Windows"
2024-09-04 09:28:16 +01:00
Kubernetes Prow Robot
6e744c6b04
Merge pull request #127066 from atiratree/automated-cherry-pick-of-#126920-upstream-release-1.31
Automated cherry pick of #126920: add missing RBAC to statefulset-controller for StatefulSetAutoDeletePVC feature
2024-09-04 08:14:55 +01:00
James Sturtevant
2454d8d4c3
Revert "fix: handle socket file detection on Windows"
This reverts commit 4060ee60c1.
2024-09-03 17:40:06 +00:00
Filip Křepinský
490bafcf41 add missing RBAC to statefulset-controller for StatefulSetAutoDeletePVC feature 2024-09-02 14:40:40 +02:00
Kubernetes Prow Robot
620c9ed34d
Merge pull request #126988 from saschagrunert/automated-cherry-pick-of-#126966-base-release-1.31
Automated cherry pick of #126966: Update cni-plugins to v1.5.1
2024-08-29 21:15:31 +01:00
Sascha Grunert
312b0386e8
Update cni-plugins to v1.5.1
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-08-29 09:13:54 +02:00