EndpointPatchArgs

data class EndpointPatchArgs(val addresses: Output<List<String>>? = null, val conditions: Output<EndpointConditionsPatchArgs>? = null, val deprecatedTopology: Output<Map<String, String>>? = null, val hints: Output<EndpointHintsPatchArgs>? = null, val hostname: Output<String>? = null, val nodeName: Output<String>? = null, val targetRef: Output<ObjectReferencePatchArgs>? = null, val zone: Output<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, deprecatedTopology: Output<Map<String, String>>? = null, hints: Output<EndpointHintsPatchArgs>? = null, hostname: Output<String>? = null, nodeName: Output<String>? = null, targetRef: Output<ObjectReferencePatchArgs>? = null, zone: Output<String>? = null)

Properties

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

addresses of this endpoint. For EndpointSlices of addressType "IPv4" or "IPv6", the values are IP addresses in canonical form. The syntax and semantics of other addressType values are not defined. This must contain at least one address but no more than 100. EndpointSlices generated by the EndpointSlice controller will always have exactly 1 address. No semantics are defined for additional addresses beyond the first, and kube-proxy does not look at them.

Link copied to clipboard

conditions contains information about the current status of the endpoint.

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

deprecatedTopology contains topology information part of the v1beta1 API. This field is deprecated, and will be removed when the v1beta1 API is removed (no sooner than kubernetes v1.24). While this field can hold values, it is not writable through the v1 API, and any attempts to write to it will be silently ignored. Topology information can be found in the zone and nodeName fields instead.

Link copied to clipboard
val hints: Output<EndpointHintsPatchArgs>? = null

hints contains information associated with how an endpoint should be consumed.

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 be lowercase and 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.

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 zone: Output<String>? = null

zone is the name of the Zone this endpoint exists in.

Functions

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