Skip to content

Commit dfb1b2d

Browse files
author
name
committed
deploy
1 parent 574e0f7 commit dfb1b2d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/metrics.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,20 @@ export interface NodeMetricsList {
5454
items: NodeMetric[];
5555
}
5656

57+
export interface SinglePodMetrics {
58+
kind: 'PodMetrics',
59+
apiVersion: 'metrics.k8s.io/v1beta1',
60+
metadata: {
61+
name: string;
62+
namespace: string;
63+
creationTimestamp: string;
64+
labels: { [key: string]: string }
65+
};
66+
timestamp: string;
67+
window: string;
68+
containers: ContainerMetric[];
69+
}
70+
5771
export class Metrics {
5872
private config: KubeConfig;
5973

0 commit comments

Comments
 (0)