Created
January 16, 2019 21:33
-
-
Save chavafg/1fd93e2bc33923fa1a20594e821be9e0 to your computer and use it in GitHub Desktop.
containerd + runtimeclass
This file contains hidden or 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
$ cat /etc/containerd/config_runtimeclass.toml | |
root = "/var/lib/containerd" | |
state = "/run/containerd" | |
oom_score = 0 | |
[grpc] | |
address = "/run/containerd/containerd.sock" | |
uid = 0 | |
gid = 0 | |
max_recv_message_size = 16777216 | |
max_send_message_size = 16777216 | |
[debug] | |
address = "" | |
uid = 0 | |
gid = 0 | |
level = "" | |
[metrics] | |
address = "" | |
grpc_histogram = false | |
[cgroup] | |
path = "" | |
[plugins] | |
[plugins.cgroups] | |
no_prometheus = false | |
[plugins.cri] | |
stream_server_address = "127.0.0.1" | |
stream_server_port = "10030" | |
enable_selinux = false | |
sandbox_image = "k8s.gcr.io/pause:3.1" | |
stats_collect_period = 10 | |
systemd_cgroup = false | |
enable_tls_streaming = false | |
max_container_log_line_size = 16384 | |
[plugins.cri.containerd] | |
snapshotter = "overlayfs" | |
no_pivot = false | |
[plugins.cri.containerd.runtimes.runc] | |
runtime_type = "io.containerd.runtime.v1.linux" | |
[plugins.cri.containerd.runtimes.runc.options] | |
Runtime = "runc" | |
RuntimeRoot = "/usr/local/sbin/runc" | |
[plugins.cri.containerd.runtimes.kata] | |
runtime_type = "io.containerd.runtime.v1.linux" | |
[plugins.cri.containerd.runtimes.kata.options] | |
Runtime = "kata-runtime" | |
RuntimeRoot = "/usr/local/bin/kata-runtime" | |
[plugins.cri.cni] | |
bin_dir = "/opt/cni/bin" | |
conf_dir = "/etc/cni/net.d" | |
conf_template = "" | |
[plugins.cri.registry] | |
[plugins.cri.registry.mirrors] | |
[plugins.cri.registry.mirrors."docker.io"] | |
endpoint = ["https://registry-1.docker.io"] | |
[plugins.cri.x509_key_pair_streaming] | |
tls_cert_file = "" | |
tls_key_file = "" | |
[plugins.diff-service] | |
default = ["walking"] | |
[plugins.linux] | |
shim = "containerd-shim" | |
runtime = "runc" | |
runtime_root = "" | |
no_shim = false | |
shim_debug = false | |
[plugins.opt] | |
path = "/opt/containerd" | |
[plugins.restart] | |
interval = "10s" | |
[plugins.scheduler] | |
pause_threshold = 0.02 | |
deletion_threshold = 0 | |
mutation_threshold = 100 | |
schedule_delay = "0s" | |
startup_delay = "100ms" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment