Skip to content

Instantly share code, notes, and snippets.

@keshavab
Last active August 29, 2015 14:24
Show Gist options
  • Select an option

  • Save keshavab/e8bba3235c45803f2ac7 to your computer and use it in GitHub Desktop.

Select an option

Save keshavab/e8bba3235c45803f2ac7 to your computer and use it in GitHub Desktop.
kubernetes errors
[vagrant@kubernetes-master ~]$ kubectl cluster-info
error: couldn't read version from server: Get http://localhost:8080/api: dial tcp 127.0.0.1:8080: connection refused
[root@kubernetes-master vagrant]# systemctl status kubelet
● kubelet.service - Kubernetes Kubelet Server
Loaded: loaded (/usr/lib/systemd/system/kubelet.service; disabled)
Active: inactive (dead)
Docs: https://github.com/GoogleCloudPlatform/kubernetes
Can start the kubelet service -
[root@kubernetes-master vagrant]# systemctl status kubelet
● kubelet.service - Kubernetes Kubelet Server
Loaded: loaded (/usr/lib/systemd/system/kubelet.service; disabled)
Active: active (running) since Thu 2015-07-09 04:32:40 UTC; 7s ago
Docs: https://github.com/GoogleCloudPlatform/kubernetes
Main PID: 23154 (kubelet)
CGroup: /system.slice/kubelet.service
├─23154 /usr/local/bin/kubelet --enable-debugging-handlers=false --cloud_provider=vagrant --config=/etc/kubernetes/manifests --allow_privileged=False --v=2 --cluster_dns=10.247.0.10 --cluster_domain=cluster.local
└─23185 journalctl -f
did initial googling and found someone having similar issue -> https://github.com/GoogleCloudPlatform/kubernetes/issues/9271
but the thread is not closed -
Q:
0. why are they not starting automatically ?
1. how to start kube-api pods with correct args ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment