qmetrics.net

Terraform Provider Kubernetes

Terraform provider for full Kubernetes resource management

Terraform Provider Kubernetes 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

Kubernetes

Open-source container scheduling and management system

Kubernetes (K8s) manages containerized applications across many hosts. It automates deployment, scaling, and ongoing operations for grouped containers.

★ 129.4k⟳ yesterdayApache-2.0

K3s

Compact certified Kubernetes distribution for constrained environments

K3s packages production-ready Kubernetes in a single small binary with lighter memory use, aimed at edge, IoT, CI, development, and ARM deployments.

★ 34.5k⟳ 2 days agoApache-2.0

minikube

Local Kubernetes cluster for development and learning

Minikube runs a Kubernetes cluster on macOS, Linux, and Windows. It focuses on local app development and supports common Kubernetes features via CLI controls.

★ 32.3k⟳ 2 days agoApache-2.0

OpenFaaS

Serverless functions platform for Kubernetes

OpenFaaS deploys event-driven functions and microservices on Kubernetes using OCI images, with scaling, metrics, and a UI portal.

★ 26.3k⟳ 1 month agoMIT

Rancher

Multi-cluster Kubernetes and container management platform

Rancher is a container management stack for running and operating Kubernetes across environments. It targets production teams that need centralized cluster control, security, and DevOps tooling.

★ 26.1k⟳ todayApache-2.0

Kubespray

Ansible automation for production-ready Kubernetes clusters

Kubespray deploys highly available Kubernetes clusters on public clouds, OpenStack, vSphere, or bare metal. Ansible playbooks drive installation and upgrades across many Linux distributions.

★ 18.9k⟳ 2 days agoApache-2.0