Class NodeMetrics
Describes the resource usage metrics of a node pull from metrics server API.
Implements
Inherited Members
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public class NodeMetrics : IMetadata<V1ObjectMeta>
Constructors
View SourceNodeMetrics()
Declaration
public NodeMetrics()
Properties
View SourceMetadata
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? |
Usage
The resource usage.
Declaration
[JsonPropertyName("usage")]
public IDictionary<string, ResourceQuantity> Usage { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, ResourceQuantity> |
Window
The interval from which metrics were collected.
Declaration
[JsonPropertyName("window")]
public string Window { get; set; }
Property Value
| Type | Description |
|---|---|
| string |