EndpointPatchArgs

data class EndpointPatchArgs(val addresses: Output<List<String>>? = null, val conditions: Output<EndpointConditionsPatchArgs>? = null, val hostname: Output<String>? = null, val nodeName: Output<String>? = null, val targetRef: Output<ObjectReferencePatchArgs>? = null, val topology: Output<Map<String, String>>? = null) : ConvertibleToJava<EndpointPatchArgs>

Endpoint represents a single logical "backend" implementing a service.

Constructors

Link copied to clipboard
constructor(addresses: Output<List<String>>? = null, conditions: Output<EndpointConditionsPatchArgs>? = null, hostname: Output<String>? = null, nodeName: Output<String>? = null, targetRef: Output<ObjectReferencePatchArgs>? = null, topology: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val addresses: Output<List<String>>? = null

addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100.

Link copied to clipboard

conditions contains information about the current status of the endpoint.

Link copied to clipboard
val hostname: Output<String>? = null

hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must pass DNS Label (RFC 1123) validation.

Link copied to clipboard
val nodeName: Output<String>? = null

nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node. This field can be enabled with the EndpointSliceNodeName feature gate.

Link copied to clipboard
val targetRef: Output<ObjectReferencePatchArgs>? = null

targetRef is a reference to a Kubernetes object that represents this endpoint.

Link copied to clipboard
val topology: Output<Map<String, String>>? = null

topology contains arbitrary topology information associated with the endpoint. These key/value pairs must conform with the label format. https://kubernetes.io/docs/concepts/overview/working-with-objects/labels Topology may include a maximum of 16 key/value pairs. This includes, but is not limited to the following well known keys: * kubernetes.io/hostname: the value indicates the hostname of the node where the endpoint is located. This should match the corresponding node label.

Functions

Link copied to clipboard
open override fun toJava(): EndpointPatchArgs