Public Repository

Last pushed: 3 months ago
Short Description
A script to backup all Kubernetes YAML files in a cluster
Full Description

Kubernetes Backup

A script to backup all Kubernetes YAML files in a cluster. Attempts to post-process the files to prepare for restore into another cluster.

Example

Be sure to mount your kubeconfig file into the container

docker run --rm -it -v $HOME/.kube:/root/.kube -v $(pwd):/usr/src/app lifeway/kube-backup:latest

Environment Variables

BACKUP_DIR: The directory that Kubernetes YAML files are backed up to. - Default is "backup"

Docker Pull Command
Owner
lifeway

Comments (0)