struct
Kubernetes::EndpointConditions
- Kubernetes::EndpointConditions
- Struct
- Value
- Object
Overview
EndpointConditions represents the current condition of an endpoint.
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_discovery_v1.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : ::JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
- .new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Macro Summary
-
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion
Instance Method Summary
-
#ready : Bool | Nil
ready indicates that this endpoint is ready to receive traffic, according to whatever system is managing the endpoint.
-
#ready=(ready : Bool | Nil)
ready indicates that this endpoint is ready to receive traffic, according to whatever system is managing the endpoint.
-
#serving : Bool | Nil
serving indicates that this endpoint is able to receive traffic, according to whatever system is managing the endpoint.
-
#serving=(serving : Bool | Nil)
serving indicates that this endpoint is able to receive traffic, according to whatever system is managing the endpoint.
-
#terminating : Bool | Nil
terminating indicates that this endpoint is terminating.
-
#terminating=(terminating : Bool | Nil)
terminating indicates that this endpoint is terminating.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
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.
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.
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".
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".
terminating indicates that this endpoint is terminating. A nil value should be interpreted as "false".
terminating indicates that this endpoint is terminating. A nil value should be interpreted as "false".