Created
May 12, 2025 18:36
-
-
Save dky/1f93cacd868419c1e56b54a939467279 to your computer and use it in GitHub Desktop.
Sed Kublet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo sed -i 's/^\(Environment="KUBELET_EXTRA_ARGS=[^"]*\)"$/\1 --kubeconfig=/var/lib/kubelet/kubeconfig --node-labels=disktype=ssd/' /etc/systemd/system/kubelet.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment