From 4efe431ba4f46fbe59bb18a7fa5f4525506ac810 Mon Sep 17 00:00:00 2001 From: Rithin-QB Date: Tue, 10 Oct 2023 17:11:57 +0530 Subject: [PATCH] Update README.md with NGINX deployment instructions --- terraform/aws/modules/eks/README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/terraform/aws/modules/eks/README.md b/terraform/aws/modules/eks/README.md index 06e243b..2768659 100644 --- a/terraform/aws/modules/eks/README.md +++ b/terraform/aws/modules/eks/README.md @@ -6,7 +6,7 @@ This Terraform project sets up an Amazon Web Services (AWS) Elastic Kubernetes S The project is organized into the following directories and files: -- **/DevOps-Automations/terraform/aws/modules/eks**: This directory contains the Terraform modules for setting up the EKS cluster and related infrastructure components. +- **/home/rithin/Documents/Code/DevOps-OpenSource/DevOps-Automations/terraform/aws/modules/eks**: This directory contains the Terraform modules for setting up the EKS cluster and related infrastructure components. - `eks-node-group.tf`: Defines the EKS node group resources, including the IAM role, policies, and the node group itself. - `eks.tf`: Configures the EKS cluster, including IAM roles and policies. @@ -18,7 +18,7 @@ The project is organized into the following directories and files: - `variables.tf`: Declares input variables used throughout the module. - `outputs.tf`: Defines the output values of the module. -- **/DevOps-Automations/terraform/aws/examples/eks**: This directory contains example configurations that use the EKS module defined in the `modules/eks` directory. +- **/home/rithin/Documents/Code/DevOps-OpenSource/DevOps-Automations/terraform/aws/examples/eks**: This directory contains example configurations that use the EKS module defined in the `modules/eks` directory. - `provider.tf`: Configures the Terraform provider for AWS and specifies the default AWS region. - `main.tf`: Calls the EKS module and passes input variables to create an EKS cluster and its associated infrastructure. @@ -78,8 +78,14 @@ To use this Terraform project, follow these steps: kubectl apply -f app.yaml ``` 8. Access the Application: - After a few moments, you should be able to access the NGINX web application using the Load Balancer's DNS name or IP address. + After a few moments, you should be able to access the NGINX web application using the Load Balancer's DNS name or IP address. + +9. Delete NGINX Pods and Service (Before Cleanup): + ```bash + kubectl delete -f app.yaml + ``` + **Cleanup**