kubernetes_endpoints_slice_v1

An EndpointSlice contains references to a set of network endpoints.

Example Usage

resource "kubernetes_endpoint_slice_v1" "test" {
  metadata {
    name = "test"
  }

  endpoint {
    condition {
      ready = true
    }
    addresses = ["129.144.50.56"]
  }

  port {
    port = "9000"
    name = "first"
  }

  address_type = "IPv4"
}

Argument Reference

The following arguments are supported:

Nested Blocks

metadata

Arguments

Attributes

endpoint

Arguments

condition

Attributes

target_ref

Attributes

port

Arguments