Giter Site home page Giter Site logo

Comments (9)

php-cpm avatar php-cpm commented on June 3, 2024 1

追加

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.

ysicing avatar ysicing commented on June 3, 2024

正常情况下会新增一个本机ip
类似

nameserver 10.10.10.36 #本机
nameserver 100.100.2.136 #原先默认dns

你可以修改/etc/resolv.conf

nameserver  <ns1>
nameserver  <ns2>

@php-cpm

from rainbond-install.

ysicing avatar ysicing commented on June 3, 2024

分布执行可以看下 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.

php-cpm avatar php-cpm commented on June 3, 2024

是这样的,这个机器原本 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.

ysicing avatar ysicing commented on June 3, 2024

检查一下 /srv/pillar/rainbond.sls 关于dns配置

可以把 /srv/ 目录删除了或者直接修改/srv/salt目录下的相关文件

from rainbond-install.

php-cpm avatar php-cpm commented on June 3, 2024

怎么能卸载重装呢,由于之前步骤已经安装完毕,重复执行了 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.

ysicing avatar ysicing commented on June 3, 2024

证书的问题 grctl reset 还需要把 /root/.kube/config 删了

from rainbond-install.

php-cpm avatar php-cpm commented on June 3, 2024
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.

ysicing avatar ysicing commented on June 3, 2024

还有kubelet等相关二进制在/usr/local/bin/ 目录下

from rainbond-install.

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.