levelfour 1.9.0 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (245) hide show
  1. package/dist/api/types/AutomationAction.d.mts +1 -0
  2. package/dist/api/types/AutomationAction.d.ts +1 -0
  3. package/dist/api/types/AutomationAction.js +2 -1
  4. package/dist/api/types/AutomationAction.mjs +2 -1
  5. package/dist/api/types/AutomationEvent.d.mts +1 -1
  6. package/dist/api/types/AutomationEvent.d.ts +1 -1
  7. package/dist/api/types/AutoscalerInsight.d.mts +4 -1
  8. package/dist/api/types/AutoscalerInsight.d.ts +4 -1
  9. package/dist/api/types/BlockerTotals.d.mts +19 -1
  10. package/dist/api/types/BlockerTotals.d.ts +19 -1
  11. package/dist/api/types/ClaimBillRate.d.mts +15 -0
  12. package/dist/api/types/ClaimBillRate.d.ts +15 -0
  13. package/dist/api/types/ClaimBillRate.js +17 -0
  14. package/dist/api/types/ClaimBillRate.mjs +1 -0
  15. package/dist/api/types/ClusterFilterOptions.d.mts +1 -0
  16. package/dist/api/types/ClusterFilterOptions.d.ts +1 -0
  17. package/dist/api/types/ClusterFilterOptions.js +1 -0
  18. package/dist/api/types/ClusterFilterOptions.mjs +1 -0
  19. package/dist/api/types/ClusterHealth.d.mts +1 -1
  20. package/dist/api/types/ClusterHealth.d.ts +1 -1
  21. package/dist/api/types/ClusterItem.d.mts +18 -5
  22. package/dist/api/types/ClusterItem.d.ts +18 -5
  23. package/dist/api/types/ClusterItem.js +6 -0
  24. package/dist/api/types/ClusterItem.mjs +6 -0
  25. package/dist/api/types/ClusterSummary.d.mts +19 -1
  26. package/dist/api/types/ClusterSummary.d.ts +19 -1
  27. package/dist/api/types/ClusterSummary.js +5 -0
  28. package/dist/api/types/ClusterSummary.mjs +5 -0
  29. package/dist/api/types/ClusterUsageDay.d.mts +1 -1
  30. package/dist/api/types/ClusterUsageDay.d.ts +1 -1
  31. package/dist/api/types/ComputeMonth.d.mts +3 -2
  32. package/dist/api/types/ComputeMonth.d.ts +3 -2
  33. package/dist/api/types/ConsolidationBlocker.d.mts +19 -0
  34. package/dist/api/types/ConsolidationBlocker.d.ts +19 -0
  35. package/dist/api/types/ConsolidationBlocker.js +11 -0
  36. package/dist/api/types/ConsolidationBlocker.mjs +11 -0
  37. package/dist/api/types/ContainerDetail.d.mts +2 -0
  38. package/dist/api/types/ContainerDetail.d.ts +2 -0
  39. package/dist/api/types/CostSeries.d.mts +3 -2
  40. package/dist/api/types/CostSeries.d.ts +3 -2
  41. package/dist/api/types/CostSeries.js +2 -1
  42. package/dist/api/types/CostSeries.mjs +2 -1
  43. package/dist/api/types/DestinationTraffic.d.mts +17 -0
  44. package/dist/api/types/DestinationTraffic.d.ts +17 -0
  45. package/dist/api/types/DestinationTraffic.js +38 -0
  46. package/dist/api/types/DestinationTraffic.mjs +14 -0
  47. package/dist/api/types/Efficiency.d.mts +6 -0
  48. package/dist/api/types/Efficiency.d.ts +6 -0
  49. package/dist/api/types/EfficiencyPoint.d.mts +1 -0
  50. package/dist/api/types/EfficiencyPoint.d.ts +1 -0
  51. package/dist/api/types/FleetNamespace.d.mts +9 -0
  52. package/dist/api/types/FleetNamespace.d.ts +9 -0
  53. package/dist/api/types/FleetNamespace.js +4 -0
  54. package/dist/api/types/FleetNamespace.mjs +4 -0
  55. package/dist/api/types/FleetNodePool.d.mts +16 -6
  56. package/dist/api/types/FleetNodePool.d.ts +16 -6
  57. package/dist/api/types/FleetStorage.d.mts +3 -0
  58. package/dist/api/types/FleetStorage.d.ts +3 -0
  59. package/dist/api/types/FleetSummary.d.mts +15 -1
  60. package/dist/api/types/FleetSummary.d.ts +15 -1
  61. package/dist/api/types/FleetSummary.js +5 -0
  62. package/dist/api/types/FleetSummary.mjs +5 -0
  63. package/dist/api/types/FleetVolume.d.mts +23 -1
  64. package/dist/api/types/FleetVolume.d.ts +23 -1
  65. package/dist/api/types/FleetVolume.js +22 -0
  66. package/dist/api/types/FleetVolume.mjs +14 -0
  67. package/dist/api/types/FleetWorkload.d.mts +9 -0
  68. package/dist/api/types/FleetWorkload.d.ts +9 -0
  69. package/dist/api/types/FleetWorkload.js +4 -0
  70. package/dist/api/types/FleetWorkload.mjs +4 -0
  71. package/dist/api/types/HeldResources.d.mts +23 -0
  72. package/dist/api/types/HeldResources.d.ts +23 -0
  73. package/dist/api/types/HeldResources.js +39 -0
  74. package/dist/api/types/HeldResources.mjs +15 -0
  75. package/dist/api/types/Indicator.d.mts +6 -4
  76. package/dist/api/types/Indicator.d.ts +6 -4
  77. package/dist/api/types/Indicator.js +4 -4
  78. package/dist/api/types/Indicator.mjs +4 -4
  79. package/dist/api/types/IndicatorCount.d.mts +4 -4
  80. package/dist/api/types/IndicatorCount.d.ts +4 -4
  81. package/dist/api/types/IndicatorCount.js +4 -4
  82. package/dist/api/types/IndicatorCount.mjs +4 -4
  83. package/dist/api/types/KubernetesDataAvailability.d.mts +4 -0
  84. package/dist/api/types/KubernetesDataAvailability.d.ts +4 -0
  85. package/dist/api/types/NamespaceAutomation.d.mts +21 -0
  86. package/dist/api/types/NamespaceAutomation.d.ts +21 -0
  87. package/dist/api/types/NamespaceAutomation.js +4 -0
  88. package/dist/api/types/NamespaceAutomation.mjs +4 -0
  89. package/dist/api/types/NamespaceItem.d.mts +9 -0
  90. package/dist/api/types/NamespaceItem.d.ts +9 -0
  91. package/dist/api/types/NamespaceItem.js +4 -0
  92. package/dist/api/types/NamespaceItem.mjs +4 -0
  93. package/dist/api/types/NamespaceReliability.d.mts +4 -1
  94. package/dist/api/types/NamespaceReliability.d.ts +4 -1
  95. package/dist/api/types/NetworkLens.d.mts +2 -0
  96. package/dist/api/types/NetworkLens.d.ts +2 -0
  97. package/dist/api/types/NetworkTotals.d.mts +5 -1
  98. package/dist/api/types/NetworkTotals.d.ts +5 -1
  99. package/dist/api/types/NoReadyShare.d.mts +12 -0
  100. package/dist/api/types/NoReadyShare.d.ts +12 -0
  101. package/dist/api/types/NoReadyShare.js +17 -0
  102. package/dist/api/types/NoReadyShare.mjs +1 -0
  103. package/dist/api/types/NodeDetail.d.mts +2 -0
  104. package/dist/api/types/NodeDetail.d.ts +2 -0
  105. package/dist/api/types/NodeFacets.d.mts +3 -1
  106. package/dist/api/types/NodeFacets.d.ts +3 -1
  107. package/dist/api/types/NodeItem.d.mts +8 -4
  108. package/dist/api/types/NodeItem.d.ts +8 -4
  109. package/dist/api/types/NodeMonthlyPrice.d.mts +24 -0
  110. package/dist/api/types/NodeMonthlyPrice.d.ts +24 -0
  111. package/dist/api/types/NodeMonthlyPrice.js +35 -0
  112. package/dist/api/types/NodeMonthlyPrice.mjs +11 -0
  113. package/dist/api/types/NodePoolDay.d.mts +1 -1
  114. package/dist/api/types/NodePoolDay.d.ts +1 -1
  115. package/dist/api/types/NodePoolNode.d.mts +1 -1
  116. package/dist/api/types/NodePoolNode.d.ts +1 -1
  117. package/dist/api/types/NodePoolUsage.d.mts +16 -6
  118. package/dist/api/types/NodePoolUsage.d.ts +16 -6
  119. package/dist/api/types/OtherRightsizer.d.mts +14 -0
  120. package/dist/api/types/OtherRightsizer.d.ts +14 -0
  121. package/dist/api/types/OtherRightsizer.js +35 -0
  122. package/dist/api/types/OtherRightsizer.mjs +11 -0
  123. package/dist/api/types/PendingShare.d.mts +6 -0
  124. package/dist/api/types/PendingShare.d.ts +6 -0
  125. package/dist/api/types/PendingShare.js +17 -0
  126. package/dist/api/types/PendingShare.mjs +1 -0
  127. package/dist/api/types/PodCounts.d.mts +2 -2
  128. package/dist/api/types/PodCounts.d.ts +2 -2
  129. package/dist/api/types/PodsHour.d.mts +3 -1
  130. package/dist/api/types/PodsHour.d.ts +3 -1
  131. package/dist/api/types/PurchaseTypeShare.d.mts +4 -4
  132. package/dist/api/types/PurchaseTypeShare.d.ts +4 -4
  133. package/dist/api/types/ReliabilityCounts.d.mts +3 -0
  134. package/dist/api/types/ReliabilityCounts.d.ts +3 -0
  135. package/dist/api/types/ReliabilityDay.d.mts +8 -5
  136. package/dist/api/types/ReliabilityDay.d.ts +8 -5
  137. package/dist/api/types/ReliabilityEventDay.d.mts +4 -3
  138. package/dist/api/types/ReliabilityEventDay.d.ts +4 -3
  139. package/dist/api/types/ReliabilityLens.d.mts +2 -1
  140. package/dist/api/types/ReliabilityLens.d.ts +2 -1
  141. package/dist/api/types/ReliabilityTotals.d.mts +10 -1
  142. package/dist/api/types/ReliabilityTotals.d.ts +10 -1
  143. package/dist/api/types/ReplicaScaler.d.mts +4 -1
  144. package/dist/api/types/ReplicaScaler.d.ts +4 -1
  145. package/dist/api/types/RequestsAverage.d.mts +3 -1
  146. package/dist/api/types/RequestsAverage.d.ts +3 -1
  147. package/dist/api/types/ResourceCapacity.d.mts +1 -1
  148. package/dist/api/types/ResourceCapacity.d.ts +1 -1
  149. package/dist/api/types/ResourceEfficiency.d.mts +7 -1
  150. package/dist/api/types/ResourceEfficiency.d.ts +7 -1
  151. package/dist/api/types/RightsizedContainer.d.mts +19 -5
  152. package/dist/api/types/RightsizedContainer.d.ts +19 -5
  153. package/dist/api/types/RightsizedContainer.js +10 -1
  154. package/dist/api/types/RightsizedContainer.mjs +10 -1
  155. package/dist/api/types/SetTakeoverRequest.d.mts +13 -0
  156. package/dist/api/types/SetTakeoverRequest.d.ts +13 -0
  157. package/dist/api/types/SetTakeoverRequest.js +35 -0
  158. package/dist/api/types/SetTakeoverRequest.mjs +11 -0
  159. package/dist/api/types/SizingEvidence.d.mts +30 -0
  160. package/dist/api/types/SizingEvidence.d.ts +30 -0
  161. package/dist/api/types/SizingEvidence.js +40 -0
  162. package/dist/api/types/SizingEvidence.mjs +16 -0
  163. package/dist/api/types/SnapshotRange.d.mts +6 -0
  164. package/dist/api/types/SnapshotRange.d.ts +6 -0
  165. package/dist/api/types/SnapshotRange.js +17 -0
  166. package/dist/api/types/SnapshotRange.mjs +1 -0
  167. package/dist/api/types/SpendDay.d.mts +17 -2
  168. package/dist/api/types/SpendDay.d.ts +17 -2
  169. package/dist/api/types/SpendDay.js +18 -0
  170. package/dist/api/types/SpendDay.mjs +10 -0
  171. package/dist/api/types/SpendKpis.d.mts +13 -2
  172. package/dist/api/types/SpendKpis.d.ts +13 -2
  173. package/dist/api/types/SpendKpis.js +18 -0
  174. package/dist/api/types/SpendKpis.mjs +10 -0
  175. package/dist/api/types/SpendUnitCost.d.mts +1 -0
  176. package/dist/api/types/SpendUnitCost.d.ts +1 -0
  177. package/dist/api/types/SpotBalance.d.mts +4 -0
  178. package/dist/api/types/SpotBalance.d.ts +4 -0
  179. package/dist/api/types/StatusCount.d.mts +1 -0
  180. package/dist/api/types/StatusCount.d.ts +1 -0
  181. package/dist/api/types/StatusCount.js +1 -0
  182. package/dist/api/types/StatusCount.mjs +1 -0
  183. package/dist/api/types/StorageClassTotals.d.mts +2 -0
  184. package/dist/api/types/StorageClassTotals.d.ts +2 -0
  185. package/dist/api/types/StorageClassUsage.d.mts +4 -1
  186. package/dist/api/types/StorageClassUsage.d.ts +4 -1
  187. package/dist/api/types/TakeoverBlocker.d.mts +25 -0
  188. package/dist/api/types/TakeoverBlocker.d.ts +25 -0
  189. package/dist/api/types/TakeoverBlocker.js +42 -0
  190. package/dist/api/types/TakeoverBlocker.mjs +18 -0
  191. package/dist/api/types/UnitCosts.d.mts +1 -1
  192. package/dist/api/types/UnitCosts.d.ts +1 -1
  193. package/dist/api/types/UsageCoverage.d.mts +10 -0
  194. package/dist/api/types/UsageCoverage.d.ts +10 -0
  195. package/dist/api/types/UsageCoverage.js +17 -0
  196. package/dist/api/types/UsageCoverage.mjs +1 -0
  197. package/dist/api/types/UsageCoverageResponse.d.mts +6 -0
  198. package/dist/api/types/UsageCoverageResponse.d.ts +6 -0
  199. package/dist/api/types/UsageCoverageResponse.js +17 -0
  200. package/dist/api/types/UsageCoverageResponse.mjs +1 -0
  201. package/dist/api/types/UsageCoverageWindow.d.mts +8 -0
  202. package/dist/api/types/UsageCoverageWindow.d.ts +8 -0
  203. package/dist/api/types/UsageCoverageWindow.js +17 -0
  204. package/dist/api/types/UsageCoverageWindow.mjs +1 -0
  205. package/dist/api/types/UseMeasured.d.mts +9 -0
  206. package/dist/api/types/UseMeasured.d.ts +9 -0
  207. package/dist/api/types/UseMeasured.js +17 -0
  208. package/dist/api/types/UseMeasured.mjs +1 -0
  209. package/dist/api/types/UtilizationTarget.d.mts +34 -4
  210. package/dist/api/types/UtilizationTarget.d.ts +34 -4
  211. package/dist/api/types/UtilizationTarget.js +14 -1
  212. package/dist/api/types/UtilizationTarget.mjs +14 -1
  213. package/dist/api/types/VolumeItem.d.mts +23 -1
  214. package/dist/api/types/VolumeItem.d.ts +23 -1
  215. package/dist/api/types/VolumeItem.js +22 -0
  216. package/dist/api/types/VolumeItem.mjs +14 -0
  217. package/dist/api/types/Waste.d.mts +6 -2
  218. package/dist/api/types/Waste.d.ts +6 -2
  219. package/dist/api/types/WasteDay.d.mts +2 -0
  220. package/dist/api/types/WasteDay.d.ts +2 -0
  221. package/dist/api/types/WasteTotal.d.mts +4 -2
  222. package/dist/api/types/WasteTotal.d.ts +4 -2
  223. package/dist/api/types/WorkloadDay.d.mts +7 -0
  224. package/dist/api/types/WorkloadDay.d.ts +7 -0
  225. package/dist/api/types/WorkloadDetail.d.mts +8 -0
  226. package/dist/api/types/WorkloadDetail.d.ts +8 -0
  227. package/dist/api/types/WorkloadFacets.d.mts +4 -0
  228. package/dist/api/types/WorkloadFacets.d.ts +4 -0
  229. package/dist/api/types/WorkloadItem.d.mts +38 -0
  230. package/dist/api/types/WorkloadItem.d.ts +38 -0
  231. package/dist/api/types/WorkloadItem.js +20 -0
  232. package/dist/api/types/WorkloadItem.mjs +20 -0
  233. package/dist/api/types/WorkloadListItem.d.mts +38 -0
  234. package/dist/api/types/WorkloadListItem.d.ts +38 -0
  235. package/dist/api/types/WorkloadListItem.js +20 -0
  236. package/dist/api/types/WorkloadListItem.mjs +20 -0
  237. package/dist/api/types/index.d.mts +15 -0
  238. package/dist/api/types/index.d.ts +15 -0
  239. package/dist/api/types/index.js +30 -0
  240. package/dist/api/types/index.mjs +15 -0
  241. package/dist/version.d.mts +1 -1
  242. package/dist/version.d.ts +1 -1
  243. package/dist/version.js +1 -1
  244. package/dist/version.mjs +1 -1
  245. package/package.json +1 -1
@@ -8,7 +8,11 @@ export interface NamespaceItem {
8
8
  created_at?: (string | null) | undefined;
9
9
  /** Containers, volumes and data transfer; with include_idle, each day's container cost grows by that day's node idle over everything the cluster's containers cost that day */
10
10
  cost?: (number | null) | undefined;
11
+ /** Why the cost total beside it is null, and null when it is not. compute_unpriced: its own containers, or its cluster's nodes, ran and the bill has priced none of them, yet or at all, as the cluster's bill_status tells; its storage and data transfer alone are no total. nothing_priced: its cluster's nodes are priced, or did not run, and nothing of it carries a priced cost */
12
+ cost_unknown_reason?: (NamespaceItem.CostUnknownReason | null) | undefined;
11
13
  cost_share?: (number | null) | undefined;
14
+ /** Its share, from 0 to 1, of the CPU and memory the listed clusters' containers requested in the window: the average of its share of each resource they requested any of, the basis the cost series' requested metric shares out. Whatever the search or the recommendations chips keep, so it does not move with them. Null for __idle__ and __node__, and when nothing was requested */
15
+ request_share?: (number | null) | undefined;
12
16
  /** Against the previous window of equal length, before any idle is shared */
13
17
  cost_change_pct?: (number | null) | undefined;
14
18
  cpu_cost?: (number | null) | undefined;
@@ -57,6 +61,11 @@ export declare namespace NamespaceItem {
57
61
  readonly Node: "node";
58
62
  };
59
63
  type Kind = (typeof Kind)[keyof typeof Kind];
64
+ const CostUnknownReason: {
65
+ readonly ComputeUnpriced: "compute_unpriced";
66
+ readonly NothingPriced: "nothing_priced";
67
+ };
68
+ type CostUnknownReason = (typeof CostUnknownReason)[keyof typeof CostUnknownReason];
60
69
  const Recommendations: {
61
70
  readonly Enabled: "enabled";
62
71
  readonly Disabled: "disabled";
@@ -8,7 +8,11 @@ export interface NamespaceItem {
8
8
  created_at?: (string | null) | undefined;
9
9
  /** Containers, volumes and data transfer; with include_idle, each day's container cost grows by that day's node idle over everything the cluster's containers cost that day */
10
10
  cost?: (number | null) | undefined;
11
+ /** Why the cost total beside it is null, and null when it is not. compute_unpriced: its own containers, or its cluster's nodes, ran and the bill has priced none of them, yet or at all, as the cluster's bill_status tells; its storage and data transfer alone are no total. nothing_priced: its cluster's nodes are priced, or did not run, and nothing of it carries a priced cost */
12
+ cost_unknown_reason?: (NamespaceItem.CostUnknownReason | null) | undefined;
11
13
  cost_share?: (number | null) | undefined;
14
+ /** Its share, from 0 to 1, of the CPU and memory the listed clusters' containers requested in the window: the average of its share of each resource they requested any of, the basis the cost series' requested metric shares out. Whatever the search or the recommendations chips keep, so it does not move with them. Null for __idle__ and __node__, and when nothing was requested */
15
+ request_share?: (number | null) | undefined;
12
16
  /** Against the previous window of equal length, before any idle is shared */
13
17
  cost_change_pct?: (number | null) | undefined;
14
18
  cpu_cost?: (number | null) | undefined;
@@ -57,6 +61,11 @@ export declare namespace NamespaceItem {
57
61
  readonly Node: "node";
58
62
  };
59
63
  type Kind = (typeof Kind)[keyof typeof Kind];
64
+ const CostUnknownReason: {
65
+ readonly ComputeUnpriced: "compute_unpriced";
66
+ readonly NothingPriced: "nothing_priced";
67
+ };
68
+ type CostUnknownReason = (typeof CostUnknownReason)[keyof typeof CostUnknownReason];
60
69
  const Recommendations: {
61
70
  readonly Enabled: "enabled";
62
71
  readonly Disabled: "disabled";
@@ -29,6 +29,10 @@ var NamespaceItem;
29
29
  System: "system",
30
30
  Node: "node"
31
31
  };
32
+ NamespaceItem2.CostUnknownReason = {
33
+ ComputeUnpriced: "compute_unpriced",
34
+ NothingPriced: "nothing_priced"
35
+ };
32
36
  NamespaceItem2.Recommendations = {
33
37
  Enabled: "enabled",
34
38
  Disabled: "disabled",
@@ -6,6 +6,10 @@ var NamespaceItem;
6
6
  System: "system",
7
7
  Node: "node"
8
8
  };
9
+ NamespaceItem2.CostUnknownReason = {
10
+ ComputeUnpriced: "compute_unpriced",
11
+ NothingPriced: "nothing_priced"
12
+ };
9
13
  NamespaceItem2.Recommendations = {
10
14
  Enabled: "enabled",
11
15
  Disabled: "disabled",
@@ -3,8 +3,11 @@ export interface NamespaceReliability {
3
3
  restarts?: (number | null) | undefined;
4
4
  /** Container-hours throttled a quarter of the time or more */
5
5
  throttled_hours?: (number | null) | undefined;
6
+ /** Pods the kubelet evicted for node pressure */
6
7
  evictions?: (number | null) | undefined;
8
+ /** At most the pods moved off a node that a Spot interruption, an instance event or a Karpenter disruption (consolidation, drift, expiry) removed. They leave through the Eviction API, so evictions does not count them. Per removal, each workload counts the most of its pods that ran on the node at once in the hour the removal began, a pod that left the node earlier in that hour included. DaemonSet and static pods go with their node and are not counted, nor is a removal that began while the agent was not watching. A day is measured from agent 0.6.2 on, when every watched hour a removal's pods are read from carries the pods' peaks. Null unless the row's cluster measured every day of the window it reported */
9
+ drained_pods?: (number | null) | undefined;
7
10
  pending_seconds?: (number | null) | undefined;
8
- /** Current workloads whose indicators put them at risk */
11
+ /** Current workloads at high risk: an OOM kill, an eviction, no ready replica in two batches in a row, or a crash loop. Medium and low never count. An ephemeral one, a pull-request environment, counts only with include_ephemeral */
9
12
  at_risk?: number | undefined;
10
13
  }
@@ -3,8 +3,11 @@ export interface NamespaceReliability {
3
3
  restarts?: (number | null) | undefined;
4
4
  /** Container-hours throttled a quarter of the time or more */
5
5
  throttled_hours?: (number | null) | undefined;
6
+ /** Pods the kubelet evicted for node pressure */
6
7
  evictions?: (number | null) | undefined;
8
+ /** At most the pods moved off a node that a Spot interruption, an instance event or a Karpenter disruption (consolidation, drift, expiry) removed. They leave through the Eviction API, so evictions does not count them. Per removal, each workload counts the most of its pods that ran on the node at once in the hour the removal began, a pod that left the node earlier in that hour included. DaemonSet and static pods go with their node and are not counted, nor is a removal that began while the agent was not watching. A day is measured from agent 0.6.2 on, when every watched hour a removal's pods are read from carries the pods' peaks. Null unless the row's cluster measured every day of the window it reported */
9
+ drained_pods?: (number | null) | undefined;
7
10
  pending_seconds?: (number | null) | undefined;
8
- /** Current workloads whose indicators put them at risk */
11
+ /** Current workloads at high risk: an OOM kill, an eviction, no ready replica in two batches in a row, or a crash loop. Medium and low never count. An ephemeral one, a pull-request environment, counts only with include_ephemeral */
9
12
  at_risk?: number | undefined;
10
13
  }
@@ -2,5 +2,7 @@ import type * as LevelFour from "../index.mjs";
2
2
  export interface NetworkLens {
3
3
  totals: LevelFour.NetworkTotals;
4
4
  by_category: LevelFour.CategoryTransfer[];
5
+ /** Where the pods' bytes went, every destination in a fixed order, adding up to tx_bytes unless the flows counted more; null until the opt-in netflow component measured a flow in the window */
6
+ by_destination?: (LevelFour.DestinationTraffic[] | null) | undefined;
5
7
  days: LevelFour.NetworkDay[];
6
8
  }
@@ -2,5 +2,7 @@ import type * as LevelFour from "../index.js";
2
2
  export interface NetworkLens {
3
3
  totals: LevelFour.NetworkTotals;
4
4
  by_category: LevelFour.CategoryTransfer[];
5
+ /** Where the pods' bytes went, every destination in a fixed order, adding up to tx_bytes unless the flows counted more; null until the opt-in netflow component measured a flow in the window */
6
+ by_destination?: (LevelFour.DestinationTraffic[] | null) | undefined;
5
7
  days: LevelFour.NetworkDay[];
6
8
  }
@@ -1,7 +1,11 @@
1
1
  export interface NetworkTotals {
2
+ /** Bytes the pods received, hostNetwork pods left out */
2
3
  rx_bytes?: (number | null) | undefined;
4
+ /** Bytes the pods sent, hostNetwork pods left out */
3
5
  tx_bytes?: (number | null) | undefined;
4
6
  cost?: (number | null) | undefined;
5
- /** Cost per GiB the bill charged for */
7
+ /** Bytes the bill charged for, sent and received, in the categories it gives bytes for */
8
+ billed_bytes?: (number | null) | undefined;
9
+ /** The cost of the categories the bill gives bytes for, per GiB of billed_bytes */
6
10
  cost_per_gb?: (number | null) | undefined;
7
11
  }
@@ -1,7 +1,11 @@
1
1
  export interface NetworkTotals {
2
+ /** Bytes the pods received, hostNetwork pods left out */
2
3
  rx_bytes?: (number | null) | undefined;
4
+ /** Bytes the pods sent, hostNetwork pods left out */
3
5
  tx_bytes?: (number | null) | undefined;
4
6
  cost?: (number | null) | undefined;
5
- /** Cost per GiB the bill charged for */
7
+ /** Bytes the bill charged for, sent and received, in the categories it gives bytes for */
8
+ billed_bytes?: (number | null) | undefined;
9
+ /** The cost of the categories the bill gives bytes for, per GiB of billed_bytes */
6
10
  cost_per_gb?: (number | null) | undefined;
7
11
  }
@@ -0,0 +1,12 @@
1
+ export interface NoReadyShare {
2
+ /** Current workloads with replicas and none ready in two batches in a row (the no_ready_replica and crash_looping indicators) */
3
+ workloads: number;
4
+ /** Their restarts in the window: a crash loop restarts every few minutes */
5
+ restarts: number;
6
+ /** How many of them restarted in the window */
7
+ restart_workloads: number;
8
+ /** Their OOM kills in the window */
9
+ oom_kills: number;
10
+ /** How many of them were OOM killed in the window */
11
+ oom_workloads: number;
12
+ }
@@ -0,0 +1,12 @@
1
+ export interface NoReadyShare {
2
+ /** Current workloads with replicas and none ready in two batches in a row (the no_ready_replica and crash_looping indicators) */
3
+ workloads: number;
4
+ /** Their restarts in the window: a crash loop restarts every few minutes */
5
+ restarts: number;
6
+ /** How many of them restarted in the window */
7
+ restart_workloads: number;
8
+ /** Their OOM kills in the window */
9
+ oom_kills: number;
10
+ /** How many of them were OOM killed in the window */
11
+ oom_workloads: number;
12
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+ var NoReadyShare_exports = {};
16
+ module.exports = __toCommonJS(NoReadyShare_exports);
17
+ //# sourceMappingURL=NoReadyShare.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=NoReadyShare.mjs.map
@@ -23,4 +23,6 @@ export interface NodeDetail {
23
23
  /** Karpenter's Unconsolidatable and DisruptionBlocked events on it in the last 24 hours */
24
24
  karpenter_says: LevelFour.KarpenterMessage[];
25
25
  interruptions: LevelFour.Interruptions;
26
+ /** What the node costs now, as the consolidation blockers price it. Null for a node gone from the cluster, and for one neither its own bill nor a rate prices: never a list price. node.hourly_cost stays what its own bill measured over the window */
27
+ price?: (LevelFour.NodeMonthlyPrice | null) | undefined;
26
28
  }
@@ -23,4 +23,6 @@ export interface NodeDetail {
23
23
  /** Karpenter's Unconsolidatable and DisruptionBlocked events on it in the last 24 hours */
24
24
  karpenter_says: LevelFour.KarpenterMessage[];
25
25
  interruptions: LevelFour.Interruptions;
26
+ /** What the node costs now, as the consolidation blockers price it. Null for a node gone from the cluster, and for one neither its own bill nor a rate prices: never a list price. node.hourly_cost stays what its own bill measured over the window */
27
+ price?: (LevelFour.NodeMonthlyPrice | null) | undefined;
26
28
  }
@@ -2,6 +2,8 @@ import type * as LevelFour from "../index.mjs";
2
2
  export interface NodeFacets {
3
3
  /** Rows per value over the rows every other filter keeps, so a chip reads what choosing it gives */
4
4
  purchase_type: LevelFour.FacetCount[];
5
- /** Nodes by their one status: not_ready, else pressure, else cordoned, else ready; a removed node under none */
5
+ /** Nodes by their one status: not_ready, else pressure, else cordoned, else ready; a removed node under interrupted when an interruption fired on it since the window's first day, else under none */
6
6
  status?: LevelFour.FacetCount[] | undefined;
7
+ /** current for a node still in the cluster, removed for one gone from it that the list still shows */
8
+ state?: LevelFour.FacetCount[] | undefined;
7
9
  }
@@ -2,6 +2,8 @@ import type * as LevelFour from "../index.js";
2
2
  export interface NodeFacets {
3
3
  /** Rows per value over the rows every other filter keeps, so a chip reads what choosing it gives */
4
4
  purchase_type: LevelFour.FacetCount[];
5
- /** Nodes by their one status: not_ready, else pressure, else cordoned, else ready; a removed node under none */
5
+ /** Nodes by their one status: not_ready, else pressure, else cordoned, else ready; a removed node under interrupted when an interruption fired on it since the window's first day, else under none */
6
6
  status?: LevelFour.FacetCount[] | undefined;
7
+ /** current for a node still in the cluster, removed for one gone from it that the list still shows */
8
+ state?: LevelFour.FacetCount[] | undefined;
7
9
  }
@@ -3,6 +3,8 @@ export interface NodeItem {
3
3
  name: string;
4
4
  /** No longer in the cluster, listed for its cost in the window */
5
5
  removed?: boolean | undefined;
6
+ /** The end of the last batch that listed the node: for a node gone, when LevelFour last saw it */
7
+ last_seen_at?: (string | null) | undefined;
6
8
  provider_id?: (string | null) | undefined;
7
9
  instance_id?: (string | null) | undefined;
8
10
  instance_type?: (string | null) | undefined;
@@ -17,7 +19,7 @@ export interface NodeItem {
17
19
  node_group?: (string | null) | undefined;
18
20
  /** As the node is labelled: spot or on-demand */
19
21
  capacity_type?: (string | null) | undefined;
20
- /** From the bill when priced, else from the label */
22
+ /** Spot from its label, else how the bill bought its name's On-Demand capacity on the latest day it ran that the bill priced, else unknown */
21
23
  purchase_type: NodeItem.PurchaseType;
22
24
  /** CPU, memory, ephemeral storage, GPU and pod slots */
23
25
  capacity: LevelFour.ResourceList;
@@ -26,6 +28,7 @@ export interface NodeItem {
26
28
  capacity_memory_bytes?: (number | null) | undefined;
27
29
  allocatable_cpu_milli?: (number | null) | undefined;
28
30
  allocatable_memory_bytes?: (number | null) | undefined;
31
+ /** What its pods hold now: the pods of the latest batch on it, at their own requests; null for a node gone from the cluster */
29
32
  requested_cpu_milli?: (number | null) | undefined;
30
33
  requested_memory_bytes?: (number | null) | undefined;
31
34
  used_cpu_milli?: (number | null) | undefined;
@@ -51,6 +54,7 @@ export interface NodeItem {
51
54
  filesystem: LevelFour.NodeFilesystemUse;
52
55
  /** As of the latest hour reported */
53
56
  pids: LevelFour.PidUse;
57
+ /** The pods of the latest batch on it */
54
58
  pod_count: number;
55
59
  /** Pods running over allocatable pod slots */
56
60
  pod_slots_used?: (number | null) | undefined;
@@ -62,13 +66,13 @@ export interface NodeItem {
62
66
  deleting_since?: (string | null) | undefined;
63
67
  /** Annotated karpenter.sh/do-not-disrupt */
64
68
  do_not_disrupt?: boolean | undefined;
65
- /** Current pods that keep the autoscaler from removing the node; a static pod does not count */
69
+ /** Current pods that keep the autoscaler from removing the node; a static pod does not count. 0 on a node no autoscaler that consolidates removes: a node group's node while Cluster Autoscaler does not run, or a node in neither a NodePool nor a node group */
66
70
  blocking_pods?: number | undefined;
67
- /** The latest SpotInterrupted or CapacityReservationInstanceInterrupted event on the node */
71
+ /** The latest SpotInterrupted or CapacityReservationInstanceInterrupted event on the node since the window's first day; a removed node with one has the status interrupted */
68
72
  interrupted_at?: (string | null) | undefined;
69
73
  }
70
74
  export declare namespace NodeItem {
71
- /** From the bill when priced, else from the label */
75
+ /** Spot from its label, else how the bill bought its name's On-Demand capacity on the latest day it ran that the bill priced, else unknown */
72
76
  const PurchaseType: {
73
77
  readonly Spot: "spot";
74
78
  readonly OnDemand: "on_demand";
@@ -3,6 +3,8 @@ export interface NodeItem {
3
3
  name: string;
4
4
  /** No longer in the cluster, listed for its cost in the window */
5
5
  removed?: boolean | undefined;
6
+ /** The end of the last batch that listed the node: for a node gone, when LevelFour last saw it */
7
+ last_seen_at?: (string | null) | undefined;
6
8
  provider_id?: (string | null) | undefined;
7
9
  instance_id?: (string | null) | undefined;
8
10
  instance_type?: (string | null) | undefined;
@@ -17,7 +19,7 @@ export interface NodeItem {
17
19
  node_group?: (string | null) | undefined;
18
20
  /** As the node is labelled: spot or on-demand */
19
21
  capacity_type?: (string | null) | undefined;
20
- /** From the bill when priced, else from the label */
22
+ /** Spot from its label, else how the bill bought its name's On-Demand capacity on the latest day it ran that the bill priced, else unknown */
21
23
  purchase_type: NodeItem.PurchaseType;
22
24
  /** CPU, memory, ephemeral storage, GPU and pod slots */
23
25
  capacity: LevelFour.ResourceList;
@@ -26,6 +28,7 @@ export interface NodeItem {
26
28
  capacity_memory_bytes?: (number | null) | undefined;
27
29
  allocatable_cpu_milli?: (number | null) | undefined;
28
30
  allocatable_memory_bytes?: (number | null) | undefined;
31
+ /** What its pods hold now: the pods of the latest batch on it, at their own requests; null for a node gone from the cluster */
29
32
  requested_cpu_milli?: (number | null) | undefined;
30
33
  requested_memory_bytes?: (number | null) | undefined;
31
34
  used_cpu_milli?: (number | null) | undefined;
@@ -51,6 +54,7 @@ export interface NodeItem {
51
54
  filesystem: LevelFour.NodeFilesystemUse;
52
55
  /** As of the latest hour reported */
53
56
  pids: LevelFour.PidUse;
57
+ /** The pods of the latest batch on it */
54
58
  pod_count: number;
55
59
  /** Pods running over allocatable pod slots */
56
60
  pod_slots_used?: (number | null) | undefined;
@@ -62,13 +66,13 @@ export interface NodeItem {
62
66
  deleting_since?: (string | null) | undefined;
63
67
  /** Annotated karpenter.sh/do-not-disrupt */
64
68
  do_not_disrupt?: boolean | undefined;
65
- /** Current pods that keep the autoscaler from removing the node; a static pod does not count */
69
+ /** Current pods that keep the autoscaler from removing the node; a static pod does not count. 0 on a node no autoscaler that consolidates removes: a node group's node while Cluster Autoscaler does not run, or a node in neither a NodePool nor a node group */
66
70
  blocking_pods?: number | undefined;
67
- /** The latest SpotInterrupted or CapacityReservationInstanceInterrupted event on the node */
71
+ /** The latest SpotInterrupted or CapacityReservationInstanceInterrupted event on the node since the window's first day; a removed node with one has the status interrupted */
68
72
  interrupted_at?: (string | null) | undefined;
69
73
  }
70
74
  export declare namespace NodeItem {
71
- /** From the bill when priced, else from the label */
75
+ /** Spot from its label, else how the bill bought its name's On-Demand capacity on the latest day it ran that the bill priced, else unknown */
72
76
  const PurchaseType: {
73
77
  readonly Spot: "spot";
74
78
  readonly OnDemand: "on_demand";
@@ -0,0 +1,24 @@
1
+ /**
2
+ * What a node in the cluster costs on the bill, priced as the consolidation blockers price it, so the node drawer
3
+ * and the blockers list show one figure for one node.
4
+ */
5
+ export interface NodeMonthlyPrice {
6
+ /** Before the enterprise discount */
7
+ hourly: number;
8
+ /** After the discount lines and the commitments */
9
+ hourly_net: number;
10
+ /** hourly over the 720 hours of a 30-day month */
11
+ monthly: number;
12
+ /** hourly_net over the same hours */
13
+ monthly_net: number;
14
+ /** node_bill: its own bill per hour it ran over the last 7 days, measured. bill_rate: it is not on its own bill yet, and this is the hourly rate the bill charged in those days for its instance type and purchase option in the cluster's region, plus the EKS Auto Mode fee on an Auto Mode node: a rate, never its own measured cost */
15
+ priced_by: NodeMonthlyPrice.PricedBy;
16
+ }
17
+ export declare namespace NodeMonthlyPrice {
18
+ /** node_bill: its own bill per hour it ran over the last 7 days, measured. bill_rate: it is not on its own bill yet, and this is the hourly rate the bill charged in those days for its instance type and purchase option in the cluster's region, plus the EKS Auto Mode fee on an Auto Mode node: a rate, never its own measured cost */
19
+ const PricedBy: {
20
+ readonly NodeBill: "node_bill";
21
+ readonly BillRate: "bill_rate";
22
+ };
23
+ type PricedBy = (typeof PricedBy)[keyof typeof PricedBy];
24
+ }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * What a node in the cluster costs on the bill, priced as the consolidation blockers price it, so the node drawer
3
+ * and the blockers list show one figure for one node.
4
+ */
5
+ export interface NodeMonthlyPrice {
6
+ /** Before the enterprise discount */
7
+ hourly: number;
8
+ /** After the discount lines and the commitments */
9
+ hourly_net: number;
10
+ /** hourly over the 720 hours of a 30-day month */
11
+ monthly: number;
12
+ /** hourly_net over the same hours */
13
+ monthly_net: number;
14
+ /** node_bill: its own bill per hour it ran over the last 7 days, measured. bill_rate: it is not on its own bill yet, and this is the hourly rate the bill charged in those days for its instance type and purchase option in the cluster's region, plus the EKS Auto Mode fee on an Auto Mode node: a rate, never its own measured cost */
15
+ priced_by: NodeMonthlyPrice.PricedBy;
16
+ }
17
+ export declare namespace NodeMonthlyPrice {
18
+ /** node_bill: its own bill per hour it ran over the last 7 days, measured. bill_rate: it is not on its own bill yet, and this is the hourly rate the bill charged in those days for its instance type and purchase option in the cluster's region, plus the EKS Auto Mode fee on an Auto Mode node: a rate, never its own measured cost */
19
+ const PricedBy: {
20
+ readonly NodeBill: "node_bill";
21
+ readonly BillRate: "bill_rate";
22
+ };
23
+ type PricedBy = (typeof PricedBy)[keyof typeof PricedBy];
24
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var NodeMonthlyPrice_exports = {};
20
+ __export(NodeMonthlyPrice_exports, {
21
+ NodeMonthlyPrice: () => NodeMonthlyPrice
22
+ });
23
+ module.exports = __toCommonJS(NodeMonthlyPrice_exports);
24
+ var NodeMonthlyPrice;
25
+ ((NodeMonthlyPrice2) => {
26
+ NodeMonthlyPrice2.PricedBy = {
27
+ NodeBill: "node_bill",
28
+ BillRate: "bill_rate"
29
+ };
30
+ })(NodeMonthlyPrice || (NodeMonthlyPrice = {}));
31
+ // Annotate the CommonJS export names for ESM import in node:
32
+ 0 && (module.exports = {
33
+ NodeMonthlyPrice
34
+ });
35
+ //# sourceMappingURL=NodeMonthlyPrice.js.map
@@ -0,0 +1,11 @@
1
+ var NodeMonthlyPrice;
2
+ ((NodeMonthlyPrice2) => {
3
+ NodeMonthlyPrice2.PricedBy = {
4
+ NodeBill: "node_bill",
5
+ BillRate: "bill_rate"
6
+ };
7
+ })(NodeMonthlyPrice || (NodeMonthlyPrice = {}));
8
+ export {
9
+ NodeMonthlyPrice
10
+ };
11
+ //# sourceMappingURL=NodeMonthlyPrice.mjs.map
@@ -3,7 +3,7 @@ export interface NodePoolDay {
3
3
  /** Nodes that ran in the group that day */
4
4
  nodes: number;
5
5
  spot_nodes: number;
6
- /** Averaged over the hours the cluster reported that day */
6
+ /** Averaged over the seconds the agent watched the cluster that day */
7
7
  cpu_allocatable_milli?: (number | null) | undefined;
8
8
  cpu_requested_milli?: (number | null) | undefined;
9
9
  cpu_used_milli?: (number | null) | undefined;
@@ -3,7 +3,7 @@ export interface NodePoolDay {
3
3
  /** Nodes that ran in the group that day */
4
4
  nodes: number;
5
5
  spot_nodes: number;
6
- /** Averaged over the hours the cluster reported that day */
6
+ /** Averaged over the seconds the agent watched the cluster that day */
7
7
  cpu_allocatable_milli?: (number | null) | undefined;
8
8
  cpu_requested_milli?: (number | null) | undefined;
9
9
  cpu_used_milli?: (number | null) | undefined;
@@ -4,7 +4,7 @@ export interface NodePoolNode {
4
4
  capacity_type?: (string | null) | undefined;
5
5
  zone?: (string | null) | undefined;
6
6
  ready: boolean;
7
- /** What its pods requested in the latest live hour */
7
+ /** What its pods hold now, as the Nodes list reads it */
8
8
  requested_cpu_milli?: (number | null) | undefined;
9
9
  requested_memory_bytes?: (number | null) | undefined;
10
10
  allocatable_cpu_milli?: (number | null) | undefined;
@@ -4,7 +4,7 @@ export interface NodePoolNode {
4
4
  capacity_type?: (string | null) | undefined;
5
5
  zone?: (string | null) | undefined;
6
6
  ready: boolean;
7
- /** What its pods requested in the latest live hour */
7
+ /** What its pods hold now, as the Nodes list reads it */
8
8
  requested_cpu_milli?: (number | null) | undefined;
9
9
  requested_memory_bytes?: (number | null) | undefined;
10
10
  allocatable_cpu_milli?: (number | null) | undefined;
@@ -5,29 +5,35 @@ export interface NodePoolUsage {
5
5
  /** Set when grouped by instance type */
6
6
  instance_type?: (string | null) | undefined;
7
7
  arch?: (string | null) | undefined;
8
- /** Nodes that ran in the group in the window */
8
+ /** The instances the agent saw in the group in the window's hours, as the Nodes list lists them */
9
9
  nodes: number;
10
10
  spot_nodes: number;
11
11
  /** Nodes in the group running now, as the cluster's node_count counts them */
12
12
  nodes_now?: (number | null) | undefined;
13
- /** Nodes running on average over the hours the group ran */
13
+ /** What the group's nodes running now can give pods, from each node's allocatable */
14
+ cpu_allocatable_milli_now?: (number | null) | undefined;
15
+ /** What the pods on the group's nodes running now hold: the pods of the latest batch, at their own requests, as the Nodes list's rows and the fleet's clusters read it; null while no pod with a request runs on them */
16
+ cpu_requested_milli_now?: (number | null) | undefined;
17
+ memory_allocatable_bytes_now?: (number | null) | undefined;
18
+ memory_requested_bytes_now?: (number | null) | undefined;
19
+ /** Nodes running at once on average over the seconds the agent watched in the hours the group ran */
14
20
  nodes_avg?: (number | null) | undefined;
15
- /** The most nodes that ran in the group on one day */
21
+ /** Its busiest hour's nodes running at once: the hour's node seconds over the seconds the agent watched in it, so a node replaced within the hour does not count twice */
16
22
  nodes_max?: (number | null) | undefined;
17
23
  pods_per_node?: (number | null) | undefined;
18
24
  /** Cores per GiB the pods asked for */
19
25
  requested_cpu_per_gib?: (number | null) | undefined;
20
26
  /** Cores per GiB the nodes launched provide */
21
27
  allocatable_cpu_per_gib?: (number | null) | undefined;
22
- /** Average over the hours the cluster reported */
28
+ /** Average over the seconds the agent watched the cluster */
23
29
  cpu_allocatable_milli?: (number | null) | undefined;
24
- /** Average over the hours the cluster reported */
30
+ /** Average over the seconds the agent watched the cluster */
25
31
  cpu_requested_milli?: (number | null) | undefined;
26
32
  cpu_used_milli?: (number | null) | undefined;
27
33
  memory_allocatable_bytes?: (number | null) | undefined;
28
34
  memory_requested_bytes?: (number | null) | undefined;
29
35
  memory_used_bytes?: (number | null) | undefined;
30
- /** p95 over the days the group ran, each day averaged over the hours it ran */
36
+ /** p95 over the days the group ran, each day averaged over the seconds the agent watched */
31
37
  cpu_allocatable_milli_p95?: (number | null) | undefined;
32
38
  cpu_requested_milli_p95?: (number | null) | undefined;
33
39
  cpu_used_milli_p95?: (number | null) | undefined;
@@ -39,6 +45,10 @@ export interface NodePoolUsage {
39
45
  /** Cost per node-hour */
40
46
  cost_per_hour?: (number | null) | undefined;
41
47
  purchase_types: LevelFour.PurchaseTypeHours[];
48
+ /** The capacity types the group's Karpenter NodePool, self-managed or EKS Auto Mode, may launch as of the latest batch, of on-demand, reserved (a capacity reservation) and spot, sorted: what its karpenter.sh/capacity-type requirements and template labels leave. A NodePool that names no capacity type may launch all three, Karpenter's default. Null for a managed node group or any other group, whose capacity type the agent does not report, for a NodePool the latest batch no longer has, and for an instance type */
49
+ allowed_capacity_types?: (string[] | null) | undefined;
50
+ /** The capacity types the group's nodes ran on in the window's hours, sorted: on-demand, spot, and unknown for an hour whose node carried no capacity-type label. A node in a capacity reservation reads on-demand, as the agent reads its label. Empty for a group the agent saw no hour of */
51
+ ran_capacity_types: string[];
42
52
  karpenter?: (LevelFour.KarpenterPool | null) | undefined;
43
53
  /** Day by day, with series=day */
44
54
  series?: (LevelFour.NodePoolDay[] | null) | undefined;
@@ -5,29 +5,35 @@ export interface NodePoolUsage {
5
5
  /** Set when grouped by instance type */
6
6
  instance_type?: (string | null) | undefined;
7
7
  arch?: (string | null) | undefined;
8
- /** Nodes that ran in the group in the window */
8
+ /** The instances the agent saw in the group in the window's hours, as the Nodes list lists them */
9
9
  nodes: number;
10
10
  spot_nodes: number;
11
11
  /** Nodes in the group running now, as the cluster's node_count counts them */
12
12
  nodes_now?: (number | null) | undefined;
13
- /** Nodes running on average over the hours the group ran */
13
+ /** What the group's nodes running now can give pods, from each node's allocatable */
14
+ cpu_allocatable_milli_now?: (number | null) | undefined;
15
+ /** What the pods on the group's nodes running now hold: the pods of the latest batch, at their own requests, as the Nodes list's rows and the fleet's clusters read it; null while no pod with a request runs on them */
16
+ cpu_requested_milli_now?: (number | null) | undefined;
17
+ memory_allocatable_bytes_now?: (number | null) | undefined;
18
+ memory_requested_bytes_now?: (number | null) | undefined;
19
+ /** Nodes running at once on average over the seconds the agent watched in the hours the group ran */
14
20
  nodes_avg?: (number | null) | undefined;
15
- /** The most nodes that ran in the group on one day */
21
+ /** Its busiest hour's nodes running at once: the hour's node seconds over the seconds the agent watched in it, so a node replaced within the hour does not count twice */
16
22
  nodes_max?: (number | null) | undefined;
17
23
  pods_per_node?: (number | null) | undefined;
18
24
  /** Cores per GiB the pods asked for */
19
25
  requested_cpu_per_gib?: (number | null) | undefined;
20
26
  /** Cores per GiB the nodes launched provide */
21
27
  allocatable_cpu_per_gib?: (number | null) | undefined;
22
- /** Average over the hours the cluster reported */
28
+ /** Average over the seconds the agent watched the cluster */
23
29
  cpu_allocatable_milli?: (number | null) | undefined;
24
- /** Average over the hours the cluster reported */
30
+ /** Average over the seconds the agent watched the cluster */
25
31
  cpu_requested_milli?: (number | null) | undefined;
26
32
  cpu_used_milli?: (number | null) | undefined;
27
33
  memory_allocatable_bytes?: (number | null) | undefined;
28
34
  memory_requested_bytes?: (number | null) | undefined;
29
35
  memory_used_bytes?: (number | null) | undefined;
30
- /** p95 over the days the group ran, each day averaged over the hours it ran */
36
+ /** p95 over the days the group ran, each day averaged over the seconds the agent watched */
31
37
  cpu_allocatable_milli_p95?: (number | null) | undefined;
32
38
  cpu_requested_milli_p95?: (number | null) | undefined;
33
39
  cpu_used_milli_p95?: (number | null) | undefined;
@@ -39,6 +45,10 @@ export interface NodePoolUsage {
39
45
  /** Cost per node-hour */
40
46
  cost_per_hour?: (number | null) | undefined;
41
47
  purchase_types: LevelFour.PurchaseTypeHours[];
48
+ /** The capacity types the group's Karpenter NodePool, self-managed or EKS Auto Mode, may launch as of the latest batch, of on-demand, reserved (a capacity reservation) and spot, sorted: what its karpenter.sh/capacity-type requirements and template labels leave. A NodePool that names no capacity type may launch all three, Karpenter's default. Null for a managed node group or any other group, whose capacity type the agent does not report, for a NodePool the latest batch no longer has, and for an instance type */
49
+ allowed_capacity_types?: (string[] | null) | undefined;
50
+ /** The capacity types the group's nodes ran on in the window's hours, sorted: on-demand, spot, and unknown for an hour whose node carried no capacity-type label. A node in a capacity reservation reads on-demand, as the agent reads its label. Empty for a group the agent saw no hour of */
51
+ ran_capacity_types: string[];
42
52
  karpenter?: (LevelFour.KarpenterPool | null) | undefined;
43
53
  /** Day by day, with series=day */
44
54
  series?: (LevelFour.NodePoolDay[] | null) | undefined;
@@ -0,0 +1,14 @@
1
+ export interface OtherRightsizer {
2
+ /** addon_resizer: a container runs addon-resizer; admission: another tool set the requests pods hold as they were admitted or in place */
3
+ kind: OtherRightsizer.Kind;
4
+ /** How many of the namespace's current workloads it sizes */
5
+ workloads: number;
6
+ }
7
+ export declare namespace OtherRightsizer {
8
+ /** addon_resizer: a container runs addon-resizer; admission: another tool set the requests pods hold as they were admitted or in place */
9
+ const Kind: {
10
+ readonly AddonResizer: "addon_resizer";
11
+ readonly Admission: "admission";
12
+ };
13
+ type Kind = (typeof Kind)[keyof typeof Kind];
14
+ }
@@ -0,0 +1,14 @@
1
+ export interface OtherRightsizer {
2
+ /** addon_resizer: a container runs addon-resizer; admission: another tool set the requests pods hold as they were admitted or in place */
3
+ kind: OtherRightsizer.Kind;
4
+ /** How many of the namespace's current workloads it sizes */
5
+ workloads: number;
6
+ }
7
+ export declare namespace OtherRightsizer {
8
+ /** addon_resizer: a container runs addon-resizer; admission: another tool set the requests pods hold as they were admitted or in place */
9
+ const Kind: {
10
+ readonly AddonResizer: "addon_resizer";
11
+ readonly Admission: "admission";
12
+ };
13
+ type Kind = (typeof Kind)[keyof typeof Kind];
14
+ }