services.rke2.images

NixOS option

List of derivations that provide container images. All images are linked to /var/lib/rancher/rke2/agent/images before rke2 starts and are consequently imported by the rke2 agent. Consider importing the rke2 core and CNI image archives of the rke2 package in use, if you want to pre-provision this node with all rke2 container images. For a full list of available airgap images, check the source. of the rke2 package in use.

type: list of package
Default
[ ]
Example
[
  (pkgs.dockerTools.pullImage {
    imageName = "docker.io/bitnami/keycloak";
    imageDigest = "sha256:714dfadc66a8e3adea6609bda350345bd3711657b7ef3cf2e8015b526bac2d6b";
    hash = "sha256-IM2BLZ0EdKIZcRWOtuFY9TogZJXCpKtPZnMnPsGlq0Y=";
    finalImageTag = "21.1.2-debian-11-r0";
  })

  config.services.rke2.package.images-core-linux-amd64-tar-zst
  config.services.rke2.package.images-canal-linux-amd64-tar-zst
]
declared in: nixos/modules/services/cluster/rancher/default.nixView source on NixOS/nixpkgs →