The Kubernetes (K8S) provider is used to interact with the resources supported by Kubernetes. The provider needs to be configured with the proper credentials before it can be used. Both backward and forward compatibility with Kubernetes API is mostly defined by the official K8S Go library (prior to 1.1 release) and client Go library which we ship with Terraform. Terraform providers for various cloud providers feature resources to spin up managed Kubernetes clusters on services such as EKS, AKS, and GKE. Such resources (or data sources) will have attributes that expose the credentials needed for the Kubernetes provider to connect to these clusters. To use these credentials with the Kubernetes provider, they can be interpolated into the respective attributes of the Kubernetes provider configuration block. The most reliable way to configure the Kubernetes provider is to ensure that the cluster itself and the Kubernetes provider resources can be managed with separate apply operations.

Features

  • Stacking with managed Kubernetes cluster resources
  • Documentation available
  • Examples available
  • The Kubernetes provider can get its configuration in two ways
  • Supply attributes to the provider block
  • You can also configure the host, basic auth credentials, and client certificate authentication explicitly or through environment variables

Project Samples

Project Activity

See All Activity >

License

Mozilla Public License 1.0 (MPL)

Follow Kubernetes Provider for Terraform

Kubernetes Provider for Terraform Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Kubernetes Provider for Terraform!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Container Management Software

Registered

2024-03-20