mirror of
https://github.com/portainer/portainer.git
synced 2026-08-07 11:04:49 +00:00
feat(k8s): Implement dedicated node shell feature in Portainer [FR-1056] (#2645)
This commit is contained in:
committed by
GitHub
parent
33b8c2b74e
commit
3493ead1d6
@@ -3,6 +3,7 @@ import { BarChart } from 'lucide-react';
|
||||
|
||||
import { Link } from '@@/Link';
|
||||
import { Icon } from '@@/Icon';
|
||||
import { TooltipWithChildren } from '@@/Tip/TooltipWithChildren';
|
||||
|
||||
import { NodeRowData } from '../types';
|
||||
|
||||
@@ -34,13 +35,14 @@ function ActionsCell({
|
||||
<div className="flex gap-1.5">
|
||||
{metricsEnabled && (
|
||||
<Link
|
||||
title="Stats"
|
||||
to="kubernetes.cluster.node.stats"
|
||||
params={{ nodeName }}
|
||||
className="flex items-center p-1"
|
||||
data-cy="nodeStatsButton"
|
||||
>
|
||||
<Icon icon={BarChart} />
|
||||
<TooltipWithChildren message="Stats" position="top">
|
||||
<Icon icon={BarChart} />
|
||||
</TooltipWithChildren>
|
||||
</Link>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user