Class PodMetrics
Describes the resource usage metrics of a pod pull from metrics server API.
Implements
Inherited Members
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public class PodMetrics : IMetadata<V1ObjectMeta>
Constructors
View SourcePodMetrics()
Declaration
public PodMetrics()
Properties
View SourceContainers
The list of containers metrics.
Declaration
[JsonPropertyName("containers")]
public List<ContainerMetrics> Containers { get; set; }
Property Value
| Type | Description |
|---|---|
| List<ContainerMetrics> |
Metadata
The kubernetes standard object's metadata.
Declaration
[JsonPropertyName("metadata")]
public V1ObjectMeta Metadata { get; set; }
Property Value
| Type | Description |
|---|---|
| V1ObjectMeta |
Timestamp
The timestamp when metrics were collected.
Declaration
[JsonPropertyName("timestamp")]
public DateTime? Timestamp { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
Window
The interval from which metrics were collected.
Declaration
[JsonPropertyName("window")]
public string Window { get; set; }
Property Value
| Type | Description |
|---|---|
| string |