Panfactum LogoPanfactum
Infrastructure ModulesSubmodulesKuberneteskube_node_image_cache
kube_node_image_cache
Stable
Submodule
Source Code Link

Kubernetes Node Image Cache

This module allows you to specify additional images that should be cached on every node via the images input.

The kube_node_image_cache_controller must be installed in order for this to work.

Debugging

See kube_node_image_cache_controller debugging docs.

Providers

The following providers are needed by this module:

  • kubectl (2.1.3)

  • kubernetes (2.34.0)

  • pf (0.0.7)

  • random (3.6.3)

Required Inputs

The following input variables are required:

images

Description: Images to add to the node image cache

Type:

list(object({
    registry          = string
    repository        = string
    tag               = optional(string, "latest")
    prepull_enabled   = optional(bool, true) # True iff the image should be pulled immediately when a new node launches
    pin_enabled       = optional(bool, true) # True iff the image should be pinned to a node throughout its entire lifetime
    arm_nodes_enabled = optional(bool, true) # True iff the image should be cached on arm64 nodes
    amd_nodes_enabled = optional(bool, true) # True iff the image should be cached on amd64 nodes
  }))

Optional Inputs

No optional inputs.

Outputs

No outputs.

Usage

No notes