Kubernetes setup in Redhat Linux - The connection to the server localhost:8080 was refused - did you specify the right host or port?

9/7/2017

I am using the following link to setup kubernetes environment and run a containers in kubernetes.

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux_atomic_host/7/html/getting_started_with_kubernetes/get_started_orchestrating_containers_with_kubernetes

However,when I run "kubectl create -f db-service.yaml" as mentioned in section 1.3.3 - step 5, am getting "The connection to the server localhost:8080 was refused - did you specify the right host or port?".

Can you help if am missing anything, any suggestion is appreciated.

-- jack
kubernetes
linux
redhat
rhel

0 Answers