Kubernetes api server does not run on coreos?

7/12/2017

I have started installing kubernetes on coreos . But kubernetes api does not run on port 8080. Unable to proceed. It stops at the command curl --silent http://127.0.0.1:8080 and goes to sleep.

-- user8297487
coreos
kubernetes

2 Answers

7/13/2017

Depending on the deployment script you used, it may not be running on port 8080. Check the kube-apiserver manifest on the k8s node which is usually at /etc/kubernetes/manifests/kube-apiserver.yaml. kube-apiserver should be started with the flag --insecure-port=8080. If it's --insecure-port=0, the insecure port is disabled.

Also, use curl -v http://127.0.0.1:8080 and post the results here. Like what @sfgroups said, try curl -v http://127.0.0.1:6443.

-- Eugene Chow
Source: StackOverflow

7/12/2017

kubernetes api servers running on port 6443. try curl with this port.

-- sfgroups
Source: StackOverflow