Skip to content

3 minutes to protect containers on a running Alibaba Cloud ACK Kubernetes cluster (Postgresql+K10+Policy).

License

Notifications You must be signed in to change notification settings

yongkanghe/ack-k10

Repository files navigation

Follow @YongkangHe on Twitter, Subscribe K8s Data Management Youtube Channel

I just want to build an ACK Cluster (Alibaba Cloud Container Service for Kubernetes) to play with the various Data Management capabilities e.g. Backup/Restore, Disaster Recovery and Application Mobility.

It is challenging to create an ACK cluster from Alibaba Cloud if you are not familiar to it. After the ACK Cluster is up running, we still need to install Kasten, create a sample DB, create policies etc.. The whole process is not that simple.

image

This script based automation allows you to build a ready-to-use Kasten K10 demo environment running on ACK in about 3 minutes. If you don't have an ACK Cluster, you can watch the Youtube video and follow the guide to build an ACK cluster on Alibaba Cloud. Once the ACK Cluster is up running, you can proceed to the next steps.

Option 1: Build an ACK cluster via Web UI

IMAGE ALT TEXT HERE

Subscribe K8s Data Management Youtube Channel

Option 2: Build an ACK cluster via OpenAPI

IMAGE ALT TEXT HERE

Subscribe K8s Data Management Youtube Channel

Here're the prerequisities.

  1. Go to Alibaba Cloud Shell
  2. Verify if you can access the cluster via kubectl
kubectl get nodes
  1. Clone the github repo, run below command
git clone https://github.com/yongkanghe/ack-k10.git
  1. Install the tools and set Alibaba Cloud Access Credentials
cd ack-k10;./aliprep.sh
  1. Optionally, you can customize the clustername, instance-type, zone, region, bucketname
vi setenv.sh

To build the labs, run

./k10-deploy.sh
  1. Install Kasten K10
  2. Deploy a Postgresql database
  3. Create an Alicloud OSS location profile
  4. Create a backup policy for Postgresql
  5. Backup jobs scheduled automatically

To delete the labs, run

./k10-destroy.sh
  1. Remove Postgresql database
  2. Remove Kasten K10
  3. Remove all the relevant snapshots
  4. Remove the objects from the storage bucket

Cick my photo to watch how-to video.

IMAGE ALT TEXT HERE

Subscribe K8s Data Management Youtube Channel

For more details about ACK Backup and Restore

Backup Containers on ACK

http://backupack.yongkang.cloud

Automate Build and Protect ACK

http://automateack.yongkang.cloud

Kasten - No. 1 Self Managed Kubernetes Backup

https://kasten.io

CloudCasa - Best Kubernetes Backup as a Service

https://cloudcasa.io

FREE Kubernetes Learning

https://learning.kasten.io

Contributors

Follow Yongkang He on LinkedIn, Join Kubernetes Data Management LinkedIn Group

Releases

No releases published

Packages

No packages published

Languages