Comments (9)
追加
rm -rf /usr/local/bin/kube*
rm -rf /usr/local/bin/gr*
docker ps -q|xargs -l docker stop
docker ps -a -q|xargs -l docker rm
from rainbond-install.
正常情况下会新增一个本机ip
类似
nameserver 10.10.10.36 #本机
nameserver 100.100.2.136 #原先默认dns
你可以修改/etc/resolv.conf
nameserver <ns1>
nameserver <ns2>
from rainbond-install.
分布执行可以看下 setup.sh
脚本。手动执行
git clone --depth 1 -b v3.7 https://github.com/goodrain/rainbond-install.git /opt/rainbond/install
cd /opt/rainbond/install
./setup.sh
from rainbond-install.
是这样的,这个机器原本 dns 如下
nameserver 10.9.255.1 #内网主 dns
nameserver 10.9.255.2 #内网备 dns
nameserver 114.114.114.114 #公网 dns
search xxx-xxx
由于主 dns 出问题了,我编辑/etc/resolv.conf
只保留了10.9.255.2
执行 init 之后10.9.255.1
又回来了
./install/salt/install/files/health/local-dns.sh
./install/salt/common/dns.sls
这两个文件编辑注释后,执行 setup.sh
没有效果
from rainbond-install.
检查一下 /srv/pillar/rainbond.sls
关于dns配置
可以把 /srv/
目录删除了或者直接修改/srv/salt目录下的相关文件
from rainbond-install.
怎么能卸载重装呢,由于之前步骤已经安装完毕,重复执行了 grctl init 之后
执行 grctl cluster
500:Get https://region.goodrain.me:8443/v2/cluster: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "rainbond")
from rainbond-install.
证书的问题 grctl reset
还需要把 /root/.kube/config
删了
from rainbond-install.
rm -rf /root/.kube/ # 删除配置
rm -rf /root/.rbd/
grctl reset # 重置
vim /etc/resolv.conf #修改还原 dns
rm -rf /srv #删除安装配置
rm -rf /grdata/*
rm -rf /grlocaldata/*
rm -rf /opt/rainbond/*
yum remove -y gr-docker*
删除环境,是否还有疏漏?
from rainbond-install.
还有kubelet等相关二进制在/usr/local/bin/
目录下
from rainbond-install.
Related Issues (20)
- support storage health status checks
- optimize rbd-repo health status checks
- Optimize the repo configuration
- Restart machine DNS is reset
- Minion did not return. HOT 1
- grctl: command not found HOT 7
- 配置优化 HOT 1
- 安装失败: docker push goodrain.me/rbd-lb:3.7 HOT 1
- salt minion grains has no attribute 'node_role' HOT 3
- not found 10-calico.conf
- DEFAULT_LOCAL_IP 读到多个 IP HOT 1
- Getting Network information HOT 3
- demo 安装成功但启动失败 HOT 13
- 扩容支持uid参数
- grctl conf get 报错 runtime error: invalid memory address or nil pointer dereference HOT 2
- offline storage type null HOT 1
- 中标麒麟操作系统适配
- Support community version kubernetes milestone
- offline custom domain configuration
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 rainbond-install.