Skip to content

Latest commit

 

History

History
43 lines (39 loc) · 1.7 KB

README.md

File metadata and controls

43 lines (39 loc) · 1.7 KB

Description

This repository contains a demo materials used for the following talks:

  • TBD

Additional materials

Prerequisites

Provisioning

First, you need to authenticate to Azure using Azure CLI or get a service principal credentials. Also, you need to create a Cloudflare API token. Then, copy the example .tfvars file and fill all required variables:

$ cp _terraform/terraform.tfvars.example _terraform/terraform.tfvars

Now the environment is ready to be provisioned. Run the following commands to create the infrastructure:

$ terraform -chdir=_terraform plan
$ terraform -chdir=_terraform apply

Usage

Then, modify secondary clusters credentials in the ./argocd/values.yaml file (lines 8,10,49,56). All required parameters can be found via the terraform output command.

When we have the infrastructure ready, we can bootstrap our ArgoCD cluster, run the following command:

$ task bootstrap

Finally, we can apply one of ArgoCD patterns:

$ task app-of-apps

or

$ task application-sets

For further customization, please check the directory of a pattern you've insterested in.