Commit Graph

122259 Commits

Author SHA1 Message Date
Darren Shepherd
8ef82833b1 Set all sources so node+agent in the same process doesn't get restricted 2025-06-18 19:00:34 -03:00
Darren Shepherd
709e0a31c2 Don't check for cpuset cgroup, not always required? 2025-06-18 19:00:34 -03:00
Darren Shepherd
b6ed1e63ad Wait for kube-apiserver for 2 minutes for slow (ARM) systems 2025-06-18 19:00:34 -03:00
Darren Shepherd
7b4cc91356 Make kubelet.sock path changable 2025-06-18 19:00:34 -03:00
Darren Shepherd
c46fc6aa83 only use the resolved name if port was zero 2025-06-18 19:00:34 -03:00
Darren Shepherd
8d57fe7c48 If you can't set hashsize on nf_conntrack don't fail 2025-06-18 19:00:34 -03:00
Darren Shepherd
3c0da8609b Drop credential providers 2025-06-18 19:00:34 -03:00
Darren Shepherd
cbc5a885e8 Drop storage plugins 2025-06-18 19:00:33 -03:00
Darren Shepherd
5aeaa91ee6 Drop client-go cloud auth 2025-06-18 19:00:33 -03:00
Kubernetes Release Robot
9e18483918 Release commit for Kubernetes v1.30.14 2025-06-17 18:29:19 +00:00
Kubernetes Prow Robot
a02f29ce51
Merge pull request #132223 from cpanato/update-go-1-30
[release-1.30] [go] Bump images, dependencies and versions to go 1.23.10 and distroless iptables
2025-06-13 03:46:57 -07:00
Carlos Panato
af29100d19
Bump images, dependencies and versions to go 1.23.10 and distroless iptables
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2025-06-11 08:27:36 +02:00
Kubernetes Prow Robot
433bffb831
Merge pull request #131813 from rata/automated-cherry-pick-of-#123678-upstream-release-1.30
Automated cherry pick of #123678: kubelet: Add logs for userns custom mappings parsing
2025-06-05 07:44:39 -07:00
Kubernetes Prow Robot
4a9a5ec712
Merge pull request #131812 from rata/automated-cherry-pick-of-#131623-upstream-release-1.30
Automated cherry pick of #131623: kubelet: userns: Improve errors returned to the user
2025-06-05 06:08:38 -07:00
Kubernetes Prow Robot
c9ce6543dc
Merge pull request #131811 from rata/automated-cherry-pick-of-#130800-upstream-release-1.30
Automated cherry pick of #130800: Fix unit tests on windows
2025-06-04 09:22:37 -07:00
Kubernetes Prow Robot
6d234a4545
Merge pull request #131938 from cpanato/update-go-1.30
[release-1.30] [go] Bump images, dependencies and versions to go 1.23.9 and distroless iptables
2025-05-26 13:14:14 -07:00
Carlos Panato
81d95c6412
Bump images, dependencies and versions to go 1.23.9 and distroless iptables
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2025-05-23 09:24:19 -04:00
Rodrigo Campos
7160194a54 kubelet: Wrap user namespace manager errors
So the error message has more context about what part is failing.

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2025-05-16 11:33:57 +02:00
Rodrigo Campos
b8aa6d752a kubelet: Add logs for userns custom mappings parsing
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2025-05-16 11:33:57 +02:00
Rodrigo Campos
d222ec1426 userns: Wrap more errors
Most errors where already wrapped, but these were missing.

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2025-05-16 11:31:24 +02:00
Rodrigo Campos
80aa6d0b1e userns: Improve error returned if userns is not supported
This makes it clear the error comes due to a user namespace
configuration. Otherwise the error returned looks too generic and is not
clear.

Before this PR, the error was:

	  Warning  FailedCreatePodSandBox  1s    kubelet            Failed to create pod sandbox: the handler "" is not known

Now it is:

	  Warning  FailedCreatePodSandBox  1s    kubelet            Failed to create pod sandbox: runtime does not support user namespaces

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2025-05-16 11:31:24 +02:00
Rodrigo Campos
ef132adf02 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-16 11:31:24 +02:00
Rodrigo Campos
b8ce9a3d5e pkg/kubelet/userns: Wrap error to get mappings
I needed to wrap the error for debugging, let's just keep this as it is
useful.

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2025-05-16 11:21:54 +02:00
Rodrigo Campos
9efcbf99c7 pkg/kubelet/userns: Provide stub implementation for windows
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2025-05-16 11:21:54 +02:00
Rodrigo Campos
f491b54bcd pkg/kubelet: Fix userns tests on Windows
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2025-05-16 11:21:54 +02:00
Kubernetes Release Robot
4c2a2348b8 Update CHANGELOG/CHANGELOG-1.30.md for v1.30.13 2025-05-15 10:16:53 +00:00
Kubernetes Release Robot
50af91c466 Release commit for Kubernetes v1.30.13 2025-05-15 09:47:44 +00:00
Kubernetes Prow Robot
cfb9de6f46
Merge pull request #131683 from ameukam/update-go-1-23-8-k8s-1-30-v2
[release-1.30][go] Bump images, dependencies and versions to go 1.23.8 and distroless iptables
2025-05-13 03:39:21 -07:00
Arnaud Meukam
7b92f1f7ce Bump images, dependencies and versions
Bump images, dependencies, versions to Go 1.23.8

Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
2025-05-09 00:46:51 +02:00
Kubernetes Release Robot
24abad1fe1 Update CHANGELOG/CHANGELOG-1.30.md for v1.30.12 2025-04-22 16:27:33 +00:00
Kubernetes Release Robot
66f4b3fc79 Release commit for Kubernetes v1.30.12 2025-04-22 15:58:21 +00:00
Kubernetes Prow Robot
e1041bed56
Merge pull request #130686 from carlory/automated-cherry-pick-of-#130335-upstream-release-1.30
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-18 14:41:07 -07:00
carlory
48d8b1cc92 fix lints
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-04-18 10:18:47 +08:00
Kubernetes Prow Robot
b5ac53558d
Merge pull request #130085 from richabanker/automated-cherry-pick-of-#128430-upstream-release-1.30
Automated cherry pick of #128430: do not install handler for /metrics/slis using sync.Once
2025-04-17 10:35:07 -07:00
Kubernetes Prow Robot
df92ced36b
Merge pull request #131161 from wojtek-t/automated-cherry-pick-of-#131020-upstream-release-1.30
Automated cherry pick of #131020: Fix race for sending errors in watch
2025-04-17 09:21:07 -07:00
Wojciech Tyczyński
82cdad07ea Fix race for sending errors in watch 2025-04-03 08:48:42 +01:00
Kubernetes Release Robot
854828406f Update CHANGELOG/CHANGELOG-1.30.md for v1.30.11 2025-03-11 20:13:18 +00:00
Kubernetes Release Robot
6a074997c9 Release commit for Kubernetes v1.30.11 2025-03-11 19:51:05 +00:00
carlory
bf07bcadac fix handle terminating pvc when kubelet rebuild dsw
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-03-11 10:25:27 +08:00
carlory
e0a9cf7d79 fix e2e
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-03-10 19:00:24 +08:00
carlory
2ca67d8579 add e2e test to reproduce unexpected unmount after kubelet is restarted
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-03-10 19:00:24 +08:00
Kubernetes Prow Robot
55097c48a0
Merge pull request #130510 from cici37/automated-cherry-pick-of-#130035-upstream-release-1.30
Automated cherry pick of #130035: Add the feature gate `OrderedNamespaceDeletion` for
2025-03-07 22:45:44 -08:00
Cici Huang
e9e207bff7 Update status before returning err 2025-03-06 10:59:15 -08:00
Kubernetes Prow Robot
9197bef27f
Merge pull request #130314 from neolit123/automated-cherry-pick-of-#130202-origin-release-1.30
Automated cherry pick of #130202: kubeadm: fix panic when no UpgradeConfiguration was found in the config file
2025-03-05 15:23:46 -08:00
Cici Huang
00e531f3bf Add the feature gate OrderedNamespaceDeletion for apiserver. 2025-03-05 12:43:13 -08:00
SataQiu
1dcf4ef2d1 kubeadm: fix panic when no UpgradeConfiguration was found in the config file 2025-02-20 15:23:52 +02:00
Kubernetes Prow Robot
380bf4827b
Merge pull request #130195 from liggitt/go-1.23-1.30
[release-1.30][go1.23] Build with go 1.23.6
2025-02-20 05:08:28 -08:00
Kubernetes Prow Robot
69066f1a89
Merge pull request #130251 from fuweid/1.30-backport-130126
[release-1.30] proxy: should add PingPeriod for websocket translator
2025-02-19 07:16:27 -08:00
Wei Fu
8524c468f7 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 16:39:36 -05:00
Jordan Liggitt
6abab5aebb
Bump to build with go 1.23.6 2025-02-15 15:39:24 -05:00