-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from dockershim to containerd (#624)
* Switch from dockershim to containerd. * aws-cni dockershim changes * bump pause image * Update CHANGELOG.md * wip * switch to v1 apiVersion for storage class * switch to v1 apiVersion for storage class * bump aws-cni
- Loading branch information
Showing
10 changed files
with
103 additions
and
10 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[Service] | ||
ExecStart= | ||
ExecStart=/usr/bin/containerd |
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,36 @@ | ||
version = 2 | ||
|
||
# persistent data location | ||
root = "/var/lib/containerd" | ||
# runtime state information | ||
state = "/run/containerd" | ||
# set containerd as a subreaper on linux when it is not running as PID 1 | ||
subreaper = true | ||
# set containerd's OOM score | ||
oom_score = -999 | ||
disabled_plugins = [] | ||
|
||
# grpc configuration | ||
[grpc] | ||
address = "/run/containerd/containerd.sock" | ||
# socket uid | ||
uid = 0 | ||
# socket gid | ||
gid = 0 | ||
|
||
[plugins."containerd.runtime.v1.linux"] | ||
# shim binary name/path | ||
shim = "containerd-shim" | ||
# runtime binary name/path | ||
runtime = "runc" | ||
# do not use a shim when starting containers, saves on memory but | ||
# live restore is not supported | ||
no_shim = false | ||
|
||
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc] | ||
# setting runc.options unsets parent settings | ||
runtime_type = "io.containerd.runc.v2" | ||
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options] | ||
SystemdCgroup = true | ||
[plugins."io.containerd.grpc.v1.cri"] | ||
sandbox_image = "{{.DockerRegistry}}/{{ .PodInfraImage }}" |
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
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