Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/piomin/sample-terraform-kubernetes-argocd
Repository with configuration for Terraform and Argo CD to create and manage Kubernetes cluster locally with Kind
https://github.com/piomin/sample-terraform-kubernetes-argocd
argocd kafka kind kubernetes strimzi terraform terraform-kubernetes-provider
Last synced: about 1 month ago
JSON representation
Repository with configuration for Terraform and Argo CD to create and manage Kubernetes cluster locally with Kind
- Host: GitHub
- URL: https://github.com/piomin/sample-terraform-kubernetes-argocd
- Owner: piomin
- Created: 2022-06-27T22:21:40.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-22T17:12:17.000Z (7 months ago)
- Last Synced: 2024-05-23T05:38:57.398Z (7 months ago)
- Topics: argocd, kafka, kind, kubernetes, strimzi, terraform, terraform-kubernetes-provider
- Language: HCL
- Homepage: https://piotrminkowski.com/
- Size: 114 KB
- Stars: 45
- Watchers: 2
- Forks: 25
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Manage Kubernetes Cluster with Terraform and Argo CD [![Twitter](https://img.shields.io/twitter/follow/piotr_minkowski.svg?style=social&logo=twitter&label=Follow%20Me)](https://twitter.com/piotr_minkowski)
[![CircleCI](https://circleci.com/gh/piomin/sample-terraform-kubernetes-argocd.svg?style=svg)](https://circleci.com/gh/piomin/sample-terraform-kubernetes-argocd)
In this project I'm demonstrating you how to use [Terraform](https://www.terraform.io/) together with [Argo CD](https://argo-cd.readthedocs.io/en/stable/) to create and manage the Kubernetes cluster on [Kind](https://kind.sigs.k8s.io/).
## Prerequisites
1. Terraform CLI installed
2. Docker## Getting Started
You may the detailed explanation of that example repository in the following article: [Manage Kubernetes Cluster with Terraform and Argo CD](https://piotrminkowski.com/2022/06/28/manage-kubernetes-cluster-with-terraform-and-argo-cd/)
First, clone that repo:
```shell
$ git clone https://github.com/piomin/sample-terraform-kubernetes-argocd.git
$ cd sample-terraform-kubernetes-argocd
```Then initialize Terraform config:
```shell
terraform init
```Review the actions plan:
```shell
terraform plan
```Run the Terraform actions:
```shell
terraform apply
```## Results
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