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.
Version 5.0 of the HashiCorp Terraform AWS provider brings improvements to default tags, allowing practitioners to set tags at the provider level.
Learn how HashiCorp Terraform supports the deployment of Azure Linux container host for Azure Kubernetes Service (AKS).
New CI/CD pipeline templates for GitHub Actions and GitLab CI provide prescriptive guides for integrating with Terraform Cloud, and a new integration tool can help build workflows with other CI/CD platforms.