mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-04 02:37:36 +00:00
endpointslice API: add accepting and terminating conditions
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
This commit is contained in:
10
api/openapi-spec/swagger.json
generated
10
api/openapi-spec/swagger.json
generated
@@ -10913,8 +10913,16 @@
|
||||
"io.k8s.api.discovery.v1beta1.EndpointConditions": {
|
||||
"description": "EndpointConditions represents the current condition of an endpoint.",
|
||||
"properties": {
|
||||
"accepting": {
|
||||
"description": "accepting 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.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"ready": {
|
||||
"description": "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.",
|
||||
"description": "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. For compatibility reasons, ready should never be \"true\" for terminating endpoints.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"terminating": {
|
||||
"description": "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.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user