qmetrics.net

Kubernetes Provider for Terraform

Terraform provider for full Kubernetes resource management

Kubernetes Provider for Terraform screenshot

HashiCorp-maintained Terraform plugin for creating, updating, and deleting Kubernetes resources across core and extension APIs.

Overview

The Kubernetes provider for Terraform is a plugin that manages the full lifecycle of Kubernetes objects. It supports deployments, services, custom resources and CRDs, policies, quotas, and resources across admission, apps, batch, networking, RBAC, storage, and related API groups.

The provider must be configured with cluster credentials before use. Common setups point at a kubeconfig file, explicit host and certificates, in-cluster configuration when running inside a cluster, or exec-based token refresh for clouds such as EKS. It requires Terraform v1.0.0 or newer.

When Terraform also provisions managed clusters from cloud providers, credentials from those resources can be passed into the Kubernetes provider. Documentation warns against creating cluster and Kubernetes resources in the same module in one apply, and recommends separate stages linked by data sources.

Optional provider-level ignore annotations and labels settings let Terraform skip external metadata changes. Guides cover stacking with AKS, EKS, and GKE workflows.

Key features

  • Lifecycle management for K8s resources
  • Kubeconfig and in-cluster auth
  • Exec plugins for short-lived tokens
  • CRD and manifest support
  • Ignore annotations and labels globally
  • Works with EKS, AKS, and GKE guides
  • Multiple API group resources
  • Separate apply patterns for new clusters

Use cases

  • GitOps-style cluster configuration
  • Namespaces and RBAC as code
  • Deploying apps after cluster creation
  • Managing networking and storage objects
  • Custom resource definitions in Terraform

Tags

Similar software

Boto3

Amazon Web Services SDK for Python

Boto3 is the AWS SDK for Python, letting developers call AWS services with Python code. It is maintained and published by Amazon Web Services and installable from PyPI.

★ 9.9k⟳ 2 days agoApache-2.0

AWS EKS Terraform module

Terraform module for Amazon EKS Kubernetes resources

This Terraform module provisions and configures Amazon Elastic Kubernetes Service clusters and related AWS resources from infrastructure code.

★ 5k⟳ 11 days agoApache-2.0

AzureRM Provider

Terraform provider for Azure Resource Manager APIs

The AzureRM provider lets Terraform manage Microsoft Azure resources through Azure Resource Manager from declarative configuration.

★ 5k⟳ todayMPL-2.0

AWS VPC Terraform module

Terraform module for AWS VPC networking resources

This Terraform module builds AWS VPCs with subnets, gateways, routing, and optional security and logging controls.

★ 3.3k⟳ 3 days agoApache-2.0

Terraform Google provider

Terraform plugin for Google Cloud resource lifecycle

Official Terraform provider plugin that lets Terraform create and manage Google Cloud Platform resources. Maintained jointly by Google and HashiCorp teams.

★ 2.7k⟳ 2 days agoMPL-2.0

Cloudflare Terraform Provider

Terraform provider for the Cloudflare REST API

The Cloudflare Terraform provider exposes Cloudflare account and zone settings to Terraform through the Cloudflare REST API.

★ 1.4k⟳ 16 days agoApache-2.0