Kube-dump 1.0

Kube-dump 1.0

The first release of a utility has occurred, which allows for saving Kubernetes cluster resources in the form of clean yaml manifests without unnecessary metadata. The script is useful for those needing to transfer configurations between clusters without access to the original configuration files, or for setting up backup for cluster resources. It can be run locally as a bash script, but for those who do not want to install dependencies such as kubectl, jq, and yq, a container. The container is also ready to work as a CronJob using roles assigned in the Service Account.

Key features:

  • The saving operation is performed only for those resources for which you have read access.
  • You can specify a list of namespaces; otherwise, all available namespaces for your context will be used.
  • Both namespace resources and global cluster resources are subject to saving.
  • The utility can be used locally as a regular script or run in a container or in a Kubernetes cluster (for example, as a CronJob).
  • It can create archives and rotate them.
  • It can log the state in a git repository and push to a remote repository.
  • You can specify a specific list of cluster resources for export.

For more details on configuring and working with the script, read the documentation

Source: linux.org.ru

Buy reliable website hosting with DDoS protection, VPS VDS servers 🔥 Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster