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
b9f98f41
Commit
b9f98f41
authored
Jun 30, 2015
by
Zach Loafman
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #10584 from afein/patch-2
Change factory name to client.NewInCluster
parents
ceaddc0c
d5035a15
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 @
b9f98f41
...
...
@@ -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
in any container of the pod can access it. See this
[
example of using kubectl proxy
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.
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