mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-06 18:17:47 +03:00
Add containerd config options (#11080)
* chore(containerd): add some config debug options See: https://github.com/containerd/containerd/blob/v1.7.15/docs/man/containerd-config.toml.5.md * chore(containerd): add CRI config options See: https://github.com/containerd/containerd/blob/v1.7.15/docs/man/containerd-config.toml.5.md See: https://github.com/containerd/containerd/blob/v1.7.15/docs/cri/config.md
This commit is contained in:
@@ -12,7 +12,11 @@ oom_score = {{ containerd_oom_score }}
|
||||
max_send_message_size = {{ containerd_grpc_max_send_message_size }}
|
||||
|
||||
[debug]
|
||||
address = "{{ containerd_debug_address }}"
|
||||
level = "{{ containerd_debug_level }}"
|
||||
format = "{{ containerd_debug_format }}"
|
||||
uid = {{ containerd_debug_uid }}
|
||||
gid = {{ containerd_debug_gid }}
|
||||
|
||||
[metrics]
|
||||
address = "{{ containerd_metrics_address }}"
|
||||
@@ -24,6 +28,11 @@ oom_score = {{ containerd_oom_score }}
|
||||
max_container_log_line_size = {{ containerd_max_container_log_line_size }}
|
||||
enable_unprivileged_ports = {{ containerd_enable_unprivileged_ports | lower }}
|
||||
enable_unprivileged_icmp = {{ containerd_enable_unprivileged_icmp | lower }}
|
||||
enable_selinux = {{ containerd_enable_selinux | lower }}
|
||||
disable_apparmor = {{ containerd_disable_apparmor | lower }}
|
||||
tolerate_missing_hugetlb_controller = {{ containerd_tolerate_missing_hugetlb_controller | lower }}
|
||||
disable_hugetlb_controller = {{ containerd_disable_hugetlb_controller | lower }}
|
||||
image_pull_progress_timeout = "{{ containerd_image_pull_progress_timeout }}"
|
||||
{% if enable_cdi %}
|
||||
enable_cdi = true
|
||||
cdi_spec_dirs = ["/etc/cdi", "/var/run/cdi"]
|
||||
|
||||
Reference in New Issue
Block a user