pflaeging / kubesicher

kubesicher is an attempt to serialize all objects from kubernetes as yaml files and put them structured in a git repo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kubesicher

About

kubesicher is an effort to make backups of k8s cluster in a structured way without dumping binary data.

The idea is really simple:

  • watch for object changes in a k8s cluster
  • serialize these changes as portable YAML definitions
  • put the objects in a git repo
  • finish

Structure

  1. Implement the commands in python using "kubectl" or "oc" (for OpenShift or OKD)
  2. Make an OCI container which can run in every k8s type cluster
  3. Schedule with k8s cronjobs
  4. Save in a defined git repo

Further documentation

Status

I'm just beginning, ...


Peter Pfläging peter@pflaeging.net

About

kubesicher is an attempt to serialize all objects from kubernetes as yaml files and put them structured in a git repo.

License:Apache License 2.0


Languages

Language:Python 100.0%