From: https://github.com/piomin/sample-terraform-kubernetes-argocd
In this project I'm demonstrating you how to use Terraform together with Argo CD to create and manage the Kubernetes cluster on Kind.
- Terraform CLI installed
- Docker
You may the detailed explanation of that example repository in the following article: Manage Kubernetes Cluster with Terraform and Argo CD
First, clone that repo:
$ git clone https://github.com/piomin/sample-terraform-kubernetes-argocd.git
$ cd sample-terraform-kubernetes-argocd
Then initialize Terraform config:
terraform init
Review the actions plan:
terraform plan
Run the Terraform actions:
terraform apply
After running the previous command you receive:
- 3-nodes Kind cluster running locally
- OLM (Operator Lifecycle Manager) installed on Kind
- Argo CD installed on Kind
- Kafka Strimzi operator ready to use
- 3-node Kafka cluster created on Kind