Add a new crio_root variable in order to store CRI-O data on something else than /var/lib (#11692)
parent
b7c1d68ea3
commit
4e58413140
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue