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

[bug] Empty ExecStart= line in 10-kubeadm.conf #211

Open
dougbtv opened this issue Mar 22, 2018 · 1 comment
Open

[bug] Empty ExecStart= line in 10-kubeadm.conf #211

dougbtv opened this issue Mar 22, 2018 · 1 comment

Comments

@dougbtv
Copy link
Member

dougbtv commented Mar 22, 2018

May be related to #206. Currently appears to work from the CentOS cloud image, but, apparently a later kernel may have an impact on this? I'm unsure.

May think about removing the line in with the setup of the execstart roles/kube-install/tasks/main.yml

[root@kube-master centos]# cat /etc/systemd/system/kubelet.service.d/10-kubeadm.conf
[Service]
Environment="KUBELET_KUBECONFIG_ARGS=--bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --kubeconfig=/etc/kubernetes/kubelet.conf"
Environment="KUBELET_SYSTEM_PODS_ARGS=--pod-manifest-path=/etc/kubernetes/manifests --allow-privileged=true"
Environment="KUBELET_NETWORK_ARGS=--network-plugin=cni --cni-conf-dir=/etc/cni/net.d --cni-bin-dir=/opt/cni/bin"
Environment="KUBELET_DNS_ARGS=--cluster-dns=10.96.0.10 --cluster-domain=cluster.local"
Environment="KUBELET_AUTHZ_ARGS=--authorization-mode=Webhook --client-ca-file=/etc/kubernetes/pki/ca.crt"
Environment="KUBELET_CADVISOR_ARGS=--cadvisor-port=0"
Environment="KUBELET_CGROUP_ARGS=--cgroup-driver=systemd"
Environment="KUBELET_CERTIFICATE_ARGS=--rotate-certificates=true --cert-dir=/var/lib/kubelet/pki"
ExecStart=
ExecStart=/usr/bin/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_SYSTEM_PODS_ARGS $KUBELET_NETWORK_ARGS $KUBELET_DNS_ARGS $KUBELET_AUTHZ_ARGS $KUBELET_EXTRA_ARGS --cgroup-driver=systemd --authentication-token-webhook=true --runtime-cgroups=/systemd/system.slice --kubelet-cgroups=/systemd/system.slice
@dougbtv
Copy link
Member Author

dougbtv commented Mar 23, 2018

Apparently it's adding an extra line with each subsequent re-run, too.

@leifmadsen leifmadsen changed the title Empty ExecStart= line in 10-kubeadm.conf [bug] Empty ExecStart= line in 10-kubeadm.conf Apr 4, 2018
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

2 participants