prune

package
v1.130.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package prune implements an operator-controlled cleanup policy for old KOTS support bundle archives and application version archives.

It is an undocumented escape hatch for operators under storage pressure: it is disabled by default and is configured by editing the kotsadm-confg ConfigMap directly (see kotsutil.InstallationParams and the prune-* keys). When enabled, one cleanup pass runs immediately at startup to address any existing backlog and then recurs daily.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start() error

Start reads the prune configuration from the kotsadm-confg ConfigMap. If prune is disabled, it is a no-op. If enabled, it runs one cleanup pass immediately (in the background, off the startup path) and schedules a daily recurring pass.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL