mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-08 14:32:09 -03:30
Removed deprecated keys from containerd config (#12820)
Signed-off-by: Ali Afsharzadeh <afsharzadeh8@gmail.com>
This commit is contained in:
parent
3a3e5d6954
commit
a0f00761ac
@ -65,9 +65,8 @@ In kubespray, the default runtime name is "runc", and it can be configured with
|
|||||||
containerd_runc_runtime:
|
containerd_runc_runtime:
|
||||||
name: runc
|
name: runc
|
||||||
type: "io.containerd.runc.v2"
|
type: "io.containerd.runc.v2"
|
||||||
engine: ""
|
|
||||||
root: ""
|
|
||||||
options:
|
options:
|
||||||
|
Root: ""
|
||||||
SystemdCgroup: "false"
|
SystemdCgroup: "false"
|
||||||
BinaryName: /usr/local/bin/my-runc
|
BinaryName: /usr/local/bin/my-runc
|
||||||
base_runtime_spec: cri-base.json
|
base_runtime_spec: cri-base.json
|
||||||
|
|||||||
@ -11,15 +11,15 @@
|
|||||||
# containerd_runc_runtime:
|
# containerd_runc_runtime:
|
||||||
# name: runc
|
# name: runc
|
||||||
# type: "io.containerd.runc.v2"
|
# type: "io.containerd.runc.v2"
|
||||||
# engine: ""
|
# options:
|
||||||
# root: ""
|
# Root: ""
|
||||||
|
|
||||||
# containerd_additional_runtimes:
|
# containerd_additional_runtimes:
|
||||||
# Example for Kata Containers as additional runtime:
|
# Example for Kata Containers as additional runtime:
|
||||||
# - name: kata
|
# - name: kata
|
||||||
# type: "io.containerd.kata.v2"
|
# type: "io.containerd.kata.v2"
|
||||||
# engine: ""
|
# options:
|
||||||
# root: ""
|
# Root: ""
|
||||||
|
|
||||||
# containerd_grpc_max_recv_message_size: 16777216
|
# containerd_grpc_max_recv_message_size: 16777216
|
||||||
# containerd_grpc_max_send_message_size: 16777216
|
# containerd_grpc_max_send_message_size: 16777216
|
||||||
|
|||||||
@ -13,10 +13,9 @@ containerd_snapshotter: "overlayfs"
|
|||||||
containerd_runc_runtime:
|
containerd_runc_runtime:
|
||||||
name: runc
|
name: runc
|
||||||
type: "io.containerd.runc.v2"
|
type: "io.containerd.runc.v2"
|
||||||
engine: ""
|
|
||||||
root: ""
|
|
||||||
base_runtime_spec: cri-base.json
|
base_runtime_spec: cri-base.json
|
||||||
options:
|
options:
|
||||||
|
Root: ""
|
||||||
SystemdCgroup: "{{ containerd_use_systemd_cgroup | ternary('true', 'false') }}"
|
SystemdCgroup: "{{ containerd_use_systemd_cgroup | ternary('true', 'false') }}"
|
||||||
BinaryName: "{{ bin_dir }}/runc"
|
BinaryName: "{{ bin_dir }}/runc"
|
||||||
|
|
||||||
@ -24,8 +23,8 @@ containerd_additional_runtimes: []
|
|||||||
# Example for Kata Containers as additional runtime:
|
# Example for Kata Containers as additional runtime:
|
||||||
# - name: kata
|
# - name: kata
|
||||||
# type: "io.containerd.kata.v2"
|
# type: "io.containerd.kata.v2"
|
||||||
# engine: ""
|
# options:
|
||||||
# root: ""
|
# Root: ""
|
||||||
|
|
||||||
containerd_base_runtime_spec_rlimit_nofile: 65535
|
containerd_base_runtime_spec_rlimit_nofile: 65535
|
||||||
|
|
||||||
|
|||||||
@ -52,8 +52,6 @@ oom_score = {{ containerd_oom_score }}
|
|||||||
{% for runtime in [containerd_runc_runtime] + containerd_additional_runtimes %}
|
{% for runtime in [containerd_runc_runtime] + containerd_additional_runtimes %}
|
||||||
[plugins."io.containerd.cri.v1.runtime".containerd.runtimes.{{ runtime.name }}]
|
[plugins."io.containerd.cri.v1.runtime".containerd.runtimes.{{ runtime.name }}]
|
||||||
runtime_type = "{{ runtime.type }}"
|
runtime_type = "{{ runtime.type }}"
|
||||||
runtime_engine = "{{ runtime.engine }}"
|
|
||||||
runtime_root = "{{ runtime.root }}"
|
|
||||||
{% if runtime.base_runtime_spec is defined %}
|
{% if runtime.base_runtime_spec is defined %}
|
||||||
base_runtime_spec = "{{ containerd_cfg_dir }}/{{ runtime.base_runtime_spec }}"
|
base_runtime_spec = "{{ containerd_cfg_dir }}/{{ runtime.base_runtime_spec }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user