Closed
Description
What happened:
After updating to 1.28.2 and switching from apt.kubernetes.io to the pkgs.k8s.io repository, KUBELET_EXTRA_ARGS specified in /etc/default/kubelet (as documented: https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/kubelet-integration/#the-kubelet-drop-in-file-for-systemd) no longer were being applied at runtime.
Instead, the systemd service dropin file referred to /etc/sysconfig/kubelet, which is the path used on redhat/rpm machines.
The file that should be included in the deb package is presumably:
however it appears to actually be:
What you expected to happen:
the same EnvironmentFile as documented and previously used in packages from apt.kubernetes.io should still be used.
How to reproduce it (as minimally and precisely as possible):
apt install kubelet=1.28.2-1.1
systemctl cat kubelet.service
Anything else we need to know?:
https://kubernetes.slack.com/archives/C09NXKJKA/p1694790202990129
Environment:
- Cloud provider or hardware configuration: bare metal
- OS (e.g:
cat /etc/os-release
): Ubuntu 22.04 - Kernel (e.g.
uname -a
): - - Others: kubelet==1.28.2-1.1
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
✅ Done