Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.03 KB

README.md

File metadata and controls

51 lines (34 loc) · 1.03 KB

terraform for kubernetes

Use terraform to manage state in a kubernetes cluster.

Contents

Overview

  1. configure the Kubernetes provider by creating a name-space.
  2. deploy the application in a pod.
  3. expose the pod to the users as a service.
  • NOTE: To do all these, you need to have your Kubernetes cluster up and running. personally, I used minikube. minikube's primary goal is to quickly set up local Kubernetes clusters, more information can be found here: what is minikube?

How to use?

Check your provider version and initialize Terraform.

terraform init

Now it's time to actually using apply.

terraform apply

Deletes and removes Terraform-managed infrastructure

terraform destroy

Roadmap

  • Deploy the Pod
  • Create Deployment
  • Expose The Pod With A Service
  • helm

Contribute

Contributions are always welcome!