Comments (8)
kubectl -n kube-system edit configmap coredns
然后把proxy 删除掉就可以了 你应该是卡到wait mysql了 脚本里面host用的是xxx.xxx.svc 没有cluster.local 造成的
from ks-installer.
临时解决方法是
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.
我更改之后重新执行install还是失败,重新看了一下配置文件,那两行被删除的又重新回来了!
from ks-installer.
修改coredns 配置后 在对应的安装脚本(allinone.sh multi-nodes.sh)里注释掉前两个ansible-playbook 命令重新执行对应脚本即可
from ks-installer.
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.
去掉这两行安装后,安装假装会进行,但实际未安装完成,未安装完成,未安装完成
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.
/close
from ks-installer.
@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)
- k8s 1.26.7 / ks-installer v3.4.0 opensearch install error HOT 8
- dial tcp 10.0.0.3:10250: i/o timeout HOT 2
- k8s v1.26 安装 kubersphere3.4.0 开启servicemesh 后 jaeger 报错 HOT 3
- failed to list *v2beta1.Config: StorageError: etcd cache not ready HOT 1
- 应用仓库安装完毕,添加添加应用仓库后点击对应的仓库报404错误 HOT 2
- devops-controller 启动不了,报:invalid memory address or nil pointer dereference, 流水线全部跑不起来
- request to http://ks-apiserver/oauth/token failed, reason: connect ECONNREFUSED 10.110.238.87:80 HOT 3
- kubectl apply -f cluster-configuration.yaml报错 HOT 1
- BUG:prometheus-k8s 瞬间高占用,依次把所有节点全部打垮失联!
- 日志使用外部es。我该怎么设置密码。 HOT 1
- 如何指定安装到特定的node下
- Tag3.4.1 安装问题 ClusterConfiguration 有特殊字符导致 control characters are not allowed HOT 1
- [release-3.4] update devops helm-chart to 0.2.3 HOT 1
- v3.4.1 image-list.txt 需要更新一下
- 镜像是否支持从阿里云拉取,镜像要不拉取慢,要不就失败了
- 通过cluster-configuration.yaml设置opensearch admin用户的凭据不起作用 HOT 1
- Ansible task has incorrect command
- 生产环境日志下面没有容器
- When enable the devops, The ks-apiserver pod will be Crashbackoff status after the installer complete install. HOT 1
- Failed to install logging and service mesh component after uninstalling HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ks-installer.