Summary: | sys-cluster/kubelet /etc/conf.d/kubelete could contain more useful default settings | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | ev |
Component: | Current packages | Assignee: | William Hubbs <williamh> |
Status: | UNCONFIRMED --- | ||
Severity: | enhancement | CC: | leonchik1976 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
modified /etc/conf.d/kubelet
new patch for kubelet.initd |
Description
ev
2022-08-17 13:56:45 UTC
```/etc/conf.d/*``` files should contain only variable settings, so I can't use this as is. However, I am open to considering better default settings if you can suggest them. Thanks, William Created attachment 804523 [details]
modified /etc/conf.d/kubelet
This init script adds config flags necessary for kubeadm init and kubeadm join.
I've attached modififed init file which moves these variables from /etc/conf.d/kubelet to /etc/init.d/kubelet. I've tested it with this ebuild: https://github.com/adippl/evgr/blob/master/sys-cluster/kubelet/kubelet- I've been looking into this issue once again. Just adding "--kubeconfig=/etc/kubernetes/kubelet.conf --config=/var/lib/kubelet/config.yaml" to command_args should make kubelet work out of the box. I'm attaching a minimal patch which modifies /etc/init.d/kubelet. It's simpler than the last one and allows for cluster bootstraping and normal kubelet start. Please, consider adding it to repo versions of kubelet. Created attachment 881559 [details, diff]
new patch for kubelet.initd
|