Giter Site home page Giter Site logo

The connection to the server 172.17.8.101:6443 was refused - did you specify the right host or port? about kubernetes-vagrant-centos-cluster HOT 4 CLOSED

GaryQiao avatar GaryQiao commented on June 15, 2024
The connection to the server 172.17.8.101:6443 was refused - did you specify the right host or port?

from kubernetes-vagrant-centos-cluster.

Comments (4)

GaryQiao avatar GaryQiao commented on June 15, 2024

log.txt

这是完整的日志

from kubernetes-vagrant-centos-cluster.

rootsongjc avatar rootsongjc commented on June 15, 2024

./dns-deploy.sh 这个文件添加进去了吗?

from kubernetes-vagrant-centos-cluster.

GaryQiao avatar GaryQiao commented on June 15, 2024

$ vagrant ssh node3
[vagrant@node3 ~]$ sudo -i
[root@node3 ~]# cd /vagrant/addon/dns
[root@node3 dns]# yum -y install dos2unix
Loaded plugins: fastestmirror, product-id, search-disabled-repos, subscription-
: manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

Loading mirror speeds from cached hostfile
Package dos2unix-6.0.3-7.el7.x86_64 already installed and latest version
Nothing to do
[root@node3 dns]# dos2unix dns-deploy.sh
dos2unix: converting file dns-deploy.sh to Unix format ...
[root@node3 dns]# ./dns-deploy.sh -r 10.254.0.0/16 -i 10.254.0.2 |kubectl apply -f -
The connection to the server 172.17.8.101:6443 was refused - did you specify the right host or port?
[root@node3 dns]# ls
coredns.yaml.sed dns-deploy.sh
[root@node3 dns]#

文档的解决方案测试了,没有解决

from kubernetes-vagrant-centos-cluster.

GaryQiao avatar GaryQiao commented on June 15, 2024

您好,我把Kubernetes 版本换成1.15.0就可以了,感谢解答

from kubernetes-vagrant-centos-cluster.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.