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
9ef6678b
Unverified
Commit
9ef6678b
authored
11 months ago
by
peterw
Committed by
GitHub
11 months ago
Browse files
Options
Downloads
Patches
Plain Diff
configure crio to use kube reserved cgroups (#11028)
parent
c6758fe5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/container-engine/cri-o/tasks/main.yaml
+14
-0
14 additions, 0 deletions
roles/container-engine/cri-o/tasks/main.yaml
with
14 additions
and
0 deletions
roles/container-engine/cri-o/tasks/main.yaml
+
14
−
0
View file @
9ef6678b
...
@@ -90,6 +90,20 @@
...
@@ -90,6 +90,20 @@
remote_src
:
true
remote_src
:
true
notify
:
Restart crio
notify
:
Restart crio
-
name
:
Cri-o | configure crio to use kube reserved cgroups
ansible.builtin.copy
:
dest
:
/etc/systemd/system/crio.service.d/00-slice.conf
owner
:
root
group
:
root
mode
:
'
0644'
content
:
|
[Service]
Slice={{ kube_reserved_cgroups_for_service_slice }}
notify
:
Restart crio
when
:
-
kube_reserved is defined and kube_reserved is
true
-
kube_reserved_cgroups_for_service_slice is defined
-
name
:
Cri-o | update the bin dir for crio.service file
-
name
:
Cri-o | update the bin dir for crio.service file
replace
:
replace
:
dest
:
/etc/systemd/system/crio.service
dest
:
/etc/systemd/system/crio.service
...
...
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