a13dbd0dd1
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 |
||
---|---|---|
.. | ||
assets | ||
config | ||
azure-config.json | ||
azure-config.yaml | ||
bootstrap-env.list | ||
Dockerfile | ||
main.go | ||
Makefile | ||
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.