Please see our documentation for more information about Afi Kubernetes Backup features and use-cases - https://docs.afi.ai/kubernetes-backup/.
To install Afi Kubernetes Backup and protect your cluster, please go to the Afi portal and sign up using a Google Workspace or Microsoft 365 account. Once Afi account is created, you will be able to add a Kubernetes cluster.
1. Add Afi Helm repo
helm repo add afi https://helm.afi.ai/k8s-backup
2. Download Helm chart config
config.yaml) from the Afi portal. Upon download you will need to select an Afi datacenter where you want to register your cluster, keep backup data, and the default timezone that will be later used to set up backup schedule for the cluster.
config.yamlin a secure location. Please note that if you download a new
config.yamlfrom the Afi portal, it invalidates the previous
config.yamlof the region.
3. Install the backup agent
helm install afi-k8s-backup afi/afi-k8s-backup \
-n backup-agent --create-namespace \
helm install \
afi-k8s-backup \ # helm release name
afi/afi-k8s-backup \ # "afi" is the name of a helm repo
\ # "afi-k8s-backup" is the chart name
-n backup-agent \ # install the agent into a namespace named "backup-agent"
--create-namespace \ # and create that namespace automatically
--wait \ # wait for the agent to install and start
-f config.yaml \ # configure the installer chart to register
\ # the cluster in the afi management portal