Allow containerd root and state path to be configured (#7098)
parent
b02f40b392
commit
e0195da80d
|
@ -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
|
||||||
|
|
|
@ -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"]
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue