Skip to content

Use terraform to manage state in a minikube kubernetes cluster.

License

Notifications You must be signed in to change notification settings

vashian/terraform-kubernetes-basic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

Use terraform to manage state in a minikube kubernetes cluster.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages