Public bug reported: Use fedora-atomic-20180419, disable TLS, and then deploy a kubernetes cluster. Kubelet and kube-proxy started failed.
For kube-proxy, error message is as follows: invalid configuration: [unable to read client-cert /etc/kubernetes/certs/proxy.crt for kube-proxy due to open /etc/kubernetes/certs/proxy.crt: no such file or directory, unable to read client-key /etc/kubernetes/certs/proxy.key for kube-proxy due to open /etc/kubernetes/certs/proxy.key: no such file or directory, unable to read certificate-authority /etc/kubernetes/certs/ca.crt for kubernetes due to open /etc/kubernetes/certs/ca.crt: no such file or directory] For kubelet, error message is as follows: failed to run Kubelet: invalid kubeconfig: Error loading config file "/etc/kubernetes/kubelet-config.yaml": yaml: line 17: mapping values are not allowed in this context I checked kubelet-config.yaml, content is as follows: apiVersion: v1 clusters: - cluster: server: http://10.0.0.4:8080 name: kubernetes contexts: - context: cluster: kubernetes user: system:node:gg-dejmst3uc4ji-minion-0 name: default current-context: default kind: Config preferences: {} users: - name: system:node:gg-dejmst3uc4ji-minion-0 as-user-extra: {} Watch the last three lines of kubelet-config.yaml, it's not correct. ** Affects: magnum (Ubuntu) Importance: Undecided Assignee: Debo Zhang (laun-zhangdebo) Status: New ** Changed in: magnum (Ubuntu) Assignee: (unassigned) => Debo Zhang (laun-zhangdebo) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1792663 Title: Failed to start kubelet and kube-proxy if TLS is disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/magnum/+bug/1792663/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs