images/bootstrap_capg
Dinesh Garg 028fc00390 Allow GCP SDK and AZURE SDK image customization
Modify airship-images-publish playbook and makefiles to add
GCP_SDK and AZ_SDK variable to run the post job on internal
zuul setup

Change-Id: I516e71999330754dce6915c1da954492cb5a8f12
2020-12-09 10:26:12 +00:00
..
assets Bootstrap container code for GCP 2020-10-15 16:10:08 -05:00
config Bootstrap container code for GCP 2020-10-15 16:10:08 -05:00
bootstrap-env.list Bootstrap container code for GCP 2020-10-15 16:10:08 -05:00
Dockerfile Change user creation from adduser to useradd 2020-10-28 16:51:37 -05:00
gcp-config.json Bootstrap container code for GCP 2020-10-15 16:10:08 -05:00
gcp-config.yaml Bootstrap container code for GCP 2020-10-15 16:10:08 -05:00
gcp-credentials.json Bootstrap container code for GCP 2020-10-15 16:10:08 -05:00
main.go Bootstrap container code for GCP 2020-10-15 16:10:08 -05:00
Makefile Allow GCP SDK and AZURE SDK image customization 2020-12-09 10:26:12 +00:00
README.md Bootstrap container code for GCP 2020-10-15 16:10:08 -05:00

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.