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

kubelet.configuration does not pick up changes in config file #5289

Open
mm-weber opened this issue Mar 5, 2025 · 0 comments
Open

kubelet.configuration does not pick up changes in config file #5289

mm-weber opened this issue Mar 5, 2025 · 0 comments
Labels

Comments

@mm-weber
Copy link
Contributor

mm-weber commented Mar 5, 2025

Describe the bug
On EKS the file /etc/kubernetes/kubelet/kubelet-config.json is the kubelet.configFile.
It is possible to add and change the following FeatureGates like that:

  "featureGates": {
    "RotateKubeletServerCertificate": false,
    "RotateKubeletClientCertificate": true
  },

This is getting picked up as desired:

Image

Adding the rotateCertificates: false parameter to the config is not getting picked up though.
It does get picked up when set via KUBELET_ARGS= or KUBELET_EXTRA_ARGS= via the --rotate-parameters setting.

To Reproduce
Steps to reproduce the behavior:

  1. Create EKS cluster
  2. Connect to node via cnspec shell ssh
  3. Modify /etc/kubernetes/kubelet/kubelet-config.json as described
  4. Note the error

Expected behavior
The parameter should be picked up.

Desktop (please complete the following information):

os 11.3.30

Additional context
Add any other context about the problem here.

@mm-weber mm-weber added the k8s label Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant