Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
7d1219fb
Commit
7d1219fb
authored
Nov 01, 2016
by
yupeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Align with other cli descriptions
Signed-off-by:
yupeng
<
yu.peng36@zte.com.cn
>
parent
cc84673e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
cmd.go
cmd/kubeadm/app/cmd/cmd.go
+1
-1
init.go
cmd/kubeadm/app/cmd/init.go
+1
-1
join.go
cmd/kubeadm/app/cmd/join.go
+1
-1
No files found.
cmd/kubeadm/app/cmd/cmd.go
View file @
7d1219fb
...
...
@@ -29,7 +29,7 @@ import (
func
NewKubeadmCommand
(
f
cmdutil
.
Factory
,
in
io
.
Reader
,
out
,
err
io
.
Writer
)
*
cobra
.
Command
{
cmds
:=
&
cobra
.
Command
{
Use
:
"kubeadm"
,
Short
:
"kubeadm: easily bootstrap a secure Kubernetes cluster
.
"
,
Short
:
"kubeadm: easily bootstrap a secure Kubernetes cluster"
,
Long
:
dedent
.
Dedent
(
`
kubeadm: easily bootstrap a secure Kubernetes cluster.
...
...
cmd/kubeadm/app/cmd/init.go
View file @
7d1219fb
...
...
@@ -66,7 +66,7 @@ func NewCmdInit(out io.Writer) *cobra.Command {
var
skipPreFlight
bool
cmd
:=
&
cobra
.
Command
{
Use
:
"init"
,
Short
:
"Run this in order to set up the Kubernetes master
.
"
,
Short
:
"Run this in order to set up the Kubernetes master"
,
Run
:
func
(
cmd
*
cobra
.
Command
,
args
[]
string
)
{
i
,
err
:=
NewInit
(
cfgPath
,
cfg
,
skipPreFlight
)
kubeadmutil
.
CheckErr
(
err
)
...
...
cmd/kubeadm/app/cmd/join.go
View file @
7d1219fb
...
...
@@ -50,7 +50,7 @@ func NewCmdJoin(out io.Writer) *cobra.Command {
var
cfgPath
string
cmd
:=
&
cobra
.
Command
{
Use
:
"join"
,
Short
:
"Run this on any machine you wish to join an existing cluster
.
"
,
Short
:
"Run this on any machine you wish to join an existing cluster"
,
Run
:
func
(
cmd
*
cobra
.
Command
,
args
[]
string
)
{
j
,
err
:=
NewJoin
(
cfgPath
,
args
,
cfg
,
skipPreFlight
)
kubeadmutil
.
CheckErr
(
err
)
...
...
Write
Preview
Markdown
is supported
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