diff --git a/ui/src/components/metrics-cell.tsx b/ui/src/components/metrics-cell.tsx index 8dbacc2d..7333a6d8 100644 --- a/ui/src/components/metrics-cell.tsx +++ b/ui/src/components/metrics-cell.tsx @@ -84,11 +84,17 @@ export function MetricCell({ {formatValue(metricValue)} + {metricLimit && ( + <> + / + {formatValue(metricLimit)} + + )} {showPercentage && metricLimit && metricValue > 0 && ( - + ({percentage.toFixed(0)}%) )} diff --git a/ui/src/pages/pod-list-page.tsx b/ui/src/pages/pod-list-page.tsx index dd122697..8a333d64 100644 --- a/ui/src/pages/pod-list-page.tsx +++ b/ui/src/pages/pod-list-page.tsx @@ -80,14 +80,22 @@ export function PodListPage() { id: 'cpu', header: 'CPU', cell: ({ row }) => ( - + ), }), columnHelper.accessor((row) => row.metrics?.memoryUsage || 0, { id: 'memory', header: 'Memory', cell: ({ row }) => ( - + ), }), columnHelper.accessor((row) => row.status?.podIP, {