cri-o: update module configuration
- Update the default pause image - Set the cgroup manager to systemd - Enable `manage_ns_lifecycle` instead of the deprecated `manage_network_ns_lifecycle` option Signed-off-by: Sascha Grunert <sgrunert@suse.com>
This commit is contained in:
parent
4c1bab5057
commit
6653328aef
|
@ -36,7 +36,7 @@ in
|
|||
|
||||
pauseImage = mkOption {
|
||||
type = types.str;
|
||||
default = "k8s.gcr.io/pause:3.1";
|
||||
default = "k8s.gcr.io/pause:3.2";
|
||||
description = "Pause image for pod sandboxes to be used";
|
||||
};
|
||||
|
||||
|
@ -67,8 +67,9 @@ in
|
|||
|
||||
[crio.runtime]
|
||||
conmon = "${pkgs.conmon}/bin/conmon"
|
||||
cgroup_manager = "systemd"
|
||||
log_level = "${cfg.logLevel}"
|
||||
manage_network_ns_lifecycle = true
|
||||
manage_ns_lifecycle = true
|
||||
'';
|
||||
|
||||
environment.etc."cni/net.d/10-crio-bridge.conf".source = copyFile "${pkgs.cri-o.src}/contrib/cni/10-crio-bridge.conf";
|
||||
|
|
Loading…
Reference in a new issue