k8s-snapshots

module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2021 License: Apache-2.0

README

k8s-snapshots

K8s-snapshots is a small snapshot manager for k8s clusters written in Golang.

Requirements

Application requires to have CRD from external-snapshotter repository and Volume driver with Snapshot support.

Basics

Application lists all own resources to define rules for snapshotting. Now only daily backups are supported with 7-day retention.

Example

Currently, the application supports only own CRD for snapshots' management, example below:

apiVersion: "k8ssnapshots.io/v1alpha1"
kind: SnapshotRule
metadata:
  name: zookeeper
  namespace: kafka
spec:
  selector:
    matchLabels:
      app.kubernetes.io/name: zookeeper

Directories

Path Synopsis
pkg
apis/snapshotrule/v1alpha1
+kubebuilder:object:generate=true
+kubebuilder:object:generate=true
generated/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
generated/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
generated/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
generated/clientset/versioned/typed/snapshotrule/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
generated/clientset/versioned/typed/snapshotrule/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL