images/bootstrap_capz
Sidney Shiba a13dbd0dd1 Fixing AKS creation failure
When the capz.kubeconfig file was missing, the creation of AKS cluster
by the bootstrap container would fail when retrieving its kubeconfig
file. The issue was that the container tries to delete an existing
kubeconfig file and would fail if it didn't exist.

The fix was to check if the kubeconfig file existed prior to deleting
it.

Change-Id: Ibf135a11ae1928fc69c35cacdf0e1339629027f2
2021-01-07 13:13:31 -06:00
..
assets Bootstrap container for Azure 2020-11-02 14:54:04 -06:00
config Fixing AKS creation failure 2021-01-07 13:13:31 -06:00
Dockerfile Bootstrap container for Azure 2020-11-02 14:54:04 -06:00
Makefile Allow GCP SDK and AZURE SDK image customization 2020-12-09 10:26:12 +00:00
README.md Bootstrap container for Azure 2020-11-02 14:54:04 -06:00
azure-config.json Bootstrap container for Azure 2020-11-02 14:54:04 -06:00
azure-config.yaml Bootstrap container for Azure 2020-11-02 14:54:04 -06:00
bootstrap-env.list Bootstrap container for Azure 2020-11-02 14:54:04 -06:00
main.go Bootstrap container for Azure 2020-11-02 14:54:04 -06:00

README.md

Azure Bootstrap Container

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

The Azure Bootstrap container is responsible to create or delete a Kubernetes (K8S) cluster on Azure Cloud platform using the AKS (Azure Kubernetes Service).

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., azure-config.yaml) to determine the Azure 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 Azure 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.