https://github.com/lilmonk/kind-terraform-setup
Deploy local kind cluster using terraform.
https://github.com/lilmonk/kind-terraform-setup
gitops kind terraform
Last synced: about 1 year ago
JSON representation
Deploy local kind cluster using terraform.
- Host: GitHub
- URL: https://github.com/lilmonk/kind-terraform-setup
- Owner: LilMonk
- License: mit
- Created: 2024-10-31T18:40:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-31T18:40:25.000Z (over 1 year ago)
- Last Synced: 2025-03-29T00:42:02.423Z (over 1 year ago)
- Topics: gitops, kind, terraform
- Language: HCL
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Setting Up a Local Kubernetes Cluster with Kind and Terraform
This repository contains scripts and configurations to set up a local Kubernetes cluster using [kind](https://kind.sigs.k8s.io/) and manage it with [Terraform](https://www.terraform.io/).
## Prerequisites
- [Docker](https://www.docker.com/)
- [kind](https://kind.sigs.k8s.io/)
- [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/)
- [Helm](https://helm.sh/docs/intro/install/)
- [Terraform](https://www.terraform.io/)
## Usage
1. **Initialize Terraform:**
```sh
make init
```
2. **Validate Terraform configuration:**
```sh
make validate
```
3. **Plan Terraform changes:**
```sh
make plan
```
4. **Apply Terraform changes:**
```sh
make apply AUTO_APPROVE=-auto-approve
```
5. **Destroy Terraform resources:**
```sh
make destroy AUTO_APPROVE=-auto-approve
```
## Contributing
Feel free to fork this repository and submit pull requests. Any contributions, suggestions, or improvements are welcome!
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.