Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 8 days 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 (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-10-31T18:40:25.000Z (about 2 months ago)
- Last Synced: 2024-12-15T14:02:23.831Z (10 days 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.