levelfour 1.8.0 → 1.10.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.
- package/dist/api/resources/accounts/client/Client.d.mts +34 -0
- package/dist/api/resources/accounts/client/Client.d.ts +34 -0
- package/dist/api/resources/accounts/client/Client.js +204 -0
- package/dist/api/resources/accounts/client/Client.mjs +204 -0
- package/dist/api/types/AutomationAction.d.mts +1 -0
- package/dist/api/types/AutomationAction.d.ts +1 -0
- package/dist/api/types/AutomationAction.js +2 -1
- package/dist/api/types/AutomationAction.mjs +2 -1
- package/dist/api/types/AzureSubscriptionItem.d.mts +2 -0
- package/dist/api/types/AzureSubscriptionItem.d.ts +2 -0
- package/dist/api/types/BlockerTotals.d.mts +31 -1
- package/dist/api/types/BlockerTotals.d.ts +31 -1
- package/dist/api/types/ClaimBillRate.d.mts +15 -0
- package/dist/api/types/ClaimBillRate.d.ts +15 -0
- package/dist/api/types/ClaimBillRate.js +17 -0
- package/dist/api/types/ClaimBillRate.mjs +1 -0
- package/dist/api/types/ClusterFilterOptions.d.mts +1 -0
- package/dist/api/types/ClusterFilterOptions.d.ts +1 -0
- package/dist/api/types/ClusterFilterOptions.js +1 -0
- package/dist/api/types/ClusterFilterOptions.mjs +1 -0
- package/dist/api/types/ClusterHealth.d.mts +1 -1
- package/dist/api/types/ClusterHealth.d.ts +1 -1
- package/dist/api/types/ClusterItem.d.mts +18 -5
- package/dist/api/types/ClusterItem.d.ts +18 -5
- package/dist/api/types/ClusterItem.js +6 -0
- package/dist/api/types/ClusterItem.mjs +6 -0
- package/dist/api/types/ClusterSummary.d.mts +17 -1
- package/dist/api/types/ClusterSummary.d.ts +17 -1
- package/dist/api/types/ClusterSummary.js +5 -0
- package/dist/api/types/ClusterSummary.mjs +5 -0
- package/dist/api/types/ClusterUsageDay.d.mts +1 -1
- package/dist/api/types/ClusterUsageDay.d.ts +1 -1
- package/dist/api/types/ComputeMonth.d.mts +3 -2
- package/dist/api/types/ComputeMonth.d.ts +3 -2
- package/dist/api/types/ConsolidationBlocker.d.mts +32 -0
- package/dist/api/types/ConsolidationBlocker.d.ts +32 -0
- package/dist/api/types/ConsolidationBlocker.js +15 -0
- package/dist/api/types/ConsolidationBlocker.mjs +15 -0
- package/dist/api/types/ContainerDetail.d.mts +4 -0
- package/dist/api/types/ContainerDetail.d.ts +4 -0
- package/dist/api/types/ContainerJvmDay.d.mts +20 -0
- package/dist/api/types/ContainerJvmDay.d.ts +20 -0
- package/dist/api/types/ContainerJvmDay.js +17 -0
- package/dist/api/types/ContainerJvmDay.mjs +1 -0
- package/dist/api/types/ContainerJvmMeasured.d.mts +50 -0
- package/dist/api/types/ContainerJvmMeasured.d.ts +50 -0
- package/dist/api/types/ContainerJvmMeasured.js +41 -0
- package/dist/api/types/ContainerJvmMeasured.mjs +17 -0
- package/dist/api/types/CostSeries.d.mts +3 -2
- package/dist/api/types/CostSeries.d.ts +3 -2
- package/dist/api/types/CostSeries.js +2 -1
- package/dist/api/types/CostSeries.mjs +2 -1
- package/dist/api/types/DestinationTraffic.d.mts +17 -0
- package/dist/api/types/DestinationTraffic.d.ts +17 -0
- package/dist/api/types/DestinationTraffic.js +38 -0
- package/dist/api/types/DestinationTraffic.mjs +14 -0
- package/dist/api/types/Efficiency.d.mts +6 -0
- package/dist/api/types/Efficiency.d.ts +6 -0
- package/dist/api/types/EfficiencyPoint.d.mts +1 -0
- package/dist/api/types/EfficiencyPoint.d.ts +1 -0
- package/dist/api/types/FleetNamespace.d.mts +7 -0
- package/dist/api/types/FleetNamespace.d.ts +7 -0
- package/dist/api/types/FleetNamespace.js +4 -0
- package/dist/api/types/FleetNamespace.mjs +4 -0
- package/dist/api/types/FleetNodePool.d.mts +13 -5
- package/dist/api/types/FleetNodePool.d.ts +13 -5
- package/dist/api/types/FleetStorage.d.mts +3 -0
- package/dist/api/types/FleetStorage.d.ts +3 -0
- package/dist/api/types/FleetSummary.d.mts +13 -1
- package/dist/api/types/FleetSummary.d.ts +13 -1
- package/dist/api/types/FleetSummary.js +5 -0
- package/dist/api/types/FleetSummary.mjs +5 -0
- package/dist/api/types/FleetVolume.d.mts +23 -1
- package/dist/api/types/FleetVolume.d.ts +23 -1
- package/dist/api/types/FleetVolume.js +22 -0
- package/dist/api/types/FleetVolume.mjs +14 -0
- package/dist/api/types/FleetWorkload.d.mts +9 -0
- package/dist/api/types/FleetWorkload.d.ts +9 -0
- package/dist/api/types/FleetWorkload.js +4 -0
- package/dist/api/types/FleetWorkload.mjs +4 -0
- package/dist/api/types/FleetWorkloadFacets.d.mts +5 -0
- package/dist/api/types/FleetWorkloadFacets.d.ts +5 -0
- package/dist/api/types/FleetWorkloadFacets.js +17 -0
- package/dist/api/types/FleetWorkloadFacets.mjs +1 -0
- package/dist/api/types/FleetWorkloadListData.d.mts +1 -0
- package/dist/api/types/FleetWorkloadListData.d.ts +1 -0
- package/dist/api/types/HeldResources.d.mts +23 -0
- package/dist/api/types/HeldResources.d.ts +23 -0
- package/dist/api/types/HeldResources.js +39 -0
- package/dist/api/types/HeldResources.mjs +15 -0
- package/dist/api/types/Indicator.d.mts +4 -0
- package/dist/api/types/Indicator.d.ts +4 -0
- package/dist/api/types/Indicator.js +4 -0
- package/dist/api/types/Indicator.mjs +4 -0
- package/dist/api/types/IndicatorCount.d.mts +4 -0
- package/dist/api/types/IndicatorCount.d.ts +4 -0
- package/dist/api/types/IndicatorCount.js +4 -0
- package/dist/api/types/IndicatorCount.mjs +4 -0
- package/dist/api/types/JvmFlags.d.mts +38 -0
- package/dist/api/types/JvmFlags.d.ts +38 -0
- package/dist/api/types/JvmFlags.js +41 -0
- package/dist/api/types/JvmFlags.mjs +17 -0
- package/dist/api/types/JvmMeasured.d.mts +52 -0
- package/dist/api/types/JvmMeasured.d.ts +52 -0
- package/dist/api/types/JvmMeasured.js +41 -0
- package/dist/api/types/JvmMeasured.mjs +17 -0
- package/dist/api/types/JvmReaderHealth.d.mts +8 -0
- package/dist/api/types/JvmReaderHealth.d.ts +8 -0
- package/dist/api/types/JvmReaderHealth.js +17 -0
- package/dist/api/types/JvmReaderHealth.mjs +1 -0
- package/dist/api/types/JvmReaderNodeHealth.d.mts +21 -0
- package/dist/api/types/JvmReaderNodeHealth.d.ts +21 -0
- package/dist/api/types/JvmReaderNodeHealth.js +37 -0
- package/dist/api/types/JvmReaderNodeHealth.mjs +13 -0
- package/dist/api/types/JvmReaderResponse.d.mts +6 -0
- package/dist/api/types/JvmReaderResponse.d.ts +6 -0
- package/dist/api/types/JvmReaderResponse.js +17 -0
- package/dist/api/types/JvmReaderResponse.mjs +1 -0
- package/dist/api/types/KarpenterPool.d.mts +2 -0
- package/dist/api/types/KarpenterPool.d.ts +2 -0
- package/dist/api/types/KubernetesDataAvailability.d.mts +4 -0
- package/dist/api/types/KubernetesDataAvailability.d.ts +4 -0
- package/dist/api/types/NamespaceAutomation.d.mts +3 -0
- package/dist/api/types/NamespaceAutomation.d.ts +3 -0
- package/dist/api/types/NamespaceItem.d.mts +7 -0
- package/dist/api/types/NamespaceItem.d.ts +7 -0
- package/dist/api/types/NamespaceItem.js +4 -0
- package/dist/api/types/NamespaceItem.mjs +4 -0
- package/dist/api/types/NamespaceReliability.d.mts +4 -1
- package/dist/api/types/NamespaceReliability.d.ts +4 -1
- package/dist/api/types/NetworkLens.d.mts +2 -0
- package/dist/api/types/NetworkLens.d.ts +2 -0
- package/dist/api/types/NetworkTotals.d.mts +5 -1
- package/dist/api/types/NetworkTotals.d.ts +5 -1
- package/dist/api/types/NoReadyShare.d.mts +12 -0
- package/dist/api/types/NoReadyShare.d.ts +12 -0
- package/dist/api/types/NoReadyShare.js +17 -0
- package/dist/api/types/NoReadyShare.mjs +1 -0
- package/dist/api/types/NodeDetail.d.mts +2 -0
- package/dist/api/types/NodeDetail.d.ts +2 -0
- package/dist/api/types/NodeFacets.d.mts +2 -0
- package/dist/api/types/NodeFacets.d.ts +2 -0
- package/dist/api/types/NodeItem.d.mts +3 -1
- package/dist/api/types/NodeItem.d.ts +3 -1
- package/dist/api/types/NodeMonthlyPrice.d.mts +24 -0
- package/dist/api/types/NodeMonthlyPrice.d.ts +24 -0
- package/dist/api/types/NodeMonthlyPrice.js +35 -0
- package/dist/api/types/NodeMonthlyPrice.mjs +11 -0
- package/dist/api/types/NodePoolDay.d.mts +1 -1
- package/dist/api/types/NodePoolDay.d.ts +1 -1
- package/dist/api/types/NodePoolUsage.d.mts +13 -5
- package/dist/api/types/NodePoolUsage.d.ts +13 -5
- package/dist/api/types/OtherRightsizer.d.mts +14 -0
- package/dist/api/types/OtherRightsizer.d.ts +14 -0
- package/dist/api/types/OtherRightsizer.js +35 -0
- package/dist/api/types/OtherRightsizer.mjs +11 -0
- package/dist/api/types/PendingShare.d.mts +6 -0
- package/dist/api/types/PendingShare.d.ts +6 -0
- package/dist/api/types/PendingShare.js +17 -0
- package/dist/api/types/PendingShare.mjs +1 -0
- package/dist/api/types/PodCounts.d.mts +2 -2
- package/dist/api/types/PodCounts.d.ts +2 -2
- package/dist/api/types/PodsHour.d.mts +3 -1
- package/dist/api/types/PodsHour.d.ts +3 -1
- package/dist/api/types/PurchaseTypeShare.d.mts +1 -1
- package/dist/api/types/PurchaseTypeShare.d.ts +1 -1
- package/dist/api/types/ReliabilityCounts.d.mts +3 -0
- package/dist/api/types/ReliabilityCounts.d.ts +3 -0
- package/dist/api/types/ReliabilityDay.d.mts +8 -5
- package/dist/api/types/ReliabilityDay.d.ts +8 -5
- package/dist/api/types/ReliabilityEventDay.d.mts +4 -3
- package/dist/api/types/ReliabilityEventDay.d.ts +4 -3
- package/dist/api/types/ReliabilityFacetCount.d.mts +17 -0
- package/dist/api/types/ReliabilityFacetCount.d.ts +17 -0
- package/dist/api/types/ReliabilityFacetCount.js +41 -0
- package/dist/api/types/ReliabilityFacetCount.mjs +17 -0
- package/dist/api/types/ReliabilityLens.d.mts +2 -1
- package/dist/api/types/ReliabilityLens.d.ts +2 -1
- package/dist/api/types/ReliabilityTotals.d.mts +12 -3
- package/dist/api/types/ReliabilityTotals.d.ts +12 -3
- package/dist/api/types/RequestsAverage.d.mts +3 -1
- package/dist/api/types/RequestsAverage.d.ts +3 -1
- package/dist/api/types/ResourceEfficiency.d.mts +7 -1
- package/dist/api/types/ResourceEfficiency.d.ts +7 -1
- package/dist/api/types/RightsizedContainer.d.mts +19 -5
- package/dist/api/types/RightsizedContainer.d.ts +19 -5
- package/dist/api/types/RightsizedContainer.js +10 -1
- package/dist/api/types/RightsizedContainer.mjs +10 -1
- package/dist/api/types/SizingEvidence.d.mts +30 -0
- package/dist/api/types/SizingEvidence.d.ts +30 -0
- package/dist/api/types/SizingEvidence.js +40 -0
- package/dist/api/types/SizingEvidence.mjs +16 -0
- package/dist/api/types/SpendDay.d.mts +17 -2
- package/dist/api/types/SpendDay.d.ts +17 -2
- package/dist/api/types/SpendDay.js +18 -0
- package/dist/api/types/SpendDay.mjs +10 -0
- package/dist/api/types/SpendKpis.d.mts +13 -2
- package/dist/api/types/SpendKpis.d.ts +13 -2
- package/dist/api/types/SpendKpis.js +18 -0
- package/dist/api/types/SpendKpis.mjs +10 -0
- package/dist/api/types/SpendUnitCost.d.mts +1 -0
- package/dist/api/types/SpendUnitCost.d.ts +1 -0
- package/dist/api/types/SpotBalance.d.mts +4 -0
- package/dist/api/types/SpotBalance.d.ts +4 -0
- package/dist/api/types/StatusCount.d.mts +1 -0
- package/dist/api/types/StatusCount.d.ts +1 -0
- package/dist/api/types/StatusCount.js +1 -0
- package/dist/api/types/StatusCount.mjs +1 -0
- package/dist/api/types/StorageClassTotals.d.mts +2 -0
- package/dist/api/types/StorageClassTotals.d.ts +2 -0
- package/dist/api/types/StorageClassUsage.d.mts +4 -1
- package/dist/api/types/StorageClassUsage.d.ts +4 -1
- package/dist/api/types/TerraformIntegrationData.d.mts +13 -0
- package/dist/api/types/TerraformIntegrationData.d.ts +13 -0
- package/dist/api/types/TerraformIntegrationData.js +17 -0
- package/dist/api/types/TerraformIntegrationData.mjs +1 -0
- package/dist/api/types/TerraformIntegrationResponse.d.mts +6 -0
- package/dist/api/types/TerraformIntegrationResponse.d.ts +6 -0
- package/dist/api/types/TerraformIntegrationResponse.js +17 -0
- package/dist/api/types/TerraformIntegrationResponse.mjs +1 -0
- package/dist/api/types/UnhealthyReason.d.mts +16 -0
- package/dist/api/types/UnhealthyReason.d.ts +16 -0
- package/dist/api/types/UnhealthyReason.js +35 -0
- package/dist/api/types/UnhealthyReason.mjs +11 -0
- package/dist/api/types/UnitCosts.d.mts +1 -1
- package/dist/api/types/UnitCosts.d.ts +1 -1
- package/dist/api/types/UsageCoverage.d.mts +10 -0
- package/dist/api/types/UsageCoverage.d.ts +10 -0
- package/dist/api/types/UsageCoverage.js +17 -0
- package/dist/api/types/UsageCoverage.mjs +1 -0
- package/dist/api/types/UsageCoverageResponse.d.mts +6 -0
- package/dist/api/types/UsageCoverageResponse.d.ts +6 -0
- package/dist/api/types/UsageCoverageResponse.js +17 -0
- package/dist/api/types/UsageCoverageResponse.mjs +1 -0
- package/dist/api/types/UsageCoverageWindow.d.mts +8 -0
- package/dist/api/types/UsageCoverageWindow.d.ts +8 -0
- package/dist/api/types/UsageCoverageWindow.js +17 -0
- package/dist/api/types/UsageCoverageWindow.mjs +1 -0
- package/dist/api/types/UseMeasured.d.mts +9 -0
- package/dist/api/types/UseMeasured.d.ts +9 -0
- package/dist/api/types/UseMeasured.js +17 -0
- package/dist/api/types/UseMeasured.mjs +1 -0
- package/dist/api/types/UtilizationTarget.d.mts +34 -4
- package/dist/api/types/UtilizationTarget.d.ts +34 -4
- package/dist/api/types/UtilizationTarget.js +14 -1
- package/dist/api/types/UtilizationTarget.mjs +14 -1
- package/dist/api/types/VolumeItem.d.mts +23 -1
- package/dist/api/types/VolumeItem.d.ts +23 -1
- package/dist/api/types/VolumeItem.js +22 -0
- package/dist/api/types/VolumeItem.mjs +14 -0
- package/dist/api/types/Waste.d.mts +6 -2
- package/dist/api/types/Waste.d.ts +6 -2
- package/dist/api/types/WasteDay.d.mts +2 -0
- package/dist/api/types/WasteDay.d.ts +2 -0
- package/dist/api/types/WasteTotal.d.mts +4 -2
- package/dist/api/types/WasteTotal.d.ts +4 -2
- package/dist/api/types/WorkloadDay.d.mts +7 -0
- package/dist/api/types/WorkloadDay.d.ts +7 -0
- package/dist/api/types/WorkloadDetail.d.mts +8 -0
- package/dist/api/types/WorkloadDetail.d.ts +8 -0
- package/dist/api/types/WorkloadFacets.d.mts +4 -0
- package/dist/api/types/WorkloadFacets.d.ts +4 -0
- package/dist/api/types/WorkloadItem.d.mts +38 -0
- package/dist/api/types/WorkloadItem.d.ts +38 -0
- package/dist/api/types/WorkloadItem.js +20 -0
- package/dist/api/types/WorkloadItem.mjs +20 -0
- package/dist/api/types/WorkloadJvm.d.mts +15 -0
- package/dist/api/types/WorkloadJvm.d.ts +15 -0
- package/dist/api/types/WorkloadJvm.js +17 -0
- package/dist/api/types/WorkloadJvm.mjs +1 -0
- package/dist/api/types/WorkloadListData.d.mts +1 -1
- package/dist/api/types/WorkloadListData.d.ts +1 -1
- package/dist/api/types/WorkloadListItem.d.mts +132 -0
- package/dist/api/types/WorkloadListItem.d.ts +132 -0
- package/dist/api/types/WorkloadListItem.js +62 -0
- package/dist/api/types/WorkloadListItem.mjs +38 -0
- package/dist/api/types/index.d.mts +26 -0
- package/dist/api/types/index.d.ts +26 -0
- package/dist/api/types/index.js +52 -0
- package/dist/api/types/index.mjs +26 -0
- package/dist/version.d.mts +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.mjs +1 -1
- package/package.json +1 -1
|
@@ -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
|
}
|
|
@@ -4,4 +4,6 @@ export interface NodeFacets {
|
|
|
4
4
|
purchase_type: LevelFour.FacetCount[];
|
|
5
5
|
/** Nodes by their one status: not_ready, else pressure, else cordoned, else ready; a removed node 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
|
}
|
|
@@ -4,4 +4,6 @@ export interface NodeFacets {
|
|
|
4
4
|
purchase_type: LevelFour.FacetCount[];
|
|
5
5
|
/** Nodes by their one status: not_ready, else pressure, else cordoned, else ready; a removed node 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;
|
|
@@ -62,7 +64,7 @@ export interface NodeItem {
|
|
|
62
64
|
deleting_since?: (string | null) | undefined;
|
|
63
65
|
/** Annotated karpenter.sh/do-not-disrupt */
|
|
64
66
|
do_not_disrupt?: boolean | undefined;
|
|
65
|
-
/** Current pods that keep the autoscaler from removing the node; a static pod does not count */
|
|
67
|
+
/** 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
68
|
blocking_pods?: number | undefined;
|
|
67
69
|
/** The latest SpotInterrupted or CapacityReservationInstanceInterrupted event on the node */
|
|
68
70
|
interrupted_at?: (string | null) | undefined;
|
|
@@ -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;
|
|
@@ -62,7 +64,7 @@ export interface NodeItem {
|
|
|
62
64
|
deleting_since?: (string | null) | undefined;
|
|
63
65
|
/** Annotated karpenter.sh/do-not-disrupt */
|
|
64
66
|
do_not_disrupt?: boolean | undefined;
|
|
65
|
-
/** Current pods that keep the autoscaler from removing the node; a static pod does not count */
|
|
67
|
+
/** 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
68
|
blocking_pods?: number | undefined;
|
|
67
69
|
/** The latest SpotInterrupted or CapacityReservationInstanceInterrupted event on the node */
|
|
68
70
|
interrupted_at?: (string | null) | undefined;
|
|
@@ -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
|
|
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
|
|
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;
|
|
@@ -8,24 +8,32 @@ export interface NodePoolUsage {
|
|
|
8
8
|
/** Nodes that ran in the group in the window */
|
|
9
9
|
nodes: number;
|
|
10
10
|
spot_nodes: number;
|
|
11
|
-
/** Nodes
|
|
11
|
+
/** Nodes in the group running now, as the cluster's node_count counts them */
|
|
12
|
+
nodes_now?: (number | null) | undefined;
|
|
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 request, in the latest hour the agent reported, as the Nodes list's rows read it; null while no pod on them was placed in that hour */
|
|
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 */
|
|
12
20
|
nodes_avg?: (number | null) | undefined;
|
|
13
|
-
/**
|
|
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 */
|
|
14
22
|
nodes_max?: (number | null) | undefined;
|
|
15
23
|
pods_per_node?: (number | null) | undefined;
|
|
16
24
|
/** Cores per GiB the pods asked for */
|
|
17
25
|
requested_cpu_per_gib?: (number | null) | undefined;
|
|
18
26
|
/** Cores per GiB the nodes launched provide */
|
|
19
27
|
allocatable_cpu_per_gib?: (number | null) | undefined;
|
|
20
|
-
/** Average over the
|
|
28
|
+
/** Average over the seconds the agent watched the cluster */
|
|
21
29
|
cpu_allocatable_milli?: (number | null) | undefined;
|
|
22
|
-
/** Average over the
|
|
30
|
+
/** Average over the seconds the agent watched the cluster */
|
|
23
31
|
cpu_requested_milli?: (number | null) | undefined;
|
|
24
32
|
cpu_used_milli?: (number | null) | undefined;
|
|
25
33
|
memory_allocatable_bytes?: (number | null) | undefined;
|
|
26
34
|
memory_requested_bytes?: (number | null) | undefined;
|
|
27
35
|
memory_used_bytes?: (number | null) | undefined;
|
|
28
|
-
/** p95 over the days the group ran, each day averaged over the
|
|
36
|
+
/** p95 over the days the group ran, each day averaged over the seconds the agent watched */
|
|
29
37
|
cpu_allocatable_milli_p95?: (number | null) | undefined;
|
|
30
38
|
cpu_requested_milli_p95?: (number | null) | undefined;
|
|
31
39
|
cpu_used_milli_p95?: (number | null) | undefined;
|
|
@@ -8,24 +8,32 @@ export interface NodePoolUsage {
|
|
|
8
8
|
/** Nodes that ran in the group in the window */
|
|
9
9
|
nodes: number;
|
|
10
10
|
spot_nodes: number;
|
|
11
|
-
/** Nodes
|
|
11
|
+
/** Nodes in the group running now, as the cluster's node_count counts them */
|
|
12
|
+
nodes_now?: (number | null) | undefined;
|
|
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 request, in the latest hour the agent reported, as the Nodes list's rows read it; null while no pod on them was placed in that hour */
|
|
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 */
|
|
12
20
|
nodes_avg?: (number | null) | undefined;
|
|
13
|
-
/**
|
|
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 */
|
|
14
22
|
nodes_max?: (number | null) | undefined;
|
|
15
23
|
pods_per_node?: (number | null) | undefined;
|
|
16
24
|
/** Cores per GiB the pods asked for */
|
|
17
25
|
requested_cpu_per_gib?: (number | null) | undefined;
|
|
18
26
|
/** Cores per GiB the nodes launched provide */
|
|
19
27
|
allocatable_cpu_per_gib?: (number | null) | undefined;
|
|
20
|
-
/** Average over the
|
|
28
|
+
/** Average over the seconds the agent watched the cluster */
|
|
21
29
|
cpu_allocatable_milli?: (number | null) | undefined;
|
|
22
|
-
/** Average over the
|
|
30
|
+
/** Average over the seconds the agent watched the cluster */
|
|
23
31
|
cpu_requested_milli?: (number | null) | undefined;
|
|
24
32
|
cpu_used_milli?: (number | null) | undefined;
|
|
25
33
|
memory_allocatable_bytes?: (number | null) | undefined;
|
|
26
34
|
memory_requested_bytes?: (number | null) | undefined;
|
|
27
35
|
memory_used_bytes?: (number | null) | undefined;
|
|
28
|
-
/** p95 over the days the group ran, each day averaged over the
|
|
36
|
+
/** p95 over the days the group ran, each day averaged over the seconds the agent watched */
|
|
29
37
|
cpu_allocatable_milli_p95?: (number | null) | undefined;
|
|
30
38
|
cpu_requested_milli_p95?: (number | null) | undefined;
|
|
31
39
|
cpu_used_milli_p95?: (number | 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
|
+
}
|
|
@@ -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 OtherRightsizer_exports = {};
|
|
20
|
+
__export(OtherRightsizer_exports, {
|
|
21
|
+
OtherRightsizer: () => OtherRightsizer
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(OtherRightsizer_exports);
|
|
24
|
+
var OtherRightsizer;
|
|
25
|
+
((OtherRightsizer2) => {
|
|
26
|
+
OtherRightsizer2.Kind = {
|
|
27
|
+
AddonResizer: "addon_resizer",
|
|
28
|
+
Admission: "admission"
|
|
29
|
+
};
|
|
30
|
+
})(OtherRightsizer || (OtherRightsizer = {}));
|
|
31
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
32
|
+
0 && (module.exports = {
|
|
33
|
+
OtherRightsizer
|
|
34
|
+
});
|
|
35
|
+
//# sourceMappingURL=OtherRightsizer.js.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
var OtherRightsizer;
|
|
2
|
+
((OtherRightsizer2) => {
|
|
3
|
+
OtherRightsizer2.Kind = {
|
|
4
|
+
AddonResizer: "addon_resizer",
|
|
5
|
+
Admission: "admission"
|
|
6
|
+
};
|
|
7
|
+
})(OtherRightsizer || (OtherRightsizer = {}));
|
|
8
|
+
export {
|
|
9
|
+
OtherRightsizer
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=OtherRightsizer.mjs.map
|
|
@@ -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 PendingShare_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(PendingShare_exports);
|
|
17
|
+
//# sourceMappingURL=PendingShare.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=PendingShare.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export interface PodCounts {
|
|
2
|
-
/** Pods running on average over the hours the workload ran */
|
|
2
|
+
/** Pods running on average over the seconds the agent watched in the hours the workload ran */
|
|
3
3
|
avg?: (number | null) | undefined;
|
|
4
|
-
/** The busiest hour's average */
|
|
4
|
+
/** The most pods running at once in any sample; from an agent before 0.6.2, the busiest hour's average */
|
|
5
5
|
max?: (number | null) | undefined;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export interface PodCounts {
|
|
2
|
-
/** Pods running on average over the hours the workload ran */
|
|
2
|
+
/** Pods running on average over the seconds the agent watched in the hours the workload ran */
|
|
3
3
|
avg?: (number | null) | undefined;
|
|
4
|
-
/** The busiest hour's average */
|
|
4
|
+
/** The most pods running at once in any sample; from an agent before 0.6.2, the busiest hour's average */
|
|
5
5
|
max?: (number | null) | undefined;
|
|
6
6
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export interface PodsHour {
|
|
2
2
|
hour: string;
|
|
3
|
-
/** Average pods running in the hour: pod seconds on every node over
|
|
3
|
+
/** Average pods running in the hour: pod seconds on every node over the seconds the agent watched in it */
|
|
4
4
|
pods: number;
|
|
5
|
+
/** The most pods running at once in any sample of the hour; null from an agent before 0.6.2 */
|
|
6
|
+
peak?: (number | null) | undefined;
|
|
5
7
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export interface PodsHour {
|
|
2
2
|
hour: string;
|
|
3
|
-
/** Average pods running in the hour: pod seconds on every node over
|
|
3
|
+
/** Average pods running in the hour: pod seconds on every node over the seconds the agent watched in it */
|
|
4
4
|
pods: number;
|
|
5
|
+
/** The most pods running at once in any sample of the hour; null from an agent before 0.6.2 */
|
|
6
|
+
peak?: (number | null) | undefined;
|
|
5
7
|
}
|
|
@@ -8,7 +8,7 @@ export interface PurchaseTypeShare {
|
|
|
8
8
|
cost?: (number | null) | undefined;
|
|
9
9
|
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
10
10
|
cost_net?: (number | null) | undefined;
|
|
11
|
-
/** Nodes running now, by the bill's purchase type, else
|
|
11
|
+
/** Nodes running now, by the bill's purchase type, else spot from a Spot label, else unknown */
|
|
12
12
|
nodes_now?: (number | null) | undefined;
|
|
13
13
|
}
|
|
14
14
|
export declare namespace PurchaseTypeShare {
|
|
@@ -8,7 +8,7 @@ export interface PurchaseTypeShare {
|
|
|
8
8
|
cost?: (number | null) | undefined;
|
|
9
9
|
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
10
10
|
cost_net?: (number | null) | undefined;
|
|
11
|
-
/** Nodes running now, by the bill's purchase type, else
|
|
11
|
+
/** Nodes running now, by the bill's purchase type, else spot from a Spot label, else unknown */
|
|
12
12
|
nodes_now?: (number | null) | undefined;
|
|
13
13
|
}
|
|
14
14
|
export declare namespace PurchaseTypeShare {
|
|
@@ -3,6 +3,9 @@ export interface ReliabilityCounts {
|
|
|
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
11
|
}
|
|
@@ -3,6 +3,9 @@ export interface ReliabilityCounts {
|
|
|
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
11
|
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
export interface ReliabilityDay {
|
|
2
2
|
day: string;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
/** Null for a day the agent watched none of, which measured nothing */
|
|
4
|
+
oom_kills: number | null;
|
|
5
|
+
restarts: number | null;
|
|
6
|
+
evictions: number | null;
|
|
7
|
+
/** 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 every cluster in scope watched that day measured it */
|
|
8
|
+
drained_pods: number | null;
|
|
9
|
+
throttled_hours: number | null;
|
|
10
|
+
pending_pod_hours: number | null;
|
|
8
11
|
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
export interface ReliabilityDay {
|
|
2
2
|
day: string;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
/** Null for a day the agent watched none of, which measured nothing */
|
|
4
|
+
oom_kills: number | null;
|
|
5
|
+
restarts: number | null;
|
|
6
|
+
evictions: number | null;
|
|
7
|
+
/** 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 every cluster in scope watched that day measured it */
|
|
8
|
+
drained_pods: number | null;
|
|
9
|
+
throttled_hours: number | null;
|
|
10
|
+
pending_pod_hours: number | null;
|
|
8
11
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export interface ReliabilityEventDay {
|
|
2
2
|
day: string;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
/** Null for a day the agent did not watch the cluster, or any in scope */
|
|
4
|
+
oom_kills: number | null;
|
|
5
|
+
restarts: number | null;
|
|
6
|
+
evictions: number | null;
|
|
6
7
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export interface ReliabilityEventDay {
|
|
2
2
|
day: string;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
/** Null for a day the agent did not watch the cluster, or any in scope */
|
|
4
|
+
oom_kills: number | null;
|
|
5
|
+
restarts: number | null;
|
|
6
|
+
evictions: number | null;
|
|
6
7
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface ReliabilityFacetCount {
|
|
2
|
+
value: ReliabilityFacetCount.Value;
|
|
3
|
+
count: number;
|
|
4
|
+
}
|
|
5
|
+
export declare namespace ReliabilityFacetCount {
|
|
6
|
+
const Value: {
|
|
7
|
+
readonly OomKills: "oom_kills";
|
|
8
|
+
readonly Restarts: "restarts";
|
|
9
|
+
readonly Throttled: "throttled";
|
|
10
|
+
readonly Evictions: "evictions";
|
|
11
|
+
readonly AtRisk: "at_risk";
|
|
12
|
+
readonly NoRequests: "no_requests";
|
|
13
|
+
readonly NoMemoryLimit: "no_memory_limit";
|
|
14
|
+
readonly Pending: "pending";
|
|
15
|
+
};
|
|
16
|
+
type Value = (typeof Value)[keyof typeof Value];
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface ReliabilityFacetCount {
|
|
2
|
+
value: ReliabilityFacetCount.Value;
|
|
3
|
+
count: number;
|
|
4
|
+
}
|
|
5
|
+
export declare namespace ReliabilityFacetCount {
|
|
6
|
+
const Value: {
|
|
7
|
+
readonly OomKills: "oom_kills";
|
|
8
|
+
readonly Restarts: "restarts";
|
|
9
|
+
readonly Throttled: "throttled";
|
|
10
|
+
readonly Evictions: "evictions";
|
|
11
|
+
readonly AtRisk: "at_risk";
|
|
12
|
+
readonly NoRequests: "no_requests";
|
|
13
|
+
readonly NoMemoryLimit: "no_memory_limit";
|
|
14
|
+
readonly Pending: "pending";
|
|
15
|
+
};
|
|
16
|
+
type Value = (typeof Value)[keyof typeof Value];
|
|
17
|
+
}
|