Show / Hide Table of Contents

Class V1ExemptPriorityLevelConfiguration

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.

Inheritance
object
V1ExemptPriorityLevelConfiguration
Implements
IEquatable<V1ExemptPriorityLevelConfiguration>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1ExemptPriorityLevelConfiguration : IEquatable<V1ExemptPriorityLevelConfiguration>

Constructors

View Source

V1ExemptPriorityLevelConfiguration()

Declaration
public V1ExemptPriorityLevelConfiguration()
View Source

V1ExemptPriorityLevelConfiguration(V1ExemptPriorityLevelConfiguration)

Declaration
protected V1ExemptPriorityLevelConfiguration(V1ExemptPriorityLevelConfiguration original)
Parameters
Type Name Description
V1ExemptPriorityLevelConfiguration original

Properties

View Source

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type
View Source

LendablePercent

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 )

Declaration
[JsonPropertyName("lendablePercent")]
public int? LendablePercent { get; set; }
Property Value
Type Description
int?
View Source

NominalConcurrencyShares

nominalConcurrencyShares (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats nominally reserved for this priority level. This DOES NOT limit the dispatching from this priority level but affects the other priority levels through the borrowing mechanism. The server's concurrency limit (ServerCL) is divided among all the priority levels in proportion to their NCS values:

NominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)

Bigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level. This field has a default value of zero.

Declaration
[JsonPropertyName("nominalConcurrencyShares")]
public int? NominalConcurrencyShares { get; set; }
Property Value
Type Description
int?

Methods

View Source

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)
View Source

Equals(V1ExemptPriorityLevelConfiguration?)

Declaration
public virtual bool Equals(V1ExemptPriorityLevelConfiguration? other)
Parameters
Type Name Description
V1ExemptPriorityLevelConfiguration other
Returns
Type Description
bool
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()
View Source

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool
View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

View Source

operator ==(V1ExemptPriorityLevelConfiguration?, V1ExemptPriorityLevelConfiguration?)

Declaration
public static bool operator ==(V1ExemptPriorityLevelConfiguration? left, V1ExemptPriorityLevelConfiguration? right)
Parameters
Type Name Description
V1ExemptPriorityLevelConfiguration left
V1ExemptPriorityLevelConfiguration right
Returns
Type Description
bool
View Source

operator !=(V1ExemptPriorityLevelConfiguration?, V1ExemptPriorityLevelConfiguration?)

Declaration
public static bool operator !=(V1ExemptPriorityLevelConfiguration? left, V1ExemptPriorityLevelConfiguration? right)
Parameters
Type Name Description
V1ExemptPriorityLevelConfiguration left
V1ExemptPriorityLevelConfiguration right
Returns
Type Description
bool

Implements

IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX