From the course: Automating Kubernetes with GitOps

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Using Terraform to manage Kubernetes

Using Terraform to manage Kubernetes - Kubernetes Tutorial

From the course: Automating Kubernetes with GitOps

Using Terraform to manage Kubernetes

- All right, in the previous video you have seen how you can use Terraform to manage AWS instances. In this video I'll show you how to use Terraform to manage Kubernetes. So, in order to manage Kubernetes with Terraform, a Kubernetes provider is needed. And different providers are available to connect to Kubernetes in cloud as well as through local client configuration. And after making contact with Kubernetes, API resources can be created using Terraform. When stored in Git repositories, GitOps methodology can be used to manage the Kubernetes application resource lifecycle. And notice that Kubernetes internally provides similar solutions, like Kustomization. And alternatively, other IaC tools can be used. So, let me make it very clear before I continue. It's cool that you can manage Kubernetes with Terraform, but it's not mandatory. Terraform is just one of the solutions. There are other solutions. And maybe these other solutions are better, but people out there are using Terraform…

Contents