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
0bfcb5cb
Commit
0bfcb5cb
authored
Jun 06, 2018
by
carldanley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve kubeadm reset output
Let the operator know they should reset etcd manually when an external etcd was used
parent
7a9c05bd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
reset.go
cmd/kubeadm/app/cmd/reset.go
+1
-0
No files found.
cmd/kubeadm/app/cmd/reset.go
View file @
0bfcb5cb
...
@@ -164,6 +164,7 @@ func (r *Reset) Run(out io.Writer) error {
...
@@ -164,6 +164,7 @@ func (r *Reset) Run(out io.Writer) error {
dirsToClean
=
append
(
dirsToClean
,
"/var/lib/etcd"
)
dirsToClean
=
append
(
dirsToClean
,
"/var/lib/etcd"
)
}
else
{
}
else
{
fmt
.
Printf
(
"[reset] no etcd manifest found in %q. Assuming external etcd
\n
"
,
etcdManifestPath
)
fmt
.
Printf
(
"[reset] no etcd manifest found in %q. Assuming external etcd
\n
"
,
etcdManifestPath
)
fmt
.
Println
(
"[reset] please manually reset etcd to prevent further issues"
)
}
}
// Then clean contents from the stateful kubelet, etcd and cni directories
// Then clean contents from the stateful kubelet, etcd and cni directories
...
...
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