EndpointConditionsPatch

data class EndpointConditionsPatch(val ready: Boolean? = null, val serving: Boolean? = null, val terminating: Boolean? = null)

EndpointConditions represents the current condition of an endpoint.

Constructors

Link copied to clipboard
constructor(ready: Boolean? = null, serving: Boolean? = null, terminating: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val ready: Boolean? = null

ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready.

Link copied to clipboard
val serving: Boolean? = null

serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.

Link copied to clipboard
val terminating: Boolean? = null

terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.