Commit 224a9456 authored by cuisongliu's avatar cuisongliu
Browse files

fix single master

Showing with 0 additions and 6 deletions
+0 -6
......@@ -33,9 +33,6 @@ var initCmd = &cobra.Command{
Short: "Simplest way to init your kubernets HA cluster",
Long: `sealos init --master 192.168.0.2 --master 192.168.0.3 --master 192.168.0.4 --node 192.168.0.5 --user root --passwd your-server-password`,
Run: func(cmd *cobra.Command, args []string) {
if len(masters) == 1 {
vip = masters[0]
}
i := install.BuildInstaller(masters, nodes, vip)
i.SendPackage(pkgURL, true, true)
i.KubeadmConfigInstall()
......
......@@ -26,9 +26,6 @@ var joinCmd = &cobra.Command{
Short: "Simplest way to join your kubernets HA cluster",
Long: `sealos join --master 192.168.0.2 --master 192.168.0.3 --master 192.168.0.4 --node 192.168.0.5 --vip 192.168.0.1 --user root --passwd your-server-password --pkg-url /root/kube1.14.1.tar.gz`,
Run: func(cmd *cobra.Command, args []string) {
if len(masters) == 1 {
vip = masters[0]
}
i := install.BuildInstaller(masters, nodes, vip)
i.SendPackage(pkgURL, false, true)
i.GeneratorToken()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment