Skip to content

deresolution20/tf-deploy-nginix-kubernetes

Repository files navigation

tf-deploy-nginix-kubernetes

Description

Building kubernetes cluster to deploy nginx resource using Terraform https://developer.hashicorp.com/terraform/tutorials/kubernetes/kubernetes-provider


Languages and Utilities Used

  • kubernetes

  • Terraform

Environments Used

  • Ubuntu 22.04

Program walk-through:

First, I had to install kubectl following the install doc

https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/#install-using-native-package-management

Once that was installed, I then installed kind to build the cluster.

https://kind.sigs.k8s.io/docs/user/quick-start

once both were installed I created the cluster and pulled the cluster info to add to terraform.tfvars.

with the variables set, I deployed the cluster using terraform and validated the deployment using kubectl

cluster dump



With the cluster validated, I verified Nginx was deployed using the localhost ip.



verify-nginx-loaded

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages