Appscode Stash Installation with Helm
Appscode Stash on Kubernetes
Kubernetes 1.20+
Helm 3.2.0+
Storage Class
helm repo add appscode https://charts.appscode.com/stable/
helm repo update appscode
cat <<EOF > stash-license
-----BEGIN CERTIFICATE-----
{your License}
-----END CERTIFICATE-----
EOF
helm upgrade stash appscode/stash \
--install \
--create-namespace \
--namespace backup-system \
--version 2023.5.31 \
--set features.community=true \
--set-file global.license=stash-license
Create Storage Secret (MINIO: Object Storage)
ResticPassword="admin"
AccessKey="MINIO_ACCESS_KEY_ID"
SecretKey="MINIO_SECRET_ACCESS_KEY"
kubectl create secret generic -n backup-system minio-secret \
--from-literal=RESTIC_PASSWORD=${ResticPassword} \
--from-literal=AWS_ACCESS_KEY_ID=${AccessKey} \
--from-literal=AWS_SECRET_ACCESS_KEY=${SecretKey}
Create Create Repository (MINIO: Object Storage)
cat << EOF | kubectl apply -f -
apiVersion: stash.appscode.com/v1alpha1
kind: Repository
metadata:
name: minio-repo
namespace: backup-system
spec:
backend:
s3:
endpoint: http://192.168.0.101:9000
bucket: stash
region: us-east-1
storageSecretName: minio-secret
EOF