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.
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
.
kubernetes api servers running on port 6443. try curl with this port.