Class V2ContainerResourceMetricStatus
ContainerResourceMetricStatus indicates the current value of a resource metric
known to Kubernetes, as specified in requests and limits, describing a single
container in each pod in the current scale target (e.g. CPU or memory). Such
metrics are built in to Kubernetes, and have special scaling options on top of
those available to normal per-pod metrics using the "pods" source.
Inheritance
V2ContainerResourceMetricStatus
Assembly: KubernetesClient.dll
Syntax
public record V2ContainerResourceMetricStatus : IEquatable<V2ContainerResourceMetricStatus>
Constructors
View Source
V2ContainerResourceMetricStatus()
Declaration
public V2ContainerResourceMetricStatus()
View Source
V2ContainerResourceMetricStatus(V2ContainerResourceMetricStatus)
Declaration
protected V2ContainerResourceMetricStatus(V2ContainerResourceMetricStatus original)
Parameters
Properties
View Source
Container
container is the name of the container in the pods of the scaling target
Declaration
[JsonPropertyName("container")]
public string Container { get; set; }
Property Value
View Source
Current
current contains the current value for the given metric
Declaration
[JsonPropertyName("current")]
public V2MetricValueStatus Current { get; set; }
Property Value
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
Name
name is the name of the resource in question.
Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
Methods
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
Equals(V2ContainerResourceMetricStatus?)
Declaration
public virtual bool Equals(V2ContainerResourceMetricStatus? other)
Parameters
Returns
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
View Source
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
View Source
operator ==(V2ContainerResourceMetricStatus?, V2ContainerResourceMetricStatus?)
Declaration
public static bool operator ==(V2ContainerResourceMetricStatus? left, V2ContainerResourceMetricStatus? right)
Parameters
Returns
View Source
operator !=(V2ContainerResourceMetricStatus?, V2ContainerResourceMetricStatus?)
Declaration
public static bool operator !=(V2ContainerResourceMetricStatus? left, V2ContainerResourceMetricStatus? right)
Parameters
Returns
Implements