1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00

refactor(GPU): refactor to colocate and simplify UI work [EE-5127] (#8593)

* refactor to colocate and simplify

* fix(insights): text size to match portainer views

---------

Co-authored-by: testa113 <testa113>
This commit is contained in:
Ali 2023-03-09 22:06:57 +13:00 committed by GitHub
parent fb6e26a302
commit 2cc80e5e5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 52 additions and 61 deletions

View file

@ -0,0 +1,29 @@
import { InsightsBox } from '@@/InsightsBox';
export function GpusInsights() {
return (
<InsightsBox
content={
<>
<p>
From 2.18 on, the set-up of available GPUs for a Docker Standalone
environment has been shifted from Add environment and Environment
details to Host -&gt; Setup, so as to align with other settings.
</p>
<p>
A toggle has been introduced for enabling/disabling management of
GPU settings in the Portainer UI - to alleviate the performance
impact of showing those settings.
</p>
<p>
The UI has been updated to clarify that GPU settings support is only
for Docker Standalone (and not Docker Swarm, which was never
supported in the UI).
</p>
</>
}
header="GPU settings update"
insightCloseId="gpu-settings-update-closed"
/>
);
}