Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing /etc/systemd/system/kubelet.service.d directory on new installation #158

Open
aja114 opened this issue Jun 17, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@aja114
Copy link

aja114 commented Jun 17, 2024

I am trying to run the role on a new virtual machine running ubuntu22.04. I am using most of the defaults from the role including the kubernetest_version: 1.25.0. When running the role I obtain the error from this deprecated task that setups the KUBELET_EXTRA_ARGS. I imagine it will be removed soon, but currently the role would not run.

The new installed kubeadm package seem to create the equivalent directory at /lib/systemd/system/kubelet.service.d, maybe that has changed in the recent releases. The solution is to create a symlink from /lib/systemd/system/kubelet.service.d to /etc/systemd/system/kubelet.service.d before running the role.

@geerlingguy geerlingguy added the bug Something isn't working label Jun 17, 2024
@geerlingguy
Copy link
Owner

Thanks! It'll be good to figure out when this change occurred, and if we can just drop support for the old path or have to have some sort of shim for newer versions :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants