diff --git a/README.md b/README.md index 602dd70..3298ca2 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,8 @@ Before you begin, you will need to install the following software on your local 2. Kind: Kind is a tool for creating local Kubernetes clusters using Docker container "nodes". You can download Kind from https://kind.sigs.k8s.io/docs/user/quick-start/. +3. Terraform: Terraform lets you define what your infrastructure looks like in a single configuration file. This file describes things like virtual machines, storage, and networking. Terraform then takes that configuration and provisions (creates) all the resources you need in the cloud, following your instructions. + ### Create Kubernetes cluster For creating kubernetes cluster run the following command @@ -51,3 +53,17 @@ To enable ingress run the command: kubectl apply --context kind-openaire-data-platform -f ./clusters/local/nginx-kind-deploy.yaml ``` + +### Define the cluster + +- Generate a terraform variable file starting from the file ```local.tfvars.template``` and save as ```local.tfvars``` +- Initialize terraform: + ```console + terraform init + ```` +- Create the cluster: + ```console + terraform apply -var-file="local.tfvars" + ``` + +