struct
Kubernetes::LimitRangeItem
- Kubernetes::LimitRangeItem
- Struct
- Value
- Object
Overview
LimitRangeItem defines a min/max usage limit for any resource that matches on kind.
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_core_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
-
#default : Hash(String, Quantity) | Nil
Default resource requirement limit value by resource name if resource limit is omitted.
-
#default=(default : Hash(String, Quantity) | Nil)
Default resource requirement limit value by resource name if resource limit is omitted.
-
#default_request : Hash(String, Quantity) | Nil
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
-
#default_request=(default_request : Hash(String, Quantity) | Nil)
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
-
#max : Hash(String, Quantity) | Nil
Max usage constraints on this kind by resource name.
-
#max=(max : Hash(String, Quantity) | Nil)
Max usage constraints on this kind by resource name.
-
#max_limit_request_ratio : Hash(String, Quantity) | Nil
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.
-
#max_limit_request_ratio=(max_limit_request_ratio : Hash(String, Quantity) | Nil)
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.
-
#min : Hash(String, Quantity) | Nil
Min usage constraints on this kind by resource name.
-
#min=(min : Hash(String, Quantity) | Nil)
Min usage constraints on this kind by resource name.
-
#type : String | Nil
Type of resource that this limit applies to.
-
#type=(type : String | Nil)
Type of resource that this limit applies to.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
Default resource requirement limit value by resource name if resource limit is omitted.
Default resource requirement limit value by resource name if resource limit is omitted.
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.