This commit is contained in:
parent
3170b35464
commit
f9c5339328
3 changed files with 20 additions and 2 deletions
|
|
@ -100,7 +100,8 @@
|
|||
- "01-cgroup-manager.conf"
|
||||
- "01-log-level.conf"
|
||||
- "01-metrics.conf"
|
||||
notify: Restart containerd
|
||||
- "01-crio-network.conf"
|
||||
notify: Restart cri-o
|
||||
|
||||
- name: Enable cri-o on boot
|
||||
service:
|
||||
|
|
|
|||
16
templates/etc/crio/crio.conf.d/01-crio-network.conf.j2
Normal file
16
templates/etc/crio/crio.conf.d/01-crio-network.conf.j2
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# The crio.network table containers settings pertaining to the management of
|
||||
# CNI plugins.
|
||||
[crio.network]
|
||||
|
||||
# The default CNI network name to be selected. If not set or "", then
|
||||
# CRI-O will pick-up the first one found in network_dir.
|
||||
# cni_default_network = ""
|
||||
|
||||
# Path to the directory where CNI configuration files are located.
|
||||
network_dir = "/etc/cni/net.d/"
|
||||
|
||||
# Paths to directories where CNI plugin binaries are located.
|
||||
plugin_dirs = [
|
||||
"/opt/cni/bin",
|
||||
]
|
||||
|
||||
|
|
@ -1,2 +1,3 @@
|
|||
[crio.runtime]
|
||||
conmon = "/usr/bin/conmon"
|
||||
conmon = "/usr/bin/conmon"
|
||||
manage_ns_lifecycle = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue