CLI tool and consumable library that supports download and upload operations which download objects from a k8s cluster into a local directory and upload objects from that local directory into a target k8s cluster.
Useful to load "test" clusters with "real" world cluster objects with minimal latency.
Usage
End user
Install: go install github.com/elankath/kcpcl
See help: kcpcl -h
Developer
Use the Makefile targets
See Available Make Targets: make help
GARDNER CLUSTERS: Generate viewer kubeconfigs for a cluster: make genkubeconfig
Requres LANDSCAPE, PROJECT and SHOOT env variables to be set.
This creates viewer kubeconfigs for a cluster and downloads them into the gen folder.