Difference between revisions of "Terraform resource: kubernetes namespace"

From wikieduonline
Jump to navigation Jump to search
(Created page with "https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/namespace {{tf K8s}}")
 
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/namespace
 
https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/namespace
  
 +
* name - (Optional) Name of the namespace, must be unique. Cannot be updated
  
 +
== Official examples ==
 +
resource "kubernetes_namespace" "example" {
 +
  metadata {
 +
    annotations = {
 +
      name = "example-annotation"
 +
    }
 +
 +
    labels = {
 +
      mylabel = "label-value"
 +
    }
 +
 +
    name = "terraform-example-namespace"
 +
  }
 +
}
  
{{tf K8s}}
+
== Errors ==
 +
* <code>[[Error: namespaces "amazon-cloudwatch" already exists]]</code>
 +
 
 +
== See also ==
 +
* {{kubernetes_namespace}}
 +
* {{tf K8s}}
 +
 
 +
[[Category:Terraform]]

Latest revision as of 17:17, 1 February 2024

Advertising: