Skip to main content
Schemaobject

io.k8s.api.discovery.v1.Endpoint

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

Source
specs/apis__discovery.k8s.io__v1_openapi.json
Revision
9a79c3bd90f7
Active snapshot
2a9112600697
addresses array
required

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.

conditions
optional

conditions contains information about the current status of the endpoint.

deprecatedTopology object
optional

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.

hints
optional

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

hostname string
optional

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.

nodeName string
optional

nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node.

targetRef
optional

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

zone string
optional

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