kubestash-operator

by AppsCode Inc.

Helm chartv0.32.0App v0.32.0Verified publisher

KubeStash, Kubernetes native backup operator by AppsCode

About this chart

KubeStash

KubeStash by AppsCode - KubeStash a successor of Stash by AppsCode is a Kubernetes native disaster recovery tool.

TL;DR;

$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm search repo appscode/kubestash-operator --version=v0.32.0
$ helm upgrade -i kubestash-operator appscode/kubestash-operator -n kubestash --create-namespace --version=v0.32.0

Introduction

This chart deploys KubeStash operator on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.21+

Installing the Chart

To install/upgrade the chart with the release name kubestash-operator:

$ helm upgrade -i kubestash-operator appscode/kubestash-operator -n kubestash --create-namespace --version=v0.32.0

The command deploys KubeStash operator on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall the kubestash-operator:

$ helm uninstall kubestash-operator -n kubestash

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following table lists the configurable parameters of the kubestash-operator chart and their default values.

ParameterDescriptionDefault
nameOverrideOverrides name template""
fullnameOverrideOverrides fullname template""
replicaCountNumber of stash operator replicas to create (only 1 is supported)1
licenseLicense for the product. Get a license by following the steps from here. Example: helm install appscode/kubestash-operator \ --set-file license=/path/to/license/file or helm install appscode/kubestash-operator \ --set license=<license file content>""
registryFQDNDocker registry fqdn used to pull Stash related images. Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image}ghcr.io
taskQueue.enabled# Enable Task Queue feature maintains a concurrent Queue pool of BackupSessions, # User can provide a predefined number of max concurrent BackupSessions can run at a time.false
taskQueue.maxConcurrentSessionsIt'll be applicable only If the EnableTaskQueue=true. It defines the Max concurrent BackupSessions that can run at a time.10
operator.registryDocker registry used to pull operator imagekubestash
operator.repositoryName of operator container imagekubestash
operator.tagOperator container image tag""
operator.resourcesCompute Resources required by the operator container{"requests":{"cpu":"100m"}}
operator.securityContextSecurity options this container should run with{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"runAsUser":65534,"seccompProfile":{"type":"RuntimeDefault"}}
cleaner.registryDocker registry used to pull Webhook cleaner imageappscode
cleaner.repositoryWebhook cleaner container imagekubectl-nonroot
cleaner.tagWebhook cleaner container image tag"1.34"
cleaner.skipSkip generating cleaner YAMLfalse
cleaner.securityContextSecurity options this container should run with{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"runAsUser":65534,"seccompProfile":{"type":"RuntimeDefault"}}
cleaner.nodeSelectorNode labels for pod assignment{"kubernetes.io/os":"linux"}
cleaner.tolerationsTolerations for pod assignment

Deploy kubestash-operator with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kubestash-operator on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartkubestash-operator is pinned at v0.32.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply