-
-
Notifications
You must be signed in to change notification settings - Fork 466
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Enhancement]: improve image loading performance (#826)
- use `k3d-tools` (classic) image importing for remote docker hosts - use direct streaming into the nodes (node exec with stdin) on local docker connections
- Loading branch information
Showing
8 changed files
with
252 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ nav: | |
- multiserver.md | ||
- registries.md | ||
- exposing_services.md | ||
- importing_images.md | ||
- k3s.md | ||
- advanced | ||
- commands |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Importing modes | ||
|
||
## Auto | ||
|
||
Auto-determine whether to use `direct` or `tools-node`. | ||
|
||
For remote container runtimes, `tools-node` is faster due to less network overhead, thus it is automatically selected for remote runtimes. | ||
|
||
Otherwise direct is used. | ||
|
||
## Direct | ||
|
||
Directly load the given images to the k3s nodes. No separate container is spawned, no intermediate files are written. | ||
|
||
## Tools Node | ||
|
||
Start a `k3d-tools` container in the container runtime, copy images to that runtime, then load the images to k3s nodes from there. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.