Difference between revisions of "Terraform provider: Kubernetes"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
  
 +
<pre>
 +
provider "kubernetes" {
 +
  config_path    = "~/.kube/config"
 +
  config_context = "my-context"
 +
}
 +
 +
resource "kubernetes_namespace" "example" {
 +
  metadata {
 +
    name = "my-first-namespace"
 +
  }
 +
}
 +
</pre>
  
  

Revision as of 19:37, 1 December 2021

Advertising: