Rodrigo Campos
e983d3f575
userns: Use len to handle empty non-nil slices
...
When using an old runtime like containerd 1.7, this message is not
implemented and what we get here is an empty non-nil slice. Let's check
the len of the slice instead.
While we are there, let's just return false and no error. In the
following commits we will wrap the error and we didn't find any more
info to add here.
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2025-05-15 12:23:17 +02:00
Kubernetes Prow Robot
88e9d8fe6a
Merge pull request #131439 from gnufied/automated-cherry-pick-of-#131418-upstream-release-1.31
...
Automated cherry pick of #131418 : Check for newer fields when deciding expansion recovery feature status
2025-05-13 22:57:16 -07:00
Kubernetes Prow Robot
356ae8145f
Merge pull request #131537 from ameukam/update-go-1-23-8-k8s-1-31
...
[release-1.31][go] Bump images, dependencies and versions to go 1.23.8 and distroless iptables
2025-05-13 04:53:16 -07:00
Kubernetes Prow Robot
502497200a
Merge pull request #131429 from princepereira/automated-cherry-pick-of-#131138-upstream-release-1.31
...
Automated cherry pick of #131138 : Fix for HNS local endpoint was being deleted instead of the remote endpoint.
2025-05-06 17:59:13 -07:00
Arnaud Meukam
46a3947662
Bump images, dependencies and versions
...
Bump images, dependencies, versions to Go 1.23.8
Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
2025-04-29 22:17:24 +02:00
Prince Pereira
92e3993bc7
Manually adding fix for failing pull-kubernetes-typecheck tests which had dependency with this commit: 6186303580
2025-04-27 21:54:22 -07:00
Hemant Kumar
e4e7f313ff
Mark NodeExpansion finsihed without featuregate check
2025-04-24 12:45:41 -04:00
Hemant Kumar
4370821c87
Also change final status by removing featuregate check
2025-04-24 12:38:29 -04:00
Hemant Kumar
014728e763
Check for newer fields when deciding expansion recovery feature status
2025-04-24 12:38:22 -04:00
Prince Pereira
a1bb711b85
Fix for HNS local endpoint was being deleted instead of the remote endpoint.
2025-04-23 23:09:23 -07:00
Kubernetes Release Robot
772a0f45dd
Update CHANGELOG/CHANGELOG-1.31.md for v1.31.8
2025-04-22 16:15:33 +00:00
Kubernetes Release Robot
3f46d435cd
Release commit for Kubernetes v1.31.8
2025-04-22 15:53:27 +00:00
Kubernetes Prow Robot
3a67945ee1
Merge pull request #130685 from carlory/automated-cherry-pick-of-#130335-upstream-release-1.31
...
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 10:31:07 -07:00
Kubernetes Prow Robot
6ed5abcf2d
Merge pull request #131160 from wojtek-t/automated-cherry-pick-of-#131020-upstream-release-1.31
...
Automated cherry pick of #131020 : Fix race for sending errors in watch
2025-04-17 09:21:07 -07:00
Wojciech Tyczyński
de2117a41c
Fix race for sending errors in watch
2025-04-03 08:47:31 +01:00
Kubernetes Release Robot
de93867c92
Update CHANGELOG/CHANGELOG-1.31.md for v1.31.7
2025-03-11 20:22:37 +00:00
Kubernetes Release Robot
da53587841
Release commit for Kubernetes v1.31.7
2025-03-11 19:55:16 +00: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
Kubernetes Prow Robot
f165a1dc46
Merge pull request #130084 from richabanker/automated-cherry-pick-of-#128430-upstream-release-1.31
...
Automated cherry pick of #128430 : do not install handler for '/metrics/slis' endpoint using sync.Once
2025-03-06 04:53:44 -08:00
Kubernetes Prow Robot
b6e875e440
Merge pull request #130312 from neolit123/automated-cherry-pick-of-#130202-origin-release-1.31
...
Automated cherry pick of #130202 : kubeadm: fix panic when no UpgradeConfiguration was found in the config file
2025-03-05 16:27:46 -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
11fefab875
Merge pull request #130156 from AwesomePatrol/automated-cherry-pick-of-#130113-upstream-release-1.31
...
Automated cherry pick of #130113 : Make ResourceQuota LIST requests only when Informer is not synced
2025-02-24 07:50:28 -08:00
SataQiu
475334f995
kubeadm: fix panic when no UpgradeConfiguration was found in the config file
2025-02-20 15:21:35 +02: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
Kubernetes Prow Robot
d74c758b7a
Merge pull request #130252 from fuweid/1.31-backport-130126
...
[release-1.31] proxy: should add PingPeriod for websocket translator
2025-02-19 07:16:28 -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 dc59c0246f
)
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
Kubernetes Prow Robot
94949beccf
Merge pull request #130174 from liggitt/go-tools-131
...
[release-1.31][go1.23] Honor KUBE_HACK_TOOLS_GOTOOLCHAIN
2025-02-14 17:24:20 -08:00
Jordan Liggitt
51a17c3c4e
Honor KUBE_HACK_TOOLS_GOTOOLCHAIN
2025-02-14 12:57:36 -05:00
Michal Wozniak
5d5ac1696f
Deflake the PodReplacementPolicyFeatureToggling Job integration test
2025-02-14 14:14:37 +01:00
Aleksander Mistewicz
c1cddd5fff
Limit ResourceQuota LIST requests to times when informer is not synced
...
This should reduce the number of slow (100ms) LIST requests when there
are no ResourceQuota objects present in the namespace. The behavior
stays virtually the same.
2025-02-14 07:54:16 +01:00
Kubernetes Release Robot
1d723e3849
Update CHANGELOG/CHANGELOG-1.31.md for v1.31.6
2025-02-12 21:51:09 +00:00
Kubernetes Release Robot
6b3560758b
Release commit for Kubernetes v1.31.6
2025-02-12 21:24:12 +00:00
Kubernetes Prow Robot
1c1a186bcb
Merge pull request #130077 from cpanato/update-go-131
...
[release-1.31][go] Bump images, dependencies and versions to go 1.22.12 and distroless iptables
2025-02-11 15:49:58 -08:00
Richa Banker
19ebee96b2
Add tests
2025-02-10 14:39:06 -08:00
Richa Banker
93a63da852
do not install handler for /metrics/slis using sync.Once
2025-02-10 14:35:20 -08: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
Kubernetes Prow Robot
ea9a8bc359
Merge pull request #130011 from tallclair/automated-cherry-pick-of-#129739-upstream-release-1.31
...
Automated cherry pick of #129739 : Kubelet server handler cleanup
2025-02-07 00:37:55 -08:00
Tim Allclair
4272f7016c
Kubelet server handler cleanup
2025-02-06 11:04:01 -08:00
Kubernetes Prow Robot
93e460114d
Merge pull request #129927 from mimowo/fix-job-int-test-1.31
...
Cherry-pick #129894 and #129913 : Deflake job integration test 1.31
2025-02-04 08:38:59 -08:00