Commit Graph

25685 Commits

Author SHA1 Message Date
Darren Shepherd
4e407fa5b5 Add stopCh to apiserver & context to kublet commands
Remove SetupSignalContext call from the apiserver

Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
2025-04-23 13:20:06 -03:00
carlory
3836d58744 fix handle terminating pvc when kubelet rebuild dsw
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-03-10 18:59:59 +08:00
carlory
77de0b99c2 fix e2e
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-03-10 18:59:59 +08:00
carlory
ab4389f174 add e2e test to reproduce unexpected unmount after kubelet is restarted
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-03-10 18:59:59 +08:00
Kubernetes Prow Robot
002366336a Merge pull request #130509 from cici37/automated-cherry-pick-of-#130035-upstream-release-1.31
Automated cherry pick of #130035: [KEP-5080]Ordered Namespace Deletion
2025-03-07 22:45:44 -08:00
Cici Huang
ae9dcc0a75 Update status before returning err 2025-03-06 11:00:19 -08:00
Kubernetes Prow Robot
ed53c53422 Merge pull request #130426 from jsturtevant/automated-cherry-pick-of-#128097-upstream-release-1.31
Automated cherry pick of #128097: [sig-windows] Update kubectl exec to use correct format
2025-03-06 04:53:52 -08:00
Cici Huang
f12dbc31a9 Add the feature gate OrderedNamespaceDeletion for apiserver. 2025-03-03 13:43:37 -08:00
Kubernetes Prow Robot
a9964aec6b Merge pull request #130071 from mimowo/automated-cherry-pick-of-#130068-upstream-release-1.31
Automated cherry pick of #130068: Fix the flaky Job test: TestSuccessPolicy_ReEnabling
2025-02-25 13:06:29 -08:00
James Sturtevant
2a90c25acb Update kubectl exec to use correct format
Signed-off-by: James Sturtevant <jsturtevant@gmail.com>
2025-02-25 20:37:17 +00:00
Kubernetes Prow Robot
00ba1de20b Merge pull request #130166 from mimowo/automated-cherry-pick-of-#130164-upstream-release-1.31
Automated cherry pick of #130164: Deflake the PodReplacementPolicyFeatureToggling Job integration test
2025-02-25 11:58:29 -08:00
Kubernetes Prow Robot
6476cf7cc9 Merge pull request #130194 from liggitt/go-1.23-1.31
[release-1.31][go1.23] Build with go 1.23.6
2025-02-20 02:50:27 -08:00
Wei Fu
e8b0252a41 proxy: should add PingPeriod for websocket translator
IIUC, before using the translator handler, the ping data can be delivered from
the client to the runtime side since kube-apiserver does not parse any client
data. However, with WebSocket, the server responds with a pong to the client
without forwarding the data to the runtime side. If a proxy is present, it may
close the connection due to inactivity. SPDY's PingPeriod can help address this
issue.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
Co-authored-by: Antonio Ojea <aojea@google.com>
(cherry picked from commit dc59c0246fb407dcf035afc224f63fcf0da8244e)
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2025-02-18 21:09:33 -05:00
Jordan Liggitt
3a9f05a1e6 Bump to build with go 1.23.6 2025-02-15 15:40:08 -05:00
Michal Wozniak
5d5ac1696f Deflake the PodReplacementPolicyFeatureToggling Job integration test 2025-02-14 14:14:37 +01:00
cpanato
4e49e903c7 Bump images, dependencies and versions to go 1.22.12 and distroless iptables
Signed-off-by: cpanato <ctadeu@gmail.com>
2025-02-10 14:30:58 -06:00
Michal Wozniak
087e65b19b Fix the flaky Job test: TestSuccessPolicy_ReEnabling 2025-02-10 16:45:58 +01:00
Kubernetes Prow Robot
f5fd936df4 Merge pull request #129965 from cpanato/update-go-rel131
[release-1.31][go] Bump images, dependencies and versions to go 1.22.11 and distroless iptables
2025-02-07 12:11:55 -08:00
cpanato
56652a09ee Bump images, dependencies and versions to go 1.22.11 and distroless iptables
Signed-off-by: cpanato <ctadeu@gmail.com>
2025-02-03 18:42:09 +01:00
Michal Wozniak
739d6155f4 Fix the remaining flaky integration tests in Job controller 2025-01-31 10:43:59 +01:00
Michal Wozniak
ac7239cddf WIP: fix the flaky Job integration tests 2025-01-31 10:43:54 +01:00
Abhishek Kr Srivastav
9d10ddb060 Fix Go vet errors for master golang
Co-authored-by: Rajalakshmi-Girish <rajalakshmi.girish1@ibm.com>
Co-authored-by: Abhishek Kr Srivastav <Abhishek.kr.srivastav@ibm.com>
2025-01-08 15:11:34 +05:30
Kubernetes Prow Robot
5ac4d36d67 Merge pull request #129285 from ameukam/automated-cherry-pick-of-#129095-upstream-release-1.31
Automated cherry pick of #129095: fetch cni plugins from GitHub releases
2025-01-06 12:24:16 +01:00
cpanato
eb8c239955 Bump images, dependencies and versions to go 1.22.10 and distroless iptables
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-12-30 09:13:26 +01:00
upodroid
1f830174c3 fetch cni plugins from GitHub releases 2024-12-18 19:47:41 +01:00
Hemant Kumar
b555e6b2a2 Fix volume expansion offline 2024-12-16 10:40:28 -05:00
cpanato
779a0827ab Bump images, dependencies and versions to go 1.22.9 and distroless iptables
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-11-21 14:55:35 +01:00
Mengjiao Liu
9624086933 Update metrics documentation for v1.31 2024-10-28 15:33:54 +08:00
Haitao Chen
de071d2739 bump golang to 1.22.8 2024-10-16 10:38:04 -07:00
Haitao Chen
a732fb1167 bump to go 1.22.7 2024-09-24 10:25:43 -07: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
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
Sergey Kanzhelev
8a28b17c3a succeeded pod is being re-admitted 2024-09-06 18:27:57 +00: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
cpanato
d539a38837 Bump images, dependencies and versions to go 1.22.6 and distroless iptables
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-08-28 16:33:54 +02:00
Maciej Szulik
fad6c424ac wait: don't lowercase condition in --for argument 2024-08-12 16:59:17 +02:00
Kubernetes Prow Robot
17d7d28620 Merge pull request #126431 from pacoxu/device-plugin-falures-pod-status
skip if ResourceHealthStatus is disabled
2024-07-29 19:22:55 -07:00
Paco Xu
9ee99a9307 skip if ResourceHealthStatus is disabled 2024-07-29 17:40:44 +08:00
ArkaSaha30
aa28bd6158 Revert distroless-iptables from v0.6.1 to v0.5.6
This commit will revert the distroless-iptables version from v0.6.1(built on go1.23rc2) to v0.5.6(built on go1.22.5).

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-07-29 13:55:37 +05:30
ArkaSaha30
d1dfeed505 Revert "Bump images, dependencies and versions to go 1.23rc1"
This reverts commit 5c269fecf8.
2024-07-29 13:55:03 +05:30
ArkaSaha30
c203b120c0 Revert "Bump images, dependencies and versions to go 1.23rc2"
This reverts commit 9d5a7ff859.
2024-07-29 13:54:16 +05:30
Kubernetes Prow Robot
250f7b5d15 Merge pull request #126386 from kannon92/126367-device-plugin-label
fix resource health status test failures in unlabeled jobs
2024-07-26 16:34:55 -07:00
Feilian Xie
ebdca53805 [sample-apiserver] Fix: Use Correct Effective Version for kube (#125941)
* Fix slice copy of VersionedSpecs in FeatureGate.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

* Update wardle to kube version mapping

Signed-off-by: Siyuan Zhang <sizhang@google.com>
Signed-off-by: Feilian Xie <fxie@redhat.com>
Co-authored-by: Feilian Xie <fxie@redhat.com>

* Add cap to wardleEmulationVersionToKubeEmulationVersion.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

* Add integration test for default BanFlunder behavior in version 1.2 without Wardle feature gate.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

---------

Signed-off-by: Siyuan Zhang <sizhang@google.com>
Signed-off-by: Feilian Xie <fxie@redhat.com>
Co-authored-by: Siyuan Zhang <sizhang@google.com>
2024-07-26 12:03:52 -07:00
Kevin Hannon
a1bbae8168 fix resource health status test failures in unlabeled jobs 2024-07-26 09:43:48 -04:00
Kubernetes Prow Robot
3a8a60eba2 Merge pull request #126240 from bzsuni/bz/etcd/update/v3.5.15
Update etcd to v3.5.15
2024-07-26 04:58:05 -07:00
Kubernetes Prow Robot
5f5c02da51 Merge pull request #124012 from Jefftree/le-controller
Coordinated Leader Election
2024-07-25 13:05:53 -07:00
Kubernetes Prow Robot
e9d9a82839 Merge pull request #124101 from haircommander/process_stats-with-pid-fix
kubelet: fix PID based eviction
2024-07-25 11:59:57 -07:00
Kubernetes Prow Robot
b95f9c32d6 Merge pull request #126282 from macsko/fix_scheduler_perf_tests_taking_too_long
Init etcd and apiserver per test case in scheduler_perf integration tests
2024-07-25 02:04:46 -07:00