struct
Kubernetes::ExemptPriorityLevelConfiguration
- Kubernetes::ExemptPriorityLevelConfiguration
- Struct
- Value
- Object
Overview
ExemptPriorityLevelConfiguration describes the configurable aspects of the handling of exempt requests. In the mandatory exempt configuration object the values in the fields here can be modified by authorized users, unlike the rest of the spec.
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_flowcontrol_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
-
#lendable_percent : Int32 | Nil
lendablePercentprescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. -
#lendable_percent=(lendable_percent : Int32 | Nil)
lendablePercentprescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. -
#nominal_concurrency_shares : Int32 | Nil
nominalConcurrencyShares(NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. -
#nominal_concurrency_shares=(nominal_concurrency_shares : Int32 | Nil)
nominalConcurrencyShares(NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
lendablePercent prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. This value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.
LendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )
lendablePercent prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. This value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.
LendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )