Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
4e584131
Unverified
Commit
4e584131
authored
7 months ago
by
Timothée Oliger
Committed by
GitHub
7 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Add a new crio_root variable in order to store CRI-O data on something else than /var/lib (#11692)
parent
b7c1d68e
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/container-engine/cri-o/defaults/main.yml
+2
-0
2 additions, 0 deletions
roles/container-engine/cri-o/defaults/main.yml
roles/container-engine/cri-o/templates/crio.conf.j2
+1
-1
1 addition, 1 deletion
roles/container-engine/cri-o/templates/crio.conf.j2
with
3 additions
and
1 deletion
roles/container-engine/cri-o/defaults/main.yml
+
2
−
0
View file @
4e584131
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
roles/container-engine/cri-o/templates/crio.conf.j2
+
1
−
1
View file @
4e584131
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment