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
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type * as LevelFour from "../index.js";
|
|
2
2
|
export interface FleetSummary {
|
|
3
|
+
/** The clusters' cost added up, as the clusters list reads it */
|
|
3
4
|
total_cost?: (number | null) | undefined;
|
|
4
5
|
idle_cost?: (number | null) | undefined;
|
|
5
6
|
idle_share?: (number | null) | undefined;
|
|
@@ -28,7 +29,11 @@ export interface FleetSummary {
|
|
|
28
29
|
cost_basis: FleetSummary.CostBasis;
|
|
29
30
|
/** The last day every priced cluster is priced through */
|
|
30
31
|
priced_through?: (string | null) | undefined;
|
|
31
|
-
/**
|
|
32
|
+
/** priced when any cluster is priced in the window; else awaiting_bill when any is waiting for its bill; else no_account, each cluster read as the clusters list reads it */
|
|
33
|
+
bill_status: FleetSummary.BillStatus;
|
|
34
|
+
/** While awaiting_bill, the earliest day a waiting cluster's first priced day should show */
|
|
35
|
+
bill_expected_by?: (string | null) | undefined;
|
|
36
|
+
/** Current workloads at high risk: an OOM kill, an eviction or no ready replica. Medium and low never count. An ephemeral one, a pull-request environment, counts only with include_ephemeral */
|
|
32
37
|
workloads_at_risk?: number | undefined;
|
|
33
38
|
potential_savings?: (LevelFour.PotentialSavings | null) | undefined;
|
|
34
39
|
realized_savings: LevelFour.RealizedTotal;
|
|
@@ -50,4 +55,11 @@ export declare namespace FleetSummary {
|
|
|
50
55
|
readonly None: "none";
|
|
51
56
|
};
|
|
52
57
|
type CostBasis = (typeof CostBasis)[keyof typeof CostBasis];
|
|
58
|
+
/** priced when any cluster is priced in the window; else awaiting_bill when any is waiting for its bill; else no_account, each cluster read as the clusters list reads it */
|
|
59
|
+
const BillStatus: {
|
|
60
|
+
readonly Priced: "priced";
|
|
61
|
+
readonly AwaitingBill: "awaiting_bill";
|
|
62
|
+
readonly NoAccount: "no_account";
|
|
63
|
+
};
|
|
64
|
+
type BillStatus = (typeof BillStatus)[keyof typeof BillStatus];
|
|
53
65
|
}
|
|
@@ -34,6 +34,11 @@ var FleetSummary;
|
|
|
34
34
|
Pending: "pending",
|
|
35
35
|
None: "none"
|
|
36
36
|
};
|
|
37
|
+
FleetSummary2.BillStatus = {
|
|
38
|
+
Priced: "priced",
|
|
39
|
+
AwaitingBill: "awaiting_bill",
|
|
40
|
+
NoAccount: "no_account"
|
|
41
|
+
};
|
|
37
42
|
})(FleetSummary || (FleetSummary = {}));
|
|
38
43
|
// Annotate the CommonJS export names for ESM import in node:
|
|
39
44
|
0 && (module.exports = {
|
|
@@ -11,6 +11,11 @@ var FleetSummary;
|
|
|
11
11
|
Pending: "pending",
|
|
12
12
|
None: "none"
|
|
13
13
|
};
|
|
14
|
+
FleetSummary2.BillStatus = {
|
|
15
|
+
Priced: "priced",
|
|
16
|
+
AwaitingBill: "awaiting_bill",
|
|
17
|
+
NoAccount: "no_account"
|
|
18
|
+
};
|
|
14
19
|
})(FleetSummary || (FleetSummary = {}));
|
|
15
20
|
export {
|
|
16
21
|
FleetSummary
|
|
@@ -13,8 +13,11 @@ export interface FleetVolume {
|
|
|
13
13
|
requested_bytes?: (number | null) | undefined;
|
|
14
14
|
/** What its volume provides */
|
|
15
15
|
capacity_bytes?: (number | null) | undefined;
|
|
16
|
+
/** What the kubelet read; null while its use is unknown */
|
|
16
17
|
used_bytes?: (number | null) | undefined;
|
|
17
|
-
/**
|
|
18
|
+
/** Why used_bytes is null: not_mounted when no pod mounts the claim, so the kubelet reads nothing of it, no_reading when a pod mounts it and the kubelet sent no reading. Unknown use is never 0 */
|
|
19
|
+
use_unknown_reason?: (FleetVolume.UseUnknownReason | null) | undefined;
|
|
20
|
+
/** (capacity - used) / capacity; null while its use is unknown */
|
|
18
21
|
over_provisioned_pct?: (number | null) | undefined;
|
|
19
22
|
mounted_by: LevelFour.WorkloadRef[];
|
|
20
23
|
/** Bound, yet no workload mounts it */
|
|
@@ -23,7 +26,26 @@ export interface FleetVolume {
|
|
|
23
26
|
csi_driver?: (string | null) | undefined;
|
|
24
27
|
volume_handle?: (string | null) | undefined;
|
|
25
28
|
created_at?: (string | null) | undefined;
|
|
29
|
+
/** What the bill charged its volume over the window, every line naming the volume handle, whether or not the bill has priced the cluster's nodes yet */
|
|
26
30
|
period_cost?: (number | null) | undefined;
|
|
31
|
+
/** Why period_cost is null: not_on_bill when the bill of the cluster's account arrives over the window and no line of it names the volume, no_bill when no bill for that account arrives (none connected, not there yet, or a cloud whose bill this does not read for volumes) */
|
|
32
|
+
cost_unknown_reason?: (FleetVolume.CostUnknownReason | null) | undefined;
|
|
33
|
+
/** While period_cost is null, the last day any bill line named the volume; null if none ever */
|
|
34
|
+
last_billed_on?: (string | null) | undefined;
|
|
35
|
+
/** While period_cost is null, what the tenant's own bill charged a GiB-month of the claim's volume type in the cluster's region over the window; null when the bill charged nothing for that type there. Never a list price */
|
|
36
|
+
bill_rate?: (LevelFour.ClaimBillRate | null) | undefined;
|
|
27
37
|
cluster_id: string;
|
|
28
38
|
cluster_name: string;
|
|
29
39
|
}
|
|
40
|
+
export declare namespace FleetVolume {
|
|
41
|
+
const UseUnknownReason: {
|
|
42
|
+
readonly NotMounted: "not_mounted";
|
|
43
|
+
readonly NoReading: "no_reading";
|
|
44
|
+
};
|
|
45
|
+
type UseUnknownReason = (typeof UseUnknownReason)[keyof typeof UseUnknownReason];
|
|
46
|
+
const CostUnknownReason: {
|
|
47
|
+
readonly NotOnBill: "not_on_bill";
|
|
48
|
+
readonly NoBill: "no_bill";
|
|
49
|
+
};
|
|
50
|
+
type CostUnknownReason = (typeof CostUnknownReason)[keyof typeof CostUnknownReason];
|
|
51
|
+
}
|
|
@@ -13,8 +13,11 @@ export interface FleetVolume {
|
|
|
13
13
|
requested_bytes?: (number | null) | undefined;
|
|
14
14
|
/** What its volume provides */
|
|
15
15
|
capacity_bytes?: (number | null) | undefined;
|
|
16
|
+
/** What the kubelet read; null while its use is unknown */
|
|
16
17
|
used_bytes?: (number | null) | undefined;
|
|
17
|
-
/**
|
|
18
|
+
/** Why used_bytes is null: not_mounted when no pod mounts the claim, so the kubelet reads nothing of it, no_reading when a pod mounts it and the kubelet sent no reading. Unknown use is never 0 */
|
|
19
|
+
use_unknown_reason?: (FleetVolume.UseUnknownReason | null) | undefined;
|
|
20
|
+
/** (capacity - used) / capacity; null while its use is unknown */
|
|
18
21
|
over_provisioned_pct?: (number | null) | undefined;
|
|
19
22
|
mounted_by: LevelFour.WorkloadRef[];
|
|
20
23
|
/** Bound, yet no workload mounts it */
|
|
@@ -23,7 +26,26 @@ export interface FleetVolume {
|
|
|
23
26
|
csi_driver?: (string | null) | undefined;
|
|
24
27
|
volume_handle?: (string | null) | undefined;
|
|
25
28
|
created_at?: (string | null) | undefined;
|
|
29
|
+
/** What the bill charged its volume over the window, every line naming the volume handle, whether or not the bill has priced the cluster's nodes yet */
|
|
26
30
|
period_cost?: (number | null) | undefined;
|
|
31
|
+
/** Why period_cost is null: not_on_bill when the bill of the cluster's account arrives over the window and no line of it names the volume, no_bill when no bill for that account arrives (none connected, not there yet, or a cloud whose bill this does not read for volumes) */
|
|
32
|
+
cost_unknown_reason?: (FleetVolume.CostUnknownReason | null) | undefined;
|
|
33
|
+
/** While period_cost is null, the last day any bill line named the volume; null if none ever */
|
|
34
|
+
last_billed_on?: (string | null) | undefined;
|
|
35
|
+
/** While period_cost is null, what the tenant's own bill charged a GiB-month of the claim's volume type in the cluster's region over the window; null when the bill charged nothing for that type there. Never a list price */
|
|
36
|
+
bill_rate?: (LevelFour.ClaimBillRate | null) | undefined;
|
|
27
37
|
cluster_id: string;
|
|
28
38
|
cluster_name: string;
|
|
29
39
|
}
|
|
40
|
+
export declare namespace FleetVolume {
|
|
41
|
+
const UseUnknownReason: {
|
|
42
|
+
readonly NotMounted: "not_mounted";
|
|
43
|
+
readonly NoReading: "no_reading";
|
|
44
|
+
};
|
|
45
|
+
type UseUnknownReason = (typeof UseUnknownReason)[keyof typeof UseUnknownReason];
|
|
46
|
+
const CostUnknownReason: {
|
|
47
|
+
readonly NotOnBill: "not_on_bill";
|
|
48
|
+
readonly NoBill: "no_bill";
|
|
49
|
+
};
|
|
50
|
+
type CostUnknownReason = (typeof CostUnknownReason)[keyof typeof CostUnknownReason];
|
|
51
|
+
}
|
|
@@ -3,6 +3,10 @@ var __defProp = Object.defineProperty;
|
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
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
|
+
};
|
|
6
10
|
var __copyProps = (to, from, except, desc) => {
|
|
7
11
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
12
|
for (let key of __getOwnPropNames(from))
|
|
@@ -13,5 +17,23 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
13
17
|
};
|
|
14
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
19
|
var FleetVolume_exports = {};
|
|
20
|
+
__export(FleetVolume_exports, {
|
|
21
|
+
FleetVolume: () => FleetVolume
|
|
22
|
+
});
|
|
16
23
|
module.exports = __toCommonJS(FleetVolume_exports);
|
|
24
|
+
var FleetVolume;
|
|
25
|
+
((FleetVolume2) => {
|
|
26
|
+
FleetVolume2.UseUnknownReason = {
|
|
27
|
+
NotMounted: "not_mounted",
|
|
28
|
+
NoReading: "no_reading"
|
|
29
|
+
};
|
|
30
|
+
FleetVolume2.CostUnknownReason = {
|
|
31
|
+
NotOnBill: "not_on_bill",
|
|
32
|
+
NoBill: "no_bill"
|
|
33
|
+
};
|
|
34
|
+
})(FleetVolume || (FleetVolume = {}));
|
|
35
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
36
|
+
0 && (module.exports = {
|
|
37
|
+
FleetVolume
|
|
38
|
+
});
|
|
17
39
|
//# sourceMappingURL=FleetVolume.js.map
|
|
@@ -1 +1,15 @@
|
|
|
1
|
+
var FleetVolume;
|
|
2
|
+
((FleetVolume2) => {
|
|
3
|
+
FleetVolume2.UseUnknownReason = {
|
|
4
|
+
NotMounted: "not_mounted",
|
|
5
|
+
NoReading: "no_reading"
|
|
6
|
+
};
|
|
7
|
+
FleetVolume2.CostUnknownReason = {
|
|
8
|
+
NotOnBill: "not_on_bill",
|
|
9
|
+
NoBill: "no_bill"
|
|
10
|
+
};
|
|
11
|
+
})(FleetVolume || (FleetVolume = {}));
|
|
12
|
+
export {
|
|
13
|
+
FleetVolume
|
|
14
|
+
};
|
|
1
15
|
//# sourceMappingURL=FleetVolume.mjs.map
|
|
@@ -7,8 +7,12 @@ export interface FleetWorkload {
|
|
|
7
7
|
name: string;
|
|
8
8
|
/** No longer in the cluster, listed for its cost in the window */
|
|
9
9
|
removed?: boolean | undefined;
|
|
10
|
+
/** A pull-request environment, which lives a few days: a label channel, or one ending in /channel, valued pr-<number>. The counts of workloads at risk leave it out unless the request passes include_ephemeral */
|
|
11
|
+
ephemeral?: boolean | undefined;
|
|
10
12
|
/** As the cluster's workloads list reads it */
|
|
11
13
|
cost?: (number | null) | undefined;
|
|
14
|
+
/** 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 */
|
|
15
|
+
cost_unknown_reason?: (FleetWorkload.CostUnknownReason | null) | undefined;
|
|
12
16
|
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
13
17
|
cost_net?: (number | null) | undefined;
|
|
14
18
|
/** CPU and memory efficiency weighted by what each cost */
|
|
@@ -22,6 +26,11 @@ export interface FleetWorkload {
|
|
|
22
26
|
reliability: LevelFour.ReliabilityCounts;
|
|
23
27
|
}
|
|
24
28
|
export declare namespace FleetWorkload {
|
|
29
|
+
const CostUnknownReason: {
|
|
30
|
+
readonly ComputeUnpriced: "compute_unpriced";
|
|
31
|
+
readonly NothingPriced: "nothing_priced";
|
|
32
|
+
};
|
|
33
|
+
type CostUnknownReason = (typeof CostUnknownReason)[keyof typeof CostUnknownReason];
|
|
25
34
|
/** As the cluster's workloads list reads it: the worst severity among its indicators */
|
|
26
35
|
const Risk: {
|
|
27
36
|
readonly High: "high";
|
|
@@ -7,8 +7,12 @@ export interface FleetWorkload {
|
|
|
7
7
|
name: string;
|
|
8
8
|
/** No longer in the cluster, listed for its cost in the window */
|
|
9
9
|
removed?: boolean | undefined;
|
|
10
|
+
/** A pull-request environment, which lives a few days: a label channel, or one ending in /channel, valued pr-<number>. The counts of workloads at risk leave it out unless the request passes include_ephemeral */
|
|
11
|
+
ephemeral?: boolean | undefined;
|
|
10
12
|
/** As the cluster's workloads list reads it */
|
|
11
13
|
cost?: (number | null) | undefined;
|
|
14
|
+
/** 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 */
|
|
15
|
+
cost_unknown_reason?: (FleetWorkload.CostUnknownReason | null) | undefined;
|
|
12
16
|
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
13
17
|
cost_net?: (number | null) | undefined;
|
|
14
18
|
/** CPU and memory efficiency weighted by what each cost */
|
|
@@ -22,6 +26,11 @@ export interface FleetWorkload {
|
|
|
22
26
|
reliability: LevelFour.ReliabilityCounts;
|
|
23
27
|
}
|
|
24
28
|
export declare namespace FleetWorkload {
|
|
29
|
+
const CostUnknownReason: {
|
|
30
|
+
readonly ComputeUnpriced: "compute_unpriced";
|
|
31
|
+
readonly NothingPriced: "nothing_priced";
|
|
32
|
+
};
|
|
33
|
+
type CostUnknownReason = (typeof CostUnknownReason)[keyof typeof CostUnknownReason];
|
|
25
34
|
/** As the cluster's workloads list reads it: the worst severity among its indicators */
|
|
26
35
|
const Risk: {
|
|
27
36
|
readonly High: "high";
|
|
@@ -23,6 +23,10 @@ __export(FleetWorkload_exports, {
|
|
|
23
23
|
module.exports = __toCommonJS(FleetWorkload_exports);
|
|
24
24
|
var FleetWorkload;
|
|
25
25
|
((FleetWorkload2) => {
|
|
26
|
+
FleetWorkload2.CostUnknownReason = {
|
|
27
|
+
ComputeUnpriced: "compute_unpriced",
|
|
28
|
+
NothingPriced: "nothing_priced"
|
|
29
|
+
};
|
|
26
30
|
FleetWorkload2.Risk = {
|
|
27
31
|
High: "high",
|
|
28
32
|
Medium: "medium",
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
export interface FleetWorkloadFacets {
|
|
3
|
+
/** Each reliability value with the workloads it keeps under the scope and every other filter, whatever reliability values the request chose, so a count is the list's total_items for that value alone. It names all eight values, at 0 when one keeps none, in the order the Reliability tab shows its figures */
|
|
4
|
+
reliability: LevelFour.ReliabilityFacetCount[];
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
export interface FleetWorkloadFacets {
|
|
3
|
+
/** Each reliability value with the workloads it keeps under the scope and every other filter, whatever reliability values the request chose, so a count is the list's total_items for that value alone. It names all eight values, at 0 when one keeps none, in the order the Reliability tab shows its figures */
|
|
4
|
+
reliability: LevelFour.ReliabilityFacetCount[];
|
|
5
|
+
}
|
|
@@ -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 FleetWorkloadFacets_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(FleetWorkloadFacets_exports);
|
|
17
|
+
//# sourceMappingURL=FleetWorkloadFacets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=FleetWorkloadFacets.mjs.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
export interface HeldResources {
|
|
3
|
+
/** The CPU and memory requests the pods hold */
|
|
4
|
+
requests: LevelFour.ResourceList;
|
|
5
|
+
/** The CPU and memory limits the pods hold */
|
|
6
|
+
limits: LevelFour.ResourceList;
|
|
7
|
+
/** Who set what the pods hold when the template did not: limit_range when the namespace's LimitRange defaults filled what the template leaves out, admission when the pods hold anything else (a webhook, or a resize in place). Null when the pods hold the template's values */
|
|
8
|
+
cpu_set_by?: (HeldResources.CpuSetBy | null) | undefined;
|
|
9
|
+
/** Who set what the pods hold when the template did not: limit_range when the namespace's LimitRange defaults filled what the template leaves out, admission when the pods hold anything else (a webhook, or a resize in place). Null when the pods hold the template's values */
|
|
10
|
+
memory_set_by?: (HeldResources.MemorySetBy | null) | undefined;
|
|
11
|
+
}
|
|
12
|
+
export declare namespace HeldResources {
|
|
13
|
+
const CpuSetBy: {
|
|
14
|
+
readonly LimitRange: "limit_range";
|
|
15
|
+
readonly Admission: "admission";
|
|
16
|
+
};
|
|
17
|
+
type CpuSetBy = (typeof CpuSetBy)[keyof typeof CpuSetBy];
|
|
18
|
+
const MemorySetBy: {
|
|
19
|
+
readonly LimitRange: "limit_range";
|
|
20
|
+
readonly Admission: "admission";
|
|
21
|
+
};
|
|
22
|
+
type MemorySetBy = (typeof MemorySetBy)[keyof typeof MemorySetBy];
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
export interface HeldResources {
|
|
3
|
+
/** The CPU and memory requests the pods hold */
|
|
4
|
+
requests: LevelFour.ResourceList;
|
|
5
|
+
/** The CPU and memory limits the pods hold */
|
|
6
|
+
limits: LevelFour.ResourceList;
|
|
7
|
+
/** Who set what the pods hold when the template did not: limit_range when the namespace's LimitRange defaults filled what the template leaves out, admission when the pods hold anything else (a webhook, or a resize in place). Null when the pods hold the template's values */
|
|
8
|
+
cpu_set_by?: (HeldResources.CpuSetBy | null) | undefined;
|
|
9
|
+
/** Who set what the pods hold when the template did not: limit_range when the namespace's LimitRange defaults filled what the template leaves out, admission when the pods hold anything else (a webhook, or a resize in place). Null when the pods hold the template's values */
|
|
10
|
+
memory_set_by?: (HeldResources.MemorySetBy | null) | undefined;
|
|
11
|
+
}
|
|
12
|
+
export declare namespace HeldResources {
|
|
13
|
+
const CpuSetBy: {
|
|
14
|
+
readonly LimitRange: "limit_range";
|
|
15
|
+
readonly Admission: "admission";
|
|
16
|
+
};
|
|
17
|
+
type CpuSetBy = (typeof CpuSetBy)[keyof typeof CpuSetBy];
|
|
18
|
+
const MemorySetBy: {
|
|
19
|
+
readonly LimitRange: "limit_range";
|
|
20
|
+
readonly Admission: "admission";
|
|
21
|
+
};
|
|
22
|
+
type MemorySetBy = (typeof MemorySetBy)[keyof typeof MemorySetBy];
|
|
23
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 HeldResources_exports = {};
|
|
20
|
+
__export(HeldResources_exports, {
|
|
21
|
+
HeldResources: () => HeldResources
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(HeldResources_exports);
|
|
24
|
+
var HeldResources;
|
|
25
|
+
((HeldResources2) => {
|
|
26
|
+
HeldResources2.CpuSetBy = {
|
|
27
|
+
LimitRange: "limit_range",
|
|
28
|
+
Admission: "admission"
|
|
29
|
+
};
|
|
30
|
+
HeldResources2.MemorySetBy = {
|
|
31
|
+
LimitRange: "limit_range",
|
|
32
|
+
Admission: "admission"
|
|
33
|
+
};
|
|
34
|
+
})(HeldResources || (HeldResources = {}));
|
|
35
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
36
|
+
0 && (module.exports = {
|
|
37
|
+
HeldResources
|
|
38
|
+
});
|
|
39
|
+
//# sourceMappingURL=HeldResources.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
var HeldResources;
|
|
2
|
+
((HeldResources2) => {
|
|
3
|
+
HeldResources2.CpuSetBy = {
|
|
4
|
+
LimitRange: "limit_range",
|
|
5
|
+
Admission: "admission"
|
|
6
|
+
};
|
|
7
|
+
HeldResources2.MemorySetBy = {
|
|
8
|
+
LimitRange: "limit_range",
|
|
9
|
+
Admission: "admission"
|
|
10
|
+
};
|
|
11
|
+
})(HeldResources || (HeldResources = {}));
|
|
12
|
+
export {
|
|
13
|
+
HeldResources
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=HeldResources.mjs.map
|
|
@@ -17,11 +17,15 @@ export declare namespace Indicator {
|
|
|
17
17
|
readonly CpuRequestNotSet: "cpu_request_not_set";
|
|
18
18
|
readonly MemoryRequestNotSet: "memory_request_not_set";
|
|
19
19
|
readonly MemoryLimitNotSet: "memory_limit_not_set";
|
|
20
|
+
readonly RequestSetAtAdmission: "request_set_at_admission";
|
|
21
|
+
readonly AwaitingSizing: "awaiting_sizing";
|
|
20
22
|
readonly LivenessProbeMissing: "liveness_probe_missing";
|
|
21
23
|
readonly ReadinessProbeMissing: "readiness_probe_missing";
|
|
22
24
|
readonly OverProvisionedCpuRequest: "over_provisioned_cpu_request";
|
|
23
25
|
readonly OverProvisionedMemoryRequest: "over_provisioned_memory_request";
|
|
24
26
|
readonly Eviction: "eviction";
|
|
27
|
+
readonly NoReadyReplica: "no_ready_replica";
|
|
28
|
+
readonly PodsPending: "pods_pending";
|
|
25
29
|
readonly HpaAtMax: "hpa_at_max";
|
|
26
30
|
readonly PdbTooStrict: "pdb_too_strict";
|
|
27
31
|
readonly PdbMissing: "pdb_missing";
|
|
@@ -17,11 +17,15 @@ export declare namespace Indicator {
|
|
|
17
17
|
readonly CpuRequestNotSet: "cpu_request_not_set";
|
|
18
18
|
readonly MemoryRequestNotSet: "memory_request_not_set";
|
|
19
19
|
readonly MemoryLimitNotSet: "memory_limit_not_set";
|
|
20
|
+
readonly RequestSetAtAdmission: "request_set_at_admission";
|
|
21
|
+
readonly AwaitingSizing: "awaiting_sizing";
|
|
20
22
|
readonly LivenessProbeMissing: "liveness_probe_missing";
|
|
21
23
|
readonly ReadinessProbeMissing: "readiness_probe_missing";
|
|
22
24
|
readonly OverProvisionedCpuRequest: "over_provisioned_cpu_request";
|
|
23
25
|
readonly OverProvisionedMemoryRequest: "over_provisioned_memory_request";
|
|
24
26
|
readonly Eviction: "eviction";
|
|
27
|
+
readonly NoReadyReplica: "no_ready_replica";
|
|
28
|
+
readonly PodsPending: "pods_pending";
|
|
25
29
|
readonly HpaAtMax: "hpa_at_max";
|
|
26
30
|
readonly PdbTooStrict: "pdb_too_strict";
|
|
27
31
|
readonly PdbMissing: "pdb_missing";
|
|
@@ -35,11 +35,15 @@ var Indicator;
|
|
|
35
35
|
CpuRequestNotSet: "cpu_request_not_set",
|
|
36
36
|
MemoryRequestNotSet: "memory_request_not_set",
|
|
37
37
|
MemoryLimitNotSet: "memory_limit_not_set",
|
|
38
|
+
RequestSetAtAdmission: "request_set_at_admission",
|
|
39
|
+
AwaitingSizing: "awaiting_sizing",
|
|
38
40
|
LivenessProbeMissing: "liveness_probe_missing",
|
|
39
41
|
ReadinessProbeMissing: "readiness_probe_missing",
|
|
40
42
|
OverProvisionedCpuRequest: "over_provisioned_cpu_request",
|
|
41
43
|
OverProvisionedMemoryRequest: "over_provisioned_memory_request",
|
|
42
44
|
Eviction: "eviction",
|
|
45
|
+
NoReadyReplica: "no_ready_replica",
|
|
46
|
+
PodsPending: "pods_pending",
|
|
43
47
|
HpaAtMax: "hpa_at_max",
|
|
44
48
|
PdbTooStrict: "pdb_too_strict",
|
|
45
49
|
PdbMissing: "pdb_missing",
|
|
@@ -12,11 +12,15 @@ var Indicator;
|
|
|
12
12
|
CpuRequestNotSet: "cpu_request_not_set",
|
|
13
13
|
MemoryRequestNotSet: "memory_request_not_set",
|
|
14
14
|
MemoryLimitNotSet: "memory_limit_not_set",
|
|
15
|
+
RequestSetAtAdmission: "request_set_at_admission",
|
|
16
|
+
AwaitingSizing: "awaiting_sizing",
|
|
15
17
|
LivenessProbeMissing: "liveness_probe_missing",
|
|
16
18
|
ReadinessProbeMissing: "readiness_probe_missing",
|
|
17
19
|
OverProvisionedCpuRequest: "over_provisioned_cpu_request",
|
|
18
20
|
OverProvisionedMemoryRequest: "over_provisioned_memory_request",
|
|
19
21
|
Eviction: "eviction",
|
|
22
|
+
NoReadyReplica: "no_ready_replica",
|
|
23
|
+
PodsPending: "pods_pending",
|
|
20
24
|
HpaAtMax: "hpa_at_max",
|
|
21
25
|
PdbTooStrict: "pdb_too_strict",
|
|
22
26
|
PdbMissing: "pdb_missing",
|
|
@@ -18,11 +18,15 @@ export declare namespace IndicatorCount {
|
|
|
18
18
|
readonly CpuRequestNotSet: "cpu_request_not_set";
|
|
19
19
|
readonly MemoryRequestNotSet: "memory_request_not_set";
|
|
20
20
|
readonly MemoryLimitNotSet: "memory_limit_not_set";
|
|
21
|
+
readonly RequestSetAtAdmission: "request_set_at_admission";
|
|
22
|
+
readonly AwaitingSizing: "awaiting_sizing";
|
|
21
23
|
readonly LivenessProbeMissing: "liveness_probe_missing";
|
|
22
24
|
readonly ReadinessProbeMissing: "readiness_probe_missing";
|
|
23
25
|
readonly OverProvisionedCpuRequest: "over_provisioned_cpu_request";
|
|
24
26
|
readonly OverProvisionedMemoryRequest: "over_provisioned_memory_request";
|
|
25
27
|
readonly Eviction: "eviction";
|
|
28
|
+
readonly NoReadyReplica: "no_ready_replica";
|
|
29
|
+
readonly PodsPending: "pods_pending";
|
|
26
30
|
readonly HpaAtMax: "hpa_at_max";
|
|
27
31
|
readonly PdbTooStrict: "pdb_too_strict";
|
|
28
32
|
readonly PdbMissing: "pdb_missing";
|
|
@@ -18,11 +18,15 @@ export declare namespace IndicatorCount {
|
|
|
18
18
|
readonly CpuRequestNotSet: "cpu_request_not_set";
|
|
19
19
|
readonly MemoryRequestNotSet: "memory_request_not_set";
|
|
20
20
|
readonly MemoryLimitNotSet: "memory_limit_not_set";
|
|
21
|
+
readonly RequestSetAtAdmission: "request_set_at_admission";
|
|
22
|
+
readonly AwaitingSizing: "awaiting_sizing";
|
|
21
23
|
readonly LivenessProbeMissing: "liveness_probe_missing";
|
|
22
24
|
readonly ReadinessProbeMissing: "readiness_probe_missing";
|
|
23
25
|
readonly OverProvisionedCpuRequest: "over_provisioned_cpu_request";
|
|
24
26
|
readonly OverProvisionedMemoryRequest: "over_provisioned_memory_request";
|
|
25
27
|
readonly Eviction: "eviction";
|
|
28
|
+
readonly NoReadyReplica: "no_ready_replica";
|
|
29
|
+
readonly PodsPending: "pods_pending";
|
|
26
30
|
readonly HpaAtMax: "hpa_at_max";
|
|
27
31
|
readonly PdbTooStrict: "pdb_too_strict";
|
|
28
32
|
readonly PdbMissing: "pdb_missing";
|
|
@@ -35,11 +35,15 @@ var IndicatorCount;
|
|
|
35
35
|
CpuRequestNotSet: "cpu_request_not_set",
|
|
36
36
|
MemoryRequestNotSet: "memory_request_not_set",
|
|
37
37
|
MemoryLimitNotSet: "memory_limit_not_set",
|
|
38
|
+
RequestSetAtAdmission: "request_set_at_admission",
|
|
39
|
+
AwaitingSizing: "awaiting_sizing",
|
|
38
40
|
LivenessProbeMissing: "liveness_probe_missing",
|
|
39
41
|
ReadinessProbeMissing: "readiness_probe_missing",
|
|
40
42
|
OverProvisionedCpuRequest: "over_provisioned_cpu_request",
|
|
41
43
|
OverProvisionedMemoryRequest: "over_provisioned_memory_request",
|
|
42
44
|
Eviction: "eviction",
|
|
45
|
+
NoReadyReplica: "no_ready_replica",
|
|
46
|
+
PodsPending: "pods_pending",
|
|
43
47
|
HpaAtMax: "hpa_at_max",
|
|
44
48
|
PdbTooStrict: "pdb_too_strict",
|
|
45
49
|
PdbMissing: "pdb_missing",
|
|
@@ -12,11 +12,15 @@ var IndicatorCount;
|
|
|
12
12
|
CpuRequestNotSet: "cpu_request_not_set",
|
|
13
13
|
MemoryRequestNotSet: "memory_request_not_set",
|
|
14
14
|
MemoryLimitNotSet: "memory_limit_not_set",
|
|
15
|
+
RequestSetAtAdmission: "request_set_at_admission",
|
|
16
|
+
AwaitingSizing: "awaiting_sizing",
|
|
15
17
|
LivenessProbeMissing: "liveness_probe_missing",
|
|
16
18
|
ReadinessProbeMissing: "readiness_probe_missing",
|
|
17
19
|
OverProvisionedCpuRequest: "over_provisioned_cpu_request",
|
|
18
20
|
OverProvisionedMemoryRequest: "over_provisioned_memory_request",
|
|
19
21
|
Eviction: "eviction",
|
|
22
|
+
NoReadyReplica: "no_ready_replica",
|
|
23
|
+
PodsPending: "pods_pending",
|
|
20
24
|
HpaAtMax: "hpa_at_max",
|
|
21
25
|
PdbTooStrict: "pdb_too_strict",
|
|
22
26
|
PdbMissing: "pdb_missing",
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The JVM options the reader found set, as numbers: an option not set is absent. incomplete is true when the JVM
|
|
3
|
+
* cut its record of the options, so a later setting may be missing.
|
|
4
|
+
*/
|
|
5
|
+
export interface JvmFlags {
|
|
6
|
+
max_heap_bytes?: (number | null) | undefined;
|
|
7
|
+
initial_heap_bytes?: (number | null) | undefined;
|
|
8
|
+
max_ram_percentage?: (number | null) | undefined;
|
|
9
|
+
initial_ram_percentage?: (number | null) | undefined;
|
|
10
|
+
min_ram_percentage?: (number | null) | undefined;
|
|
11
|
+
max_ram_bytes?: (number | null) | undefined;
|
|
12
|
+
max_ram_fraction?: (number | null) | undefined;
|
|
13
|
+
active_processor_count?: (number | null) | undefined;
|
|
14
|
+
max_direct_memory_bytes?: (number | null) | undefined;
|
|
15
|
+
max_metaspace_bytes?: (number | null) | undefined;
|
|
16
|
+
reserved_code_cache_bytes?: (number | null) | undefined;
|
|
17
|
+
soft_max_heap_bytes?: (number | null) | undefined;
|
|
18
|
+
thread_stack_bytes?: (number | null) | undefined;
|
|
19
|
+
parallel_gc_threads?: (number | null) | undefined;
|
|
20
|
+
conc_gc_threads?: (number | null) | undefined;
|
|
21
|
+
container_support?: (boolean | null) | undefined;
|
|
22
|
+
always_pre_touch?: (boolean | null) | undefined;
|
|
23
|
+
requested_collector?: (JvmFlags.RequestedCollector | null) | undefined;
|
|
24
|
+
incomplete?: boolean | undefined;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace JvmFlags {
|
|
27
|
+
const RequestedCollector: {
|
|
28
|
+
readonly Serial: "serial";
|
|
29
|
+
readonly Parallel: "parallel";
|
|
30
|
+
readonly Cms: "cms";
|
|
31
|
+
readonly G1: "g1";
|
|
32
|
+
readonly Zgc: "zgc";
|
|
33
|
+
readonly Shenandoah: "shenandoah";
|
|
34
|
+
readonly Epsilon: "epsilon";
|
|
35
|
+
readonly Unknown: "unknown";
|
|
36
|
+
};
|
|
37
|
+
type RequestedCollector = (typeof RequestedCollector)[keyof typeof RequestedCollector];
|
|
38
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The JVM options the reader found set, as numbers: an option not set is absent. incomplete is true when the JVM
|
|
3
|
+
* cut its record of the options, so a later setting may be missing.
|
|
4
|
+
*/
|
|
5
|
+
export interface JvmFlags {
|
|
6
|
+
max_heap_bytes?: (number | null) | undefined;
|
|
7
|
+
initial_heap_bytes?: (number | null) | undefined;
|
|
8
|
+
max_ram_percentage?: (number | null) | undefined;
|
|
9
|
+
initial_ram_percentage?: (number | null) | undefined;
|
|
10
|
+
min_ram_percentage?: (number | null) | undefined;
|
|
11
|
+
max_ram_bytes?: (number | null) | undefined;
|
|
12
|
+
max_ram_fraction?: (number | null) | undefined;
|
|
13
|
+
active_processor_count?: (number | null) | undefined;
|
|
14
|
+
max_direct_memory_bytes?: (number | null) | undefined;
|
|
15
|
+
max_metaspace_bytes?: (number | null) | undefined;
|
|
16
|
+
reserved_code_cache_bytes?: (number | null) | undefined;
|
|
17
|
+
soft_max_heap_bytes?: (number | null) | undefined;
|
|
18
|
+
thread_stack_bytes?: (number | null) | undefined;
|
|
19
|
+
parallel_gc_threads?: (number | null) | undefined;
|
|
20
|
+
conc_gc_threads?: (number | null) | undefined;
|
|
21
|
+
container_support?: (boolean | null) | undefined;
|
|
22
|
+
always_pre_touch?: (boolean | null) | undefined;
|
|
23
|
+
requested_collector?: (JvmFlags.RequestedCollector | null) | undefined;
|
|
24
|
+
incomplete?: boolean | undefined;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace JvmFlags {
|
|
27
|
+
const RequestedCollector: {
|
|
28
|
+
readonly Serial: "serial";
|
|
29
|
+
readonly Parallel: "parallel";
|
|
30
|
+
readonly Cms: "cms";
|
|
31
|
+
readonly G1: "g1";
|
|
32
|
+
readonly Zgc: "zgc";
|
|
33
|
+
readonly Shenandoah: "shenandoah";
|
|
34
|
+
readonly Epsilon: "epsilon";
|
|
35
|
+
readonly Unknown: "unknown";
|
|
36
|
+
};
|
|
37
|
+
type RequestedCollector = (typeof RequestedCollector)[keyof typeof RequestedCollector];
|
|
38
|
+
}
|