Endpoint
io.k8s.api.discovery.v1.Endpoint
source ↗
Endpoint represents a single logical "backend" implementing a service.
addresses[]string requiredaddresses 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.conditionsEndpointConditionsconditions contains information about the current status of the endpoint.
readybooleanready indicates that this endpoint is ready to receive traffic, according to whatever system is managing the endpoint. A nil value should be interpreted as "true". In general, an endpoint should be marked ready if it is serving and not terminating, though this can be overridden in some cases, such as when the associated Service has set the publishNotReadyAddresses flag.servingbooleanserving indicates that this endpoint is able to receive traffic, according to whatever system is managing the endpoint. For endpoints backed by pods, the EndpointSlice controller will mark the endpoint as serving if the pod's Ready condition is True. A nil value should be interpreted as "true".terminatingbooleanterminating indicates that this endpoint is terminating. A nil value should be interpreted as "false".deprecatedTopologymap[string]stringdeprecatedTopology 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.hintsEndpointHintshints contains information associated with how an endpoint should be consumed.
forNodes[]ForNodeforNodes indicates the node(s) this endpoint should be consumed by when using topology aware routing. May contain a maximum of 8 entries.
namestring requiredname represents the name of the node.forZones[]ForZoneforZones indicates the zone(s) this endpoint should be consumed by when using topology aware routing. May contain a maximum of 8 entries.
namestring requiredname represents the name of the zone.hostnamestringhostname 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.nodeNamestringnodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node.targetRefObjectReferencetargetRef is a reference to a Kubernetes object that represents this endpoint.
apiVersionstringAPI version of the referent.fieldPathstringIf referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.kindstringKind of the referent.More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsnamestringName of the referent.More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesnamespacestringNamespace of the referent.More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/resourceVersionstringSpecific resourceVersion to which this reference is made, if any.More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistencyuidstringUID of the referent.More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uidszonestringzone is the name of the Zone this endpoint exists in.