Giter Site home page Giter Site logo

Comments (8)

BoBo-G avatar BoBo-G commented on July 25, 2024

kubectl -n kube-system edit configmap coredns
然后把proxy 删除掉就可以了 你应该是卡到wait mysql了 脚本里面host用的是xxx.xxx.svc 没有cluster.local 造成的

from ks-installer.

zryfish avatar zryfish commented on July 25, 2024

临时解决方法是

kubectl -n kube-system edit cm coredns

去掉 upstream 和 proxy 那两行,然后执行

kubectl -n kube-system scale deployment coredns --replicas=0 && kubectl -n kube-system scale deployment coredns --replicas=1

然后重新执行下installer,执行完installer之后记得将配置恢复成默认设置

根本原因是coredns将未能解析的请求forward给主机DNS时,主机DNS返回的不是NXDOMAIN,导致coredns认为解析失败,不会接着解析,需要将 /etc/resolv.conf 中不能正常解析的 dns 去掉,换成能正常解析的DNS,可以考虑替换成下列公共DNS,确保主机能够访问DNS

8.8.8.8
114.114.114.114

from ks-installer.

lijinbang avatar lijinbang commented on July 25, 2024

我更改之后重新执行install还是失败,重新看了一下配置文件,那两行被删除的又重新回来了!

from ks-installer.

pixiake avatar pixiake commented on July 25, 2024

修改coredns 配置后 在对应的安装脚本(allinone.sh multi-nodes.sh)里注释掉前两个ansible-playbook 命令重新执行对应脚本即可

from ks-installer.

jgzl avatar jgzl commented on July 25, 2024

ks-install不用重新执行吧,去掉 upstream 和 proxy 那两行,额,安装会继续的好像,然后就安装好了,然后用kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l job-name=kubesphere-installer -o jsonpath='{.items[0].metadata.name}') -f 这个命令看,就在往下安装,就OK了,我是用的breeze安装的k8s集群

from ks-installer.

zy84338719 avatar zy84338719 commented on July 25, 2024

去掉这两行安装后,安装假装会进行,但实际未安装完成,未安装完成,未安装完成
TASK [ks-istio : istio | disable istio-injection] ******************************
changed: [localhost] => (item=istio-system)
changed: [localhost] => (item=kube-system)
changed: [localhost] => (item=kubesphere-system)
changed: [localhost] => (item=openpitrix-system)

TASK [ks-istio : istio | Waiting for istio-init] *******************************
changed: [localhost]

TASK [ks-istio : istio | Deploy istio] *****************************************
changed: [localhost]

TASK [ks-istio : istio | Deploy jaeger-operator] *******************************
changed: [localhost]

TASK [ks-istio : istio | Deploy jaeger-production] *****************************
changed: [localhost]

TASK [ks-istio : istio | Create jaeger operator service] ***********************
changed: [localhost]

PLAY RECAP *********************************************************************
localhost : ok=150 changed=129 unreachable=0 failed=0 skipped=35 rescued=0 ignored=1

from ks-installer.

zryfish avatar zryfish commented on July 25, 2024

/close

from ks-installer.

ks-ci-bot avatar ks-ci-bot commented on July 25, 2024

@zryfish: Closing this issue.

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

from ks-installer.

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.