struct
Kubernetes::ScaleStatus
- Kubernetes::ScaleStatus
- Struct
- Value
- Object
Overview
ScaleStatus represents the current status of a scale subresource.
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_autoscaling_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
-
#replicas : Int32 | Nil
replicas is the actual number of observed instances of the scaled object.
-
#replicas=(replicas : Int32 | Nil)
replicas is the actual number of observed instances of the scaled object.
-
#selector : String | Nil
selector is the label query over pods that should match the replicas count.
-
#selector=(selector : String | Nil)
selector is the label query over pods that should match the replicas count.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
replicas is the actual number of observed instances of the scaled object.
replicas is the actual number of observed instances of the scaled object.
selector is the label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
selector is the label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/