Open fanux opened 5 years ago
@LegendaryYc
@fanux
@LegendaryYc 我下载了一个看来一下你做的readme 你这个是单master的啊,那多master的有没有啊?当然我们不考虑在阿里上面多master。
看 github.com/fanux/sealos 一切以sealos的readme为准,是最新的教程
你好,我照着你给我的连接试了一下,我的测试是2个master,1个node,测试步骤是,把包放在其中的一个master上面,并且安装了sealos命令,然后就直接执行了祥光命令,就是说其余的机器什么都没配置,但是还是安装成功了,只是当我关闭最开的那个master似乎就出了问题,表面上看不出来什么,但是dashboard是不能访问了,请问我的是不是在测试的时候什么步骤未做?
master至少三个,2master是伪高可用
比较好奇sealos名字取自何意~~
比较好奇sealos名字取自何意~~
seal + os 未来定位是操作系统,kubernetes算cloud kernel 计算网络存储属于cloud driver
请问kubeadm 现在能安装ipv6的环境么
@timyl 请问kubeadm 现在能安装ipv6的环境么
试试吧
你好,master节点不起pod怎么办,直接去除污点么?
@jiqinga 你好,master节点不起pod怎么办,直接去除污点么?
可以
kubernetes1.15.0离线安装包无法下载啊
@hivefans kubernetes1.15.0离线安装包无法下载啊
用1.17.0
多台主机密码不同应该怎样安装呢?不可能多台主机都用同一个密码啊
@chenxiaolao 多台主机密码不同应该怎样安装呢?不可能多台主机都用同一个密码啊
这种情况用密钥,文档中有 sealyun.com/docs
请教一下,离线包解压后,sealos在哪个环节会调用kube/shell/master.sh? 我想在kubeadm init之后,额外加一些初始化动作,但发现这个脚本在安装过程中没有执行。 离线安装包: kubernetes1.15.4 Sealos: v3.1.0-alpha.2
请问下 新增的node节点如何加入?
@zifuy 请问下 新增的node节点如何加入?
sealyun.com/docs
不知道,别问我
在 2020-01-17 11:02:22,"zifuy" notifications@github.com 写道:
请问下 新增的node节点如何加入?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
@chaoliuxinqi
不知道,别问我
在 2020-01-17 11:02:22,"zifuy" notifications@github.com 写道:
请问下 新增的node节点如何加入?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
文档中写的比较清楚了, sealyun.com/docs
安装完毕后,自己的docker私有仓库的设置,需要自己手动,一个个的node节点上面,配置吗?
@adreamdee 安装完毕后,自己的docker私有仓库的设置,需要自己手动,一个个的node节点上面,配置吗?
对 这是docker engine的配置,sealos不关心。 当然你也可以自己修改一下离线包里的docker安装相关的内容,解压后在docker目录下
老板,啥时候能支持双栈
@timyl 老板,啥时候能支持双栈
这让 CNI插件去关心吧
最近很多用户遇到vip下载跳转到付款页面问题,原因是访问github不稳定导致,建议清理cookie多试几次
kubernetes1.17.0离线安装包,支付宝页面付完之后,显示404错误
@zhengwei19003 kubernetes1.17.0离线安装包,支付宝页面付完之后,显示404错误
主要还是网络原因导致,请到QQ群中联系我解决98488045,抱歉带来不便
我输入的命令是: sealos init --master 172.31.88.147 --node 172.31.88.148 --node 172.31.88.146 --user root --passwd 123456ABCqwe --version v1.16.0 --pkg-url /opt/kube1.16.0.tar.gz 我三台机器的密码都是一样的 结果一直报错
2020-03-13 14:02:19 [DEBG] [github.com/fanux/sealos/install/print.go:20] ==>Fail 2020-03-13 14:02:19 [EROR] [github.com/fanux/sealos/install/check.go:26] user not allow empty
这是怎么回事啊? 系统是centos7.6 都是阿里云的 2核4G的 不太明白这个报错是啥意思。明明写的有user
etcd想拆分出去,单独部署集群,这个怎么操作
etcd想拆分出去,单独部署集群,这个怎么操作
参考sealyum.com/docs 中自定义kubeadm配置即可,自己把外部etcd地址放到kubeadm配置中
@fanux
etcd想拆分出去,单独部署集群,这个怎么操作
参考sealyum.com/docs 中自定义kubeadm配置即可,自己把外部etcd地址放到kubeadm配置中
需要配置证书嘛
1.17.4 安装出错 @fanux
error execution phase preflight: [preflight] Some fatal errors occurred:
[ERROR SystemVerification]: unsupported graph driver: vfs
[preflight] If you know what you are doing, you can make a check non-fatal with --ignore-preflight-errors=...
To see the stack trace of this error execute with --v=5 or higher
我输入的命令是: sealos init --master 172.31.88.147 --node 172.31.88.148 --node 172.31.88.146 --user root --passwd 123456ABCqwe --version v1.16.0 --pkg-url /opt/kube1.16.0.tar.gz 我三台机器的密码都是一样的 结果一直报错
2020-03-13 14:02:19 [DEBG] [github.com/fanux/sealos/install/print.go:20] ==>Fail 2020-03-13 14:02:19 [EROR] [github.com/fanux/sealos/install/check.go:26] user not allow empty
这是怎么回事啊? 系统是centos7.6 都是阿里云的 2核4G的 不太明白这个报错是啥意思。明明写的有user
应该还是命令敲错了,仔细检查下,或者重新敲。
已购年费会员,为啥下载新版本也是弹出支付宝付费页,请详查
已购年费会员,清除了cookies重新登录仍然跳转至支付宝付费页
kubeadm join 10.128.0.5:6443 --token vs9n3i.hbcwkgs7h5bvyqc8 --discovery-token-ca-cert-hash sha256:2dc9ee784f1b072635efe8a9a2213dc51a939e7d6c7345130a4f4b08a6b42403
加入集群节点一直等待
@zenway33 kubeadm join 10.128.0.5:6443 --token vs9n3i.hbcwkgs7h5bvyqc8 --discovery-token-ca-cert-hash sha256:2dc9ee784f1b072635efe8a9a2213dc51a939e7d6c7345130a4f4b08a6b42403
加入集群节点一直等待
别这样用,参考最新教程 sealyun.com/docs 使用sealos join --node x.x.x.x
》〉
安装报错 2020-03-18 15:12:01 [EROR] [github.com/fanux/sealos/install/utils.go:114] [192.168.164.128]Error exec command failed: Process exited with status 1 2020-03-18 15:12:01 [EROR] [github.com/fanux/sealos/install/init.go:65] [192.168.164.128]kubernetes install is error.please clean and uninstall. 这个怎么排查啊
@laochai 安装报错 2020-03-18 15:12:01 [EROR] [github.com/fanux/sealos/install/utils.go:114] [192.168.164.128]Error exec command failed: Process exited with status 1 2020-03-18 15:12:01 [EROR] [github.com/fanux/sealos/install/init.go:65] [192.168.164.128]kubernetes install is error.please clean and uninstall. 这个怎么排查啊
进QQ群::98488045 或者描述清楚你的问题
./sealos init --passwd zzy.io33 --master 10.128.0.4 --node 10.128.0.5 --node 10.128.0.6 --user root --pkg-url https://xxxxx/kube1.15.11.tar.gz --version v1.15.11
状态一直是: 2020-03-19 13:54:51 [DEBG] [github.com/fanux/sealos/install/print.go:20] ==>SendPackage==>KubeadmConfigInstall==>InstallMaster0 2020-03-19 13:54:51 [INFO] [github.com/fanux/sealos/install/utils.go:98] [10.128.0.6]exec cmd is : echo 10.103.97.2 apiserver.cluster.local >> /etc/hosts 2020-03-19 13:54:51 [INFO] [github.com/fanux/sealos/install/utils.go:98] [10.128.0.5]exec cmd is : echo 10.103.97.2 apiserver.cluster.local >> /etc/hosts 2020-03-19 13:54:57 [DEBG] [github.com/fanux/sealos/install/utils.go:111] [10.128.0.6]command result is: 2020-03-19 13:54:57 [INFO] [github.com/fanux/sealos/install/utils.go:98] [10.128.0.6]exec cmd is : kubeadm join 10.103.97.2:6443 --token 76ncqm.ut64cm8bca6odvsz --discovery-token-ca-cert-hash sha256:a674a09e762729647266d200cf64d51a5401741aa0debf3071e6fb5d9e2f7813 --master 10.128.0.4:6443 2020-03-19 13:54:57 [DEBG] [github.com/fanux/sealos/install/utils.go:111] [10.128.0.5]command result is: 2020-03-19 13:54:57 [INFO] [github.com/fanux/sealos/install/utils.go:98] [10.128.0.5]exec cmd is : kubeadm join 10.103.97.2:6443 --token 76ncqm.ut64cm8bca6odvsz --discovery-token-ca-cert-hash sha256:a674a09e762729647266d200cf64d51a5401741aa0debf3071e6fb5d9e2f7813 --master 10.128.0.4:6443
controlPlaneEndpoint: "apiserver.cluster.local:6443" networking: podSubnet: 100.64.0.0/10 apiServer: certSANs:
/etc/hosts 10.128.0.4 apiserver.cluster.local
/etc/hosts 10.103.97.2 apiserver.cluster.local
[root@localhost ~]# ipvsadm -ln IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags -> RemoteAddress:Port Forward Weight ActiveConn InActConn TCP 10.103.97.2:6443 rr -> 10.128.0.4:6443 Masq 1 0 12
[root@localhost ~]# curl -k https://apiserver.cluster.local:6443 curl: (7) Failed connect to apiserver.cluster.local:6443; No route to host
@zenway33 ./sealos init --passwd zzy.io33 --master 10.128.0.4 --node 10.128.0.5 --node 10.128.0.6 --user root --pkg-url https://xxxxx/kube1.15.11.tar.gz --version v1.15.11
状态一直是: 2020-03-19 13:54:51 [DEBG] [github.com/fanux/sealos/install/print.go:20] ==>SendPackage==>KubeadmConfigInstall==>InstallMaster0 2020-03-19 13:54:51 [INFO] [github.com/fanux/sealos/install/utils.go:98] [10.128.0.6]exec cmd is : echo 10.103.97.2 apiserver.cluster.local >> /etc/hosts 2020-03-19 13:54:51 [INFO] [github.com/fanux/sealos/install/utils.go:98] [10.128.0.5]exec cmd is : echo 10.103.97.2 apiserver.cluster.local >> /etc/hosts 2020-03-19 13:54:57 [DEBG] [github.com/fanux/sealos/install/utils.go:111] [10.128.0.6]command result is: 2020-03-19 13:54:57 [INFO] [github.com/fanux/sealos/install/utils.go:98] [10.128.0.6]exec cmd is : kubeadm join 10.103.97.2:6443 --token 76ncqm.ut64cm8bca6odvsz --discovery-token-ca-cert-hash sha256:a674a09e762729647266d200cf64d51a5401741aa0debf3071e6fb5d9e2f7813 --master 10.128.0.4:6443 2020-03-19 13:54:57 [DEBG] [github.com/fanux/sealos/install/utils.go:111] [10.128.0.5]command result is: 2020-03-19 13:54:57 [INFO] [github.com/fanux/sealos/install/utils.go:98] [10.128.0.5]exec cmd is : kubeadm join 10.103.97.2:6443 --token 76ncqm.ut64cm8bca6odvsz --discovery-token-ca-cert-hash sha256:a674a09e762729647266d200cf64d51a5401741aa0debf3071e6fb5d9e2f7813 --master 10.128.0.4:6443
master:
controlPlaneEndpoint: "apiserver.cluster.local:6443" networking: podSubnet: 100.64.0.0/10 apiServer: certSANs:
- 127.0.0.1
- apiserver.cluster.local
- 10.128.0.4
- 10.103.97.2
/etc/hosts 10.128.0.4 apiserver.cluster.local
node :
/etc/hosts 10.103.97.2 apiserver.cluster.local
[root@localhost ~]# ipvsadm -ln IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags -> RemoteAddress:Port Forward Weight ActiveConn InActConn TCP 10.103.97.2:6443 rr -> 10.128.0.4:6443 Masq 1 0 12
[root@localhost ~]# curl -k https://apiserver.cluster.local:6443 curl: (7) Failed connect to apiserver.cluster.local:6443; No route to host
QQ 群:98488045 进群详聊
[root@localhost ~]# sealos join --node 192.168.190.133 2020-03-20 22:19:26 [EROR] [github.com/fanux/sealos/install/utils.go:196] [globals] read file err is : open /root/.ssh/id_rsa: no such file or directory panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x618703]
goroutine 1 [running]: github.com/fanux/sealos/vendor/golang.org/x/crypto/ssh.publicKeyCallback.auth(0xc00008f360, 0xc0000bac20, 0x20, 0x20, 0x97d0ac, 0x4, 0xa39d40, 0xc0000da420, 0xa2f6a0, 0xc0000866f0, ...) /go/src/github.com/fanux/sealos/vendor/golang.org/x/crypto/ssh/client_auth.go:202 +0xd3 github.com/fanux/sealos/vendor/golang.org/x/crypto/ssh.(connection).clientAuthenticate(0xc000138080, 0xc000136000, 0x0, 0xa) /go/src/github.com/fanux/sealos/vendor/golang.org/x/crypto/ssh/client_auth.go:44 +0x382 github.com/fanux/sealos/vendor/golang.org/x/crypto/ssh.(connection).clientHandshake(0xc000138080, 0xc0000ba6e0, 0x12, 0xc000136000, 0x0, 0x0) /go/src/github.com/fanux/sealos/vendor/golang.org/x/crypto/ssh/client.go:113 +0x2bb github.com/fanux/sealos/vendor/golang.org/x/crypto/ssh.NewClientConn(0xa3ed80, 0xc000010010, 0xc0000ba6e0, 0x12, 0xc00011db40, 0xa3ed80, 0xc000010010, 0x0, 0x0, 0x8cda60, ...) /go/src/github.com/fanux/sealos/vendor/golang.org/x/crypto/ssh/client.go:83 +0xfe github.com/fanux/sealos/vendor/golang.org/x/crypto/ssh.Dial(0x97cd10, 0x3, 0xc0000ba6e0, 0x12, 0xc00011db40, 0xc00008f360, 0x20, 0x20) /go/src/github.com/fanux/sealos/vendor/golang.org/x/crypto/ssh/client.go:177 +0xb3 github.com/fanux/sealos/install.Connect(0x97d0ac, 0x4, 0x0, 0x0, 0x981828, 0x11, 0xc00009a8e0, 0xf, 0x0, 0x0, ...) /go/src/github.com/fanux/sealos/install/utils.go:232 +0x261 github.com/fanux/sealos/install.(SealosInstaller).CheckValid(0xc00008f320) /go/src/github.com/fanux/sealos/install/check.go:15 +0x19b github.com/fanux/sealos/install.BuildJoin() /go/src/github.com/fanux/sealos/install/join.go:13 +0x71 github.com/fanux/sealos/cmd.glob..func5(0xdc7840, 0xc00008f240, 0x0, 0x2) /go/src/github.com/fanux/sealos/cmd/join.go:29 +0x20 github.com/fanux/sealos/vendor/github.com/spf13/cobra.(Command).execute(0xdc7840, 0xc00008f220, 0x2, 0x2, 0xdc7840, 0xc00008f220) /go/src/github.com/fanux/sealos/vendor/github.com/spf13/cobra/command.go:766 +0x2ae github.com/fanux/sealos/vendor/github.com/spf13/cobra.(Command).ExecuteC(0xdc7aa0, 0xc00011df68, 0x87f3be, 0xdc7aa0) /go/src/github.com/fanux/sealos/vendor/github.com/spf13/cobra/command.go:850 +0x2fc github.com/fanux/sealos/vendor/github.com/spf13/cobra.(Command).Execute(...) /go/src/github.com/fanux/sealos/vendor/github.com/spf13/cobra/command.go:800 github.com/fanux/sealos/cmd.Execute() /go/src/github.com/fanux/sealos/cmd/root.go:46 +0x32 main.main() /go/src/github.com/fanux/sealos/main.go:22 +0x20 请问这个是什么问题?
kubernetes1.17.4 没有calico/node:v3.8.2 镜像
@beBetterFather [root@localhost ~]# sealos join --node 192.168.190.133 2020-03-20 22:19:26 [EROR] [github.com/fanux/sealos/install/utils.go:196] [globals] read file err is : open /root/.ssh/id_rsa: no such file or directory panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x618703]
goroutine 1 [running]: github.com/fanux/sealos/vendor/golang.org/x/crypto/ssh.publicKeyCallback.auth(0xc00008f360, 0xc0000bac20, 0x20, 0x20, 0x97d0ac, 0x4, 0xa39d40, 0xc0000da420, 0xa2f6a0, 0xc0000866f0, ...) /go/src/github.com/fanux/sealos/vendor/golang.org/x/crypto/ssh/client_auth.go:202 +0xd3 github.com/fanux/sealos/vendor/golang.org/x/crypto/ssh.(connection).clientAuthenticate(0xc000138080, 0xc000136000, 0x0, 0xa) /go/src/github.com/fanux/sealos/vendor/golang.org/x/crypto/ssh/client_auth.go:44 +0x382 github.com/fanux/sealos/vendor/golang.org/x/crypto/ssh.(connection).clientHandshake(0xc000138080, 0xc0000ba6e0, 0x12, 0xc000136000, 0x0, 0x0) /go/src/github.com/fanux/sealos/vendor/golang.org/x/crypto/ssh/client.go:113 +0x2bb github.com/fanux/sealos/vendor/golang.org/x/crypto/ssh.NewClientConn(0xa3ed80, 0xc000010010, 0xc0000ba6e0, 0x12, 0xc00011db40, 0xa3ed80, 0xc000010010, 0x0, 0x0, 0x8cda60, ...) /go/src/github.com/fanux/sealos/vendor/golang.org/x/crypto/ssh/client.go:83 +0xfe github.com/fanux/sealos/vendor/golang.org/x/crypto/ssh.Dial(0x97cd10, 0x3, 0xc0000ba6e0, 0x12, 0xc00011db40, 0xc00008f360, 0x20, 0x20) /go/src/github.com/fanux/sealos/vendor/golang.org/x/crypto/ssh/client.go:177 +0xb3 github.com/fanux/sealos/install.Connect(0x97d0ac, 0x4, 0x0, 0x0, 0x981828, 0x11, 0xc00009a8e0, 0xf, 0x0, 0x0, ...) /go/src/github.com/fanux/sealos/install/utils.go:232 +0x261 github.com/fanux/sealos/install.(SealosInstaller).CheckValid(0xc00008f320) /go/src/github.com/fanux/sealos/install/check.go:15 +0x19b github.com/fanux/sealos/install.BuildJoin() /go/src/github.com/fanux/sealos/install/join.go:13 +0x71 github.com/fanux/sealos/cmd.glob..func5(0xdc7840, 0xc00008f240, 0x0, 0x2) /go/src/github.com/fanux/sealos/cmd/join.go:29 +0x20 github.com/fanux/sealos/vendor/github.com/spf13/cobra.(Command).execute(0xdc7840, 0xc00008f220, 0x2, 0x2, 0xdc7840, 0xc00008f220) /go/src/github.com/fanux/sealos/vendor/github.com/spf13/cobra/command.go:766 +0x2ae github.com/fanux/sealos/vendor/github.com/spf13/cobra.(Command).ExecuteC(0xdc7aa0, 0xc00011df68, 0x87f3be, 0xdc7aa0) /go/src/github.com/fanux/sealos/vendor/github.com/spf13/cobra/command.go:850 +0x2fc github.com/fanux/sealos/vendor/github.com/spf13/cobra.(Command).Execute(...) /go/src/github.com/fanux/sealos/vendor/github.com/spf13/cobra/command.go:800 github.com/fanux/sealos/cmd.Execute() /go/src/github.com/fanux/sealos/cmd/root.go:46 +0x32 main.main() /go/src/github.com/fanux/sealos/main.go:22 +0x20 请问这个是什么问题?
版本问题
@cmdy kubernetes1.17.4 没有calico/node:v3.8.2 镜像
已重新打包
太牛逼了 哥
kubectl get nodes The connection to the server apiserver.cluster.local:6443 was refused - did you specify the right host or port? 请问 咋办?
1.18.0一定要配合sealos 3.2.*版本使用,sealos 3.2版本把kubeadm的一些定制功能剥离到sealos中了
/invite wxtech
@wxtech 请加QQ群:98488045 详细探讨一下,或者加微信:sealnux 拉你进微信群
3.3.2版本:
安装后,仅一个节点启动 (sealos version 3.3.2) [root@lt06c01m011 ~]# kubectl get nodes NAME STATUS ROLES AGE VERSION lt06c01m011 Ready master 7m50s v1.18.0
安装脚本如下: sealos init --passwd Cisco@123 \
--master 172.32.101.11 --master 172.32.101.12 --master 172.32.101.13 \ --node 172.32.101.15 \ --pkg-url http://10.138.1.238/kube1.18.0.tar.gz \ --version v1.18.0 >>'/tmp/sealos-install.log3'
http://store.lameleg.com