Files
deprecated-helm-charts/stable/ark
Andrew PlummerandKubernetes Prow Robot 296bd9909d [stable/ark] CRD hooks and schedules (#7165)
* [stable/ark] Refactor to use crd-install hook

Signed-off-by: Andrew Plummer <plummer574@gmail.com>

* [stable/ark] Add option to create schedules

Signed-off-by: Andrew Plummer <plummer574@gmail.com>

* [stable/ark] Bump chart version number

Signed-off-by: Andrew Plummer <plummer574@gmail.com>

* [stable/ark] Set required tiller version

Signed-off-by: Andrew Plummer <plummer574@gmail.com>

* [stable/ark] CR: Un-capture root context

Signed-off-by: Andrew Plummer <plummer574@gmail.com>
2019-01-17 03:52:56 -08:00
..

Ark-server

This helm chart installs Ark version v0.9.0 https://github.com/heptio/ark/tree/v0.9.0

Prerequisites

Secret for cloud provider credentials

Ark server needs an IAM service account in order to run, if you don't have it you must create it. Please follow the official documentation: https://heptio.github.io/ark/v0.9.0/cloud-common

Don't forget the step to create the secret

kubectl create secret generic cloud-credentials --namespace <ARK_NAMESPACE> --from-file cloud=credentials-ark

Configuration

Please change the values.yaml according to your setup See here for the official documentation https://heptio.github.io/ark/v0.9.0/config-definition

Parameter Description Default Required
cloudprovider Cloud provider nil yes
bucket Object storage where to store backups nil yes
region AWS region nil only if using AWS
apitimeout Api Timeout nil only if using Azure
credentials Credentials nil Yes (not required for kube2iam)
backupSyncPeriod How frequently Ark queries the object storage to make sure that the appropriate Backup resources have been created for existing backup files. 60m yes
gcSyncPeriod How frequently Ark queries the object storage to delete backup files that have passed their TTL. 60m yes
scheduleSyncPeriod How frequently Ark checks its Schedule resource objects to see if a backup needs to be initiated 1m yes
restoreOnlyMode When RestoreOnly mode is on, functionality for backups, schedules, and expired backup deletion is turned off. Restores are made from existing backup files in object storage. false yes
Parameter Description Default
image.repository Image repository gcr.io/heptio-images/ark
image.tag Image tag v0.9.1
image.pullPolicy Image pull policy IfNotPresent
podAnnotations Annotations for the Ark server pod {}
rbac.create If true, create and use RBAC resources true
rbac.server.serviceAccount.create Whether a new service account name that the server will use should be created true
rbac.server.serviceAccount.name Service account to be used for the server. If not set and rbac.server.serviceAccount.create is true a name is generated using the fullname template ``
resources Resource requests and limits {}
tolerations List of node taints to tolerate []
nodeSelector Node labels for pod assignment {}
configuration.persistentVolumeProvider.name The name of the cloud provider the cluster is using for persistent volumes, if any {}
configuration.persistentVolumeProvider.config.region The cloud provider region (AWS only) ``
configuration.persistentVolumeProvider.config.apiTimeout The API timeout (Azure only)
configuration.backupStorageProvider.name The name of the cloud provider that will be used to actually store the backups (aws, azure, gcp) ``
configuration.backupStorageProvider.bucket The storage bucket where backups are to be uploaded ``
configuration.backupStorageProvider.config.region The cloud provider region (AWS only) ``
configuration.backupStorageProvider.config.s3ForcePathStyle Set to true for a local storage service like Minio ``
configuration.backupStorageProvider.config.s3Url S3 url (primarily used for local storage services like Minio) ``
configuration.backupStorageProvider.config.kmsKeyId KMS key for encryption (AWS only) ``
configuration.backupSyncPeriod How frequently Ark queries the object storage to make sure that the appropriate Backup resources have been created for existing backup files 60m
configuration.extraEnvVars Key/values for extra environment variables such as AWS_CLUSTER_NAME, etc {}
configuration.gcSyncPeriod How frequently Ark queries the object storage to delete backup files that have passed their TTL 60m
configuration.scheduleSyncPeriod How frequently Ark checks its Schedule resource objects to see if a backup needs to be initiated 1m
configuration.resourcePriorities An ordered list that describes the order in which Kubernetes resource objects should be restored []
configuration.restoreOnlyMode When RestoreOnly mode is on, functionality for backups, schedules, and expired backup deletion is turned off. Restores are made from existing backup files in object storage false
credentials.existingSecret If specified and useSecret is true, uses an existing secret with this name instead of creating one ``
credentials.useSecret Whether a secret should be used. Set this to false when using kube2iam true
credentials.secretContents Contents for the credentials secret {}
schedules A dict of schedules {}

How to

helm install --name ark --namespace heptio-ark ./ark

Remove heptio/ark

Remember that when you remove Ark all backups remain untouched