While joining worker node with master node it get joined but when I do
kubectl get nodes
facing this issue “The connection to the server localhost:8080 was refused - did you specify the right host or port?”
mloskot
February 25, 2023, 10:10am
2
It looks like your’re facing similar problem to this one, so look at those solutions
Hello team,
I have installed kubernetes in centos.
After installation when i was checking the version with below command.
kubectl version -o json
I am getting error below along with version information.
{
"clientVersion": {
"major": "1",
"minor": "11",
"gitVersion": "v1.11.2",
"gitCommit": "bb9ffb1654d4a729bb4cec18ff088eacc153c239",
"gitTreeState": "clean",
"buildDate": "2018-08-07T23:17:28Z",
"goVersion": "go1.10.3",
"compiler": "gc",
"platform": "linux/amd64"
}
}
The connection to the server localhost:8080 was refused - did you specify the right …
Yes that is the issue which I specify