Explore a new collection of Terraform tutorials that can help you through your Kubernetes adoption journey.
Kubernetes is a popular, open-source container orchestration tool adopted by many organizations. We created a collection of Terraform tutorials that can help you through your Kubernetes adoption journey.
The first set of tutorials is designed to help you provision a Kubernetes cluster on popular cloud providers. These tutorials leverage both Terraform modules and resources to provision a functional cluster that you can connect to and interact with.
kubectl
and deploy the Kubernetes dashboard and metrics server onto the newly provisioned cluster.kubectl
to interact with the newly provisioned cluster.kubectl
and deploy the Kubernetes dashboard onto the newly provisioned cluster.You can use the Terraform Kubernetes provider to manage your newly provisioned Kubernetes cluster (or an existing one).
In the Manage Kubernetes Resources via Terraform tutorial, you will schedule an NGINX instance and expose it using the Terraform Kubernetes Provider. Then, you will update the Terraform configuration to easily scale your NGINX deployment.
If you don’t have an existing Kubernetes cluster, we’ve also included instructions for kind, a tool for running local Kubernetes clusters using Docker containers.
In the last guide in our Kubernetes collection, Deploy Consul and Vault on Kubernetes with Run Triggers, you will create three Terraform Cloud workspaces to deploy a Consul-backed Vault cluster on a Kubernetes cluster hosted on Google Cloud.
Since these workspaces are interdependent, you will be leveraging run triggers to automatically create run plans for downstream workspaces. In addition, you will learn how to share data between workspaces using output
and terraform_remote_state
.
This tutorial highlights Terraform and Terraform Cloud (TFC) best practices for code management and modules.
General availability of HashiCorp Consul-Terraform-Sync (CTS) 0.6 represents a key step in the maturity of our Network Infrastructure Automation (NIA) solution.
Cloud Development Kit for Terraform (CDKTF) 0.11 introduces an easier way to add providers to your application and improvements to the debugging process.
HashiCorp adopts the community-created HCL Extension for Visual Studio Code and adds HCL 2.0 support.