Skip to content

Commit

Permalink
Override pause image
Browse files Browse the repository at this point in the history
  • Loading branch information
simonswine committed Dec 27, 2024
1 parent febc1a8 commit 963e17f
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions modules/containerd-kubelet.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,25 @@ in
address = "127.0.0.1:1338";
};
plugins = {
"io.containerd.grpc.v1.cri".containerd = {
default_runtime_name = "runc";
snapshotter = "zfs";
runtimes = {
runc = {
runtime_type = "io.containerd.runc.v2";
options = {
SystemdCgroup = true;
"io.containerd.grpc.v1.cri" = {
containerd = {
default_runtime_name = "runc";
snapshotter = "zfs";
runtimes = {
runc = {
runtime_type = "io.containerd.runc.v2";
options = {
SystemdCgroup = true;
};
};
};
};
};
"io.containerd.grpc.v1.cri".cni = {
bin_dir = "/opt/cni/bin";
cni.bin_dir = "/opt/cni/bin";
sandbox_image = "registry.k8s.io/pause:3.9";
};
};
};
};

## TODO: environment.etc."cni/net.d/10-containerd-bridge.conf".source = copyFile "${pkgs.containerd-unwrapped.src}/contrib/cni/10-containerd-bridge.conf";
## TODO: environment.etc."cni/net.d/99-loopback.conf".source = copyFile "${pkgs.containerd-unwrapped.src}/contrib/cni/99-loopback.conf";

Expand Down

0 comments on commit 963e17f

Please sign in to comment.