Allow containerd root and state path to be configured (#7098)

pull/7101/head
Florian Ruynat 2021-01-05 16:13:58 +01:00 committed by GitHub
parent b02f40b392
commit e0195da80d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 0 deletions

View File

@ -1,4 +1,9 @@
--- ---
# The root directory for containerd metadata
containerd_metadata_root_dir: /var/lib/containerd
# The state directory for containerd
containerd_state_dir: /run/containerd
containerd_config: containerd_config:
grpc: grpc:
max_recv_message_size: 16777216 max_recv_message_size: 16777216

View File

@ -1,3 +1,8 @@
# persistent data location
root = "{{ containerd_metadata_root_dir }}"
# runtime state information
state = "{{ containerd_state_dir }}"
# Kubernetes doesn't use containerd restart manager. # Kubernetes doesn't use containerd restart manager.
disabled_plugins = ["restart"] disabled_plugins = ["restart"]

View File

@ -38,3 +38,7 @@ tls_cipher_suites:
etcd_tls_cipher_suites: etcd_tls_cipher_suites:
- TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
- TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
# Containerd path
containerd_metadata_root_dir: /var/data/containerd
containerd_state_dir: /run/cri/containerd