Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Sealos
Commits
224a9456
Commit
224a9456
authored
5 years ago
by
cuisongliu
Browse files
Options
Download
Email Patches
Plain Diff
fix single master
parent
54600144
main
add-code-of-conduct-1
app
bugfix
dev-cloud
dev-refactor
dev-v4.0
dev-v4.0-old
develop
errors
feature/buildah
feature/calico_template
feature/clean_aliyun
feature/cloud
gomod/v3
master
master-version
release-v3.3.9
release-v3.4.0
release-v4.0.0
release-v4.1.3
v3.0.0
v4.0
v4.1.4-rc1
v4.1.3
v4.1.3-rc1
v4.1.2
v4.1.2-rc1
v4.1.1
v4.1.0
v4.1.0-rc3
v4.1.0-rc2
v4.1.0-rc1
v4.0.0
v4.0.0-rc1
v4.0.0-alpha.16
v4.0.0-alpha.15
v4.0.0-alpha.14
v4.0.0-alpha.13
v4.0.0-alpha.12
v4.0.0-alpha.11
v4.0.0-alpha.10
v4.0.0-alpha.9
v4.0.0-alpha.8
v4.0.0-alpha.7
v4.0.0-alpha.6
v4.0.0-alpha.5
v4.0.0-alpha.4
v4.0.0-alpha.3
v4.0.0-alpha.2
v4.0.0-alpha.1
v3.3.9-rc.11
v3.3.9-rc.10
v3.3.9-rc.9
v3.3.9-rc.8
v3.3.9-rc.7
v3.3.9-rc.6
v3.3.9-rc.5
v3.3.9-rc.3
v3.3.9-rc.2
v3.3.9-rc.1
v3.3.9-rc.0
v3.3.9-goreleaser
v3.3.9-beta.3
v3.3.9-beta.2
v3.3.9-beta.1
v3.3.9-beta.0
v3.3.9-alpha.2
v3.3.9-alpha.1
v3.3.9-alpha.0
v3.3.8
v3.3.7
v3.3.6
v3.3.5
v3.3.4
v3.3.3
v3.3.2
v3.3.1
v3.3.0
v3.2.0
v3.2.0-beta.2
v3.2.0-beta.1
v3.2.0-beta.0
v3.2.0-alpha.0
v3.1.2-alpha.1
v3.1.2-alpha.0
v3.1.1
v3.1.1-alpha.3
v3.1.1-alpha.2
v3.1.1-alpha.1
v3.1.1-alpha.0
v3.1.0
v3.1.0-alpha.4
v3.1.0-alpha.3
v3.1.0-alpha.2
v3.1.0-alpha.1
v3.1.0-alpha.0
v3.0.1
v3.0.1-alpha.2
v3.0.1-alpha.1
v3.0.1-alpha.0
v3.0.0
v3.0.0-beta.2
v3.0.0-beta.1
v3.0.0-beta.0
v3.0.0-alpha.0
v2.0.7
v2.0.6
v2.0.5
v2.0.5-alpha.6
v2.0.5-alpha.5
v2.0.5-alpha.4
v2.0.5-alpha.3
v2.0.5-alpha.2
v2.0.5-alpha.1
v2.0.5-alpha.0
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmd/init.go
+0
-3
cmd/init.go
cmd/join.go
+0
-3
cmd/join.go
with
0 additions
and
6 deletions
+0
-6
cmd/init.go
+
0
-
3
View file @
224a9456
...
...
@@ -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
()
...
...
This diff is collapsed.
Click to expand it.
cmd/join.go
+
0
-
3
View file @
224a9456
...
...
@@ -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
()
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help