Browse Source
Add a new crio_root variable in order to store CRI-O data on something else than /var/lib (#11692)
pull/11695/head
Timothée Oliger
2 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
3 additions and
1 deletions
-
roles/container-engine/cri-o/defaults/main.yml
-
roles/container-engine/cri-o/templates/crio.conf.j2
|
|
@ -39,6 +39,8 @@ crio_stream_port: "10010" |
|
|
|
|
|
|
|
crio_required_version: "{{ kube_version | regex_replace('^v(?P<major>\\d+).(?P<minor>\\d+).(?P<patch>\\d+)$', '\\g<major>.\\g<minor>') }}" |
|
|
|
|
|
|
|
crio_root: "/var/lib/containers/storage" |
|
|
|
|
|
|
|
# The crio_runtimes variable defines a list of OCI compatible runtimes. |
|
|
|
crio_runtimes: |
|
|
|
- name: crun |
|
|
|
|
|
@ -17,7 +17,7 @@ |
|
|
|
|
|
|
|
# Path to the "root directory". CRI-O stores all of its data, including |
|
|
|
# containers images, in this directory. |
|
|
|
root = "/var/lib/containers/storage" |
|
|
|
root = "{{ crio_root }}" |
|
|
|
|
|
|
|
# Path to the "run directory". CRI-O stores all of its state in this directory. |
|
|
|
# Read from /etc/containers/storage.conf first so unnecessary here |
|
|
|