#kubernetes-cluster #download #resources #directory #tool #ice-kube

app freezer

A tool to download resources from a Kubernetes cluster to then be ingested by IceKube

1 stable release

1.0.0 Feb 14, 2024

#29 in #kubernetes-cluster

Apache-2.0

21KB
256 lines

Freezer

Freezer is a tool to download resources from a Kubernetes cluster in the same format needed for IceKube. Specifically, it is a rust implementation of the icekube download command.

Usage

# Quick run and download to dir/
cargo run dir/

# Build and run, the binary can also be uploaded elsewhere to be run from another location
cargo build --release
./target/release/freezer dir/

Permissions Required

This requires elevated privileges within the target cluster to enumerate resources. This typically requires read-only access on all resources within the cluster including secrets. Freezer does not persist any secret data it retrieves from secrets if that is a concern.

Dependencies

~61MB
~1M SLoC