EndpointConditionsPatchArgs

data class EndpointConditionsPatchArgs(val ready: Output<Boolean>? = null, val serving: Output<Boolean>? = null, val terminating: Output<Boolean>? = null) : ConvertibleToJava<EndpointConditionsPatchArgs>

EndpointConditions represents the current condition of an endpoint.

Constructors

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

Properties

Link copied to clipboard
val ready: Output<Boolean>? = null

ready 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.

Link copied to clipboard
val serving: Output<Boolean>? = null

serving 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".

Link copied to clipboard
val terminating: Output<Boolean>? = null

terminating indicates that this endpoint is terminating. A nil value should be interpreted as "false".

Functions

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