-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add information about Kubelet config mod (bsc#1174219) (#982)
* Remove obsolete include file * Add section about modifying kubelet configuration
- Loading branch information
Markus Napp
authored
Sep 2, 2020
1 parent
f289a18
commit bc20f65
Showing
3 changed files
with
36 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
= Configure kubelet | ||
|
||
[WARNING] | ||
==== | ||
Modifying the file `/etc/sysconfig/kubelet` directly is not supported. | ||
The changes made to this file will not persist through an update/upgrade of the software. | ||
Please follow the instructions below to change the configuration for `kubelet` persistently. | ||
==== | ||
|
||
[NOTE] | ||
==== | ||
This procedure does not override the default configuration but amends the changes | ||
from the "drop-in" configuration. | ||
Please refer to: https://www.freedesktop.org/software/systemd/man/systemd.unit.html | ||
==== | ||
|
||
If you wish to modify the configuration for `kubelet` you must use the "drop-in" | ||
configuration feature of systemd. The steps need to be performed on each cluster | ||
node whose `kubelet` you wish to reconfigure. | ||
|
||
. Create an appropriate `.conf` file (e.g. `resource-handling.conf`) in `/usr/lib/systemd/system/kubelet.service.d/` with your desired changes. | ||
. | ||
. Reload the service definitions | ||
+ | ||
---- | ||
sudo systemctl daemon-reload | ||
---- | ||
. Restart kubelet | ||
+ | ||
---- | ||
sudo systemctl restart kubelet | ||
---- |
This file contains 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
This file contains 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