images/bootstrap_capg/README.md
Sidney Shiba aa624ce27c Bootstrap container code for GCP
This commit provides the Go code and scripts for the Bootstrap container
for GCP.

The Bootstrap container (bootstrap_capg) for Google Cloud is designed to
accept three commands: create, delete and help.
- create - will create an Ephemeral GKE cluster in Google Cloud
- delete - will delete the Ephemeral GKE cluster from the Google Cloud
- help - Stdout the help text for using this container.

Please, refer to the bootstrap_capg/README.md for further details.

Change-Id: Ifad7c7a7fede0230029716c9e093449f5886e859
2020-10-15 16:10:08 -05:00

985 B

GCP Bootstrap Container

This project contains the Go application and configuration files for implementing the GCP Bootstrap container.

The GCP Bootstrap container is responsible to create or delete a Kubernetes (K8S) cluster on GCP Cloud platform using the GKE (Google Kubernetes Engine).

Go Application

The Go application is the bootstrap container orchestrator that is responsible for translating commands into actions: create, delete, help.

This Go application uses the Ephemeral cluster configuration file (e.g., gcp-config.yaml) to determine the Google Cloud credentials and data to use to create or delete the ephemeral cluster.

Dockerfile

The Dockerfile uses a multi-stage builds to first build the Go application then create the GCP bootstrap container image.

Build

To build the bootstrap container image, execute the following command:

make images

This command will build the Go application and then create the bootstrap container image.