58f39ffa95
This commit provides the Go code and scripts for the Bootstrap container for Azure. The Bootstrap container (bootstrap_capz) for Azure is designed to accept three commands: create, delete and help. - create - will create an Ephemeral AKS cluster in Azure Cloud - delete - will delete the Ephemeral AKS cluster from the Azure Cloud - help - Stdout the help text for using this container. Please, refer to the bootstrap_capz/README.md for further details. Change-Id: Id1947f7b831a5d6cf59296cf39ff2b436080483d
33 lines
990 B
Markdown
33 lines
990 B
Markdown
# 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:
|
|
|
|
```bash
|
|
make images
|
|
```
|
|
|
|
This command will build the Go application and then create the bootstrap
|
|
container image.
|