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
f1da2a92
Commit
f1da2a92
authored
Feb 11, 2016
by
Jordan Liggitt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs for service account token namespace
parent
f366baea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
accessing-the-cluster.md
docs/user-guide/accessing-the-cluster.md
+7
-0
service-accounts.md
docs/user-guide/service-accounts.md
+2
-1
No files found.
docs/user-guide/accessing-the-cluster.md
View file @
f1da2a92
...
...
@@ -170,6 +170,13 @@ is associated with a service account, and a credential (token) for that
service account is placed into the filesystem tree of each container in that pod,
at
`/var/run/secrets/kubernetes.io/serviceaccount/token`
.
If available, a certificate bundle is placed into the filesystem tree of each
container at
`/var/run/secrets/kubernetes.io/serviceaccount/ca.crt`
, and should be
used to verify the serving certificate of the apiserver.
Finally, the default namespace to be used for namespaced API operations is placed in a file
at
`/var/run/secrets/kubernetes.io/serviceaccount/namespace`
in each container.
From within a pod the recommended ways to connect to API are:
-
run a kubectl proxy as one of the containers in the pod, or as a background
process within a container. This proxies the
...
...
docs/user-guide/service-accounts.md
View file @
f1da2a92
...
...
@@ -156,7 +156,8 @@ Type: kubernetes.io/service-account-token
Data
====
ca.crt: 1220 bytes
token:
token: ...
namespace: 7 bytes
```
> Note that the content of `token` is elided here.
...
...
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