Code Monkey home page Code Monkey logo

gke-casa's Introduction

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

I just want to build a GKE Cluster to play with the various Data Management capabilities e.g. Backup/Restore, Disaster Recovery and Application Mobility. It is challenging to create a GKE cluster from Google Cloud if you are not familiar to it. After the GKE Cluster is up running, we still need to install a sample DB etc.. The whole process is not that simple.

This script based automation allows you to build a ready-to-use GKE cluster with PostgreSQL in about 5 minutes. For simplicity and cost optimization, the GKE cluster will have only one worker node and be built in the default vpc using the default subnet. This is bash shell based scripts which has been tested on Cloud Shell. Linux or MacOS terminal has not been tested though it might work as well.

Sign up a GCP Trial Account

IMAGE ALT TEXT HERE

Subscribe K8s Data Management Youtube Channel

Here're the prerequisities.

  1. Go to open Google Cloud Shell
  2. Clone the github repo to your local host, run below command
git clone https://github.com/yongkanghe/gke-casa.git;cd gke-casa
  1. Enable GKE API if not enabled
./createsa.sh
  1. Optionally, you can customize the clustername, machine-type, zone, region
vi setenv.sh

GKE Cluster Automation

  1. To deploy a GKE cluster
./gke-deploy.sh
  1. To destroy the GKE cluster after testing
./gke-destroy.sh

GKE Automation video

IMAGE ALT TEXT HERE

Subscribe K8s Data Management Youtube Channel

Secure GKE Containers via KubeArmor

Install KubeArmor via Automation

./karmor-deploy.sh

Uninstall KubeArmor via Automation

./karmor-destroy.sh

Secure GKE Containers via Falco

Install Falco via Automation

./falco-deploy.sh

Uninstall Falco via Automation

./falco-destroy.sh

Velero for GKE Automation

  1. 1 min to enable GKE Backup via Velero
./velero-deploy.sh
  1. To clean up Velero for GKE
./velero-destroy.sh

1 min to enable Containers Backup via Velero

IMAGE ALT TEXT HERE

Subscribe K8s Data Management Youtube Channel

3 mins to enable Containers Backup via CloudCasa

IMAGE ALT TEXT HERE

Subscribe K8s Data Management Youtube Channel

30 mins to enable Backup for GKE

IMAGE ALT TEXT HERE

Subscribe K8s Data Management Youtube Channel

Build a GKE cluster via Web UI

IMAGE ALT TEXT HERE

Subscribe K8s Data Management Youtube Channel

CloudCasa - Best Kubernetes Backup as a Service

https://cloudcasa.io

Contributors

Follow Yongkang He on LinkedIn

Join Kubernetes Data Management LinkedIn Group

Join Kubernetes Data Management Telegram Group

Join Kubernetes Meetup User Group

gke-casa's People

Contributors

yongkanghe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.