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
3081f889
Commit
3081f889
authored
Sep 08, 2015
by
Jian Huang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the KubeConfig Doc
Correct the document.
parent
e6e69e31
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
kubeconfig-file.md
docs/user-guide/kubeconfig-file.md
+10
-5
No files found.
docs/user-guide/kubeconfig-file.md
View file @
3081f889
...
@@ -137,20 +137,25 @@ $ kubectl config view
...
@@ -137,20 +137,25 @@ $ kubectl config view
produces this output
produces this output
```
yaml
```
yaml
apiVersion
:
v1
clusters
:
clusters
:
local-serv
er
:
-
clust
er
:
server
:
http://localhost:8080
server
:
http://localhost:8080
name
:
local-server
contexts
:
contexts
:
default-
context
:
-
context
:
cluster
:
local-server
cluster
:
local-server
namespace
:
the-right-prefix
namespace
:
the-right-prefix
user
:
myself
user
:
myself
name
:
default-context
current-context
:
default-context
current-context
:
default-context
kind
:
Config
preferences
:
{}
preferences
:
{}
users
:
users
:
myself
:
-
name
:
myself
username
:
admin
user
:
password
:
secret
password
:
secret
username
:
admin
```
```
and a kubeconfig file that looks like this
and a kubeconfig file that looks like this
...
@@ -173,8 +178,8 @@ preferences: {}
...
@@ -173,8 +178,8 @@ preferences: {}
users
:
users
:
-
name
:
myself
-
name
:
myself
user
:
user
:
username
:
admin
password
:
secret
password
:
secret
username
:
admin
```
```
#### Commands for the example file
#### Commands for the example file
...
...
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