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

Where can we configure the parameters for kubelet of kubeadm? #34915

Closed
Johnzinvalid opened this issue Oct 17, 2016 · 3 comments
Closed

Where can we configure the parameters for kubelet of kubeadm? #34915

Johnzinvalid opened this issue Oct 17, 2016 · 3 comments

Comments

@Johnzinvalid
Copy link

Johnzinvalid commented Oct 17, 2016

Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see http://kubernetes.io/docs/troubleshooting/.): No.

What keywords did you search in Kubernetes issues before filing this one? (If you have found any duplicates, you should instead reply there.): kubeadm kubelet


Is this a BUG REPORT or FEATURE REQUEST? (choose one): FEATURE REQUEST

Kubernetes version (use kubectl version):

[root@192 lib]# kubectl version
Client Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.0", GitCommit:"a16c0a7f71a6f93c7e0f222d961f4675cd97a46b", GitTreeState:"clean", BuildDate:"2016-09-26T18:16:57Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.0", GitCommit:"a16c0a7f71a6f93c7e0f222d961f4675cd97a46b", GitTreeState:"clean", BuildDate:"2016-09-26T18:10:32Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}

Environment:

  • Cloud provider or hardware configuration: VMs
  • OS (e.g. from /etc/os-release): CentOS 7
  • Kernel (e.g. uname -a): Linux 3.10.0-327.el7.x86_64 Unit test coverage in Kubelet is lousy. (~30%) #1 SMP Thu Nov 19 22:10:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
  • Install tools: kubeadm init
  • Others:

What happened:
ps aux | grep kubelet shows following:

root       9796  2.7  0.9 1089780 75944 ?       Ssl  10月13 147:04 /usr/bin/kubelet --kubeconfig=/etc/kubernetes/kubelet.conf --require-kubeconfig=true --pod-manifest-path=/etc/kubernetes/manifests --allow-privileged=true --network-plugin=cni --cni-conf-dir=/etc/cni/net.d --cni-bin-dir=/opt/cni/bin --cluster-dns=100.64.0.10 --cluster-domain=cluster.local --v=4

Where can we configure the parameters for kubelet?
I have checked the source code of kubeadm but cannot find the correct place to change the configuration if kubelet.

What you expected to happen:
Specify the right place of customizing kubelet.

How to reproduce it (as minimally and precisely as possible):
No need to reproduce

@kubernetes/sig-cluster-lifecycle

@k8s-github-robot k8s-github-robot added area/kubelet sig/node Categorizes an issue or PR as relevant to SIG Node. labels Oct 17, 2016
@Johnzinvalid
Copy link
Author

@kubernetes/sig-cluster-lifecycle

@luxas
Copy link
Member

luxas commented Oct 17, 2016

Just edit /etc/systemd/system/kubelet.service.d/10-kubeadm.conf

@kubernetes/sig-cluster-lifecycle

@luxas luxas added area/kubeadm and removed area/kubelet sig/node Categorizes an issue or PR as relevant to SIG Node. labels Oct 18, 2016
@tamer-hassan
Copy link

on Debian it is /etc/sysconfig/kubelet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants