This repository creates an Azure Kubernetes Service and an API Management to demonstrate how you would use the Kubernetes API to create APIs in API Management
π
βββ [/.devcontainer](./.devcontainer/) contains the dev container with the installs necessary to run the project.
βββ [/apim_artifacts](./apim_artifacts/) this folder is created by the demo.
βββ [/apim_templates](./apim_templates/) holds the apim configuration that ASO will deploy.
βββ [/infrastructure](./infrastructure/) contains the Terraform infrastructure.
βββ [/scripts](./scripts/) contains scripts used to deploy project infrastructure.
βββ [Makefile](./Makefile) defines the set of operations that can be executed from the command line.
βββ [.env.example](./.env.example) contains the environment variables necessary to run the project.
This repository assumes that you are running this inside a VSCode DevContainer.
A makefile provides a frontend to interacting with the project. This makefile is self documentating, and has the following targets:
help π¬ This help message :)
infra ποΈ Create the cloud Infrastructure
aso βοΈ Setup Azure Service Operator
create_apim_artifacts βοΈ Create APIM Artifacts
add_apim_artifacts β¬οΈ Apply APIM Artifacts
remove_apim_artifacts β¬οΈ Remove APIM Artifacts
Make a copy of the .env.example
and call it .env
; then define an Azure region, unique prefix
and your Azure Subscription Id. Next run the following from a terminal: -
make infra
This will create an AKS and an APIM service - go make yourself some lunch!
Run the following from a terminal: -
make aso
Run the following from a terminal: -
make add_apim_artifacts
Run the following from a terminal: -
make remove_apim_artifacts