MiniCluster
This module aims to deploy a Kubernetes cluster by using minikube
Requirements
Since we will be deploying ArgoCD & Airflow in the local k8s cluster, we should provide at least 8GB & 4 CPUs.
minikube drivers
The docker driver does not support the ingress add-on so we advice to use the qemu driver in M1 & M2 Macs, since hyperkit is not supported in arm architecture.
Requirements
| Name | Version |
|---|---|
| terraform | >= 1.7.4 |
| minikube | ~> 0.3.10 |
Providers
| Name | Version |
|---|---|
| minikube | ~> 0.3.10 |
Modules
No modules.
Resources
| Name | Type |
|---|---|
| minikube_cluster.cluster | resource |
Inputs
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| cpus | Amount of CPUs to allocate to Kubernetes | number |
4 |
no |
| driver | Minikube driver | string |
n/a | yes |
| memory | Amount of RAM to allocate to Kubernetes | string |
"8g" |
no |
| name | Cluster name | string |
n/a | yes |
| network | Network to run minikube with | string |
null |
no |
Outputs
| Name | Description |
|---|---|
| client_certificate | Client certificate used in cluster |
| client_key | Client key for cluster |
| cluster_ca_certificate | Certificate authority for cluster |
| host | The host name for the cluster |