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
d5035a15
Commit
d5035a15
authored
Jun 30, 2015
by
Alexandros Mavrogiannis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change factory name to client.NewInCluster
The factory that generates a client for use within the cluster is NewInCluster, rather than NewInContainer.
parent
2884446c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
accessing-the-cluster.md
docs/accessing-the-cluster.md
+1
-1
No files found.
docs/accessing-the-cluster.md
View file @
d5035a15
...
@@ -113,7 +113,7 @@ From within a pod the recommended ways to connect to API are:
...
@@ -113,7 +113,7 @@ From within a pod the recommended ways to connect to API are:
kubernetes API to the localhost interface of the pod, so that other processes
kubernetes API to the localhost interface of the pod, so that other processes
in any container of the pod can access it. See this
[
example of using kubectl proxy
in any container of the pod can access it. See this
[
example of using kubectl proxy
in a pod](../examples/kubectl-container/).
in a pod](../examples/kubectl-container/).
-
use the Go client library, and create a client using the
`client.NewInC
ontain
er()`
factory.
-
use the Go client library, and create a client using the
`client.NewInC
lust
er()`
factory.
This handles locating and authenticating to the apiserver.
This handles locating and authenticating to the apiserver.
In each case, the credentials of the pod are used to communicate securely with the apiserver.
In each case, the credentials of the pod are used to communicate securely with the apiserver.
...
...
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