Class ContainerMetrics
Describes the resource usage metrics of a container pull from metrics server API.
Inherited Members
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public class ContainerMetrics
Constructors
View SourceContainerMetrics()
Declaration
public ContainerMetrics()
Properties
View SourceName
Defines container name corresponding to the one from pod.spec.containers.
Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Usage
The resource usage.
Declaration
[JsonPropertyName("usage")]
public IDictionary<string, ResourceQuantity> Usage { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, ResourceQuantity> |