Panfactum LogoPanfactum
Infrastructure ModulesDirect ModulesKuberneteskube_pvc_autoresizer
kube_pvc_autoresizer
Stable
Direct
Source Code Link

PVC Autoresizer

This module provides support for automatically expanding PVCs via the pvc-autoresizer project.

Custom Image

We provide our own images for the autoresizer because the upstream project only provides images that are compatible with amd64 system architectures. Our image is multi-platform and allows the autoresizer to run on arm64 nodes.

As a result, the pvc_autoresizer_version needs to be set to a commit hash that we have actually built. Not all commit hashes from the upstream project are available.

Providers

The following providers are needed by this module:

  • helm (2.12.1)

  • kubectl (2.0.4)

  • kubernetes (2.27.0)

  • pf (0.0.3)

  • random (3.6.0)

Required Inputs

No required inputs.

Optional Inputs

The following input variables are optional (have default values):

log_verbosity

Description: The log verbosity (0-9) for the VPA pods

Type: number

Default: 0

monitoring_enabled

Description: Whether to add active monitoring to the deployed systems

Type: bool

Default: false

panfactum_scheduler_enabled

Description: Whether to use the Panfactum pod scheduler with enhanced bin-packing

Type: bool

Default: true

prometheus_enabled

Description: Whether to use prometheus to get volume stats

Type: bool

Default: false

pull_through_cache_enabled

Description: Whether to use the ECR pull through cache for the deployed images

Type: bool

Default: true

pvc_autoresizer_helm_version

Description: The version of the pvc-autoresizer helm chart to deploy

Type: string

Default: "0.11.3"

pvc_autoresizer_version

Description: The commit sha of the pvc-autoresizer to deploy

Type: string

Default: "0723820ac895cfe86f49a2f582da59f95f02d9ae"

vpa_enabled

Description: Whether the VPA resources should be enabled

Type: bool

Default: true

Outputs

No outputs.

Usage

No notes