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
4eabda83
Commit
4eabda83
authored
Nov 23, 2015
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15657 from agonzalezro/patch-1
Auto commit by PR queue bot
parents
c52e45c6
8cc7215a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
images.md
docs/user-guide/images.md
+3
-2
No files found.
docs/user-guide/images.md
View file @
4eabda83
...
@@ -109,8 +109,9 @@ Here are the recommended steps to configuring your nodes to use a private regist
...
@@ -109,8 +109,9 @@ Here are the recommended steps to configuring your nodes to use a private regist
example, run these on your desktop/laptop:
example, run these on your desktop/laptop:
1.
run
`docker login [server]`
for each set of credentials you want to use.
1.
run
`docker login [server]`
for each set of credentials you want to use.
1.
view
`$HOME/.dockercfg`
in an editor to ensure it contains just the credentials you want to use.
1.
view
`$HOME/.dockercfg`
in an editor to ensure it contains just the credentials you want to use.
1.
get a list of your nodes
1.
get a list of your nodes, for example:
-
for example:
`nodes=$(kubectl get nodes -o template --template='{{range.items}}{{.metadata.name}} {{end}}')`
-
if you want the names:
`nodes=$(kubectl get nodes -o jsonpath='{range.items[*].metadata}{.name} {end}')`
-
if you want to get the IPs:
`nodes=$(kubectl get nodes -o jsonpath='{range .items[*].status.addresses[?(@.type=="ExternalIP")]}{.address} {end}')`
1.
copy your local
`.dockercfg`
to the home directory of root on each node.
1.
copy your local
`.dockercfg`
to the home directory of root on each node.
-
for example:
`for n in $nodes; do scp ~/.dockercfg root@$n:/root/.dockercfg; done`
-
for example:
`for n in $nodes; do scp ~/.dockercfg root@$n:/root/.dockercfg; done`
...
...
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