2022-07-01 01:14:22 +00:00
< page-header title = "'Dashboard'" breadcrumbs = "['Environment summary']" > < / page-header >
2016-06-08 06:23:11 +00:00
2018-07-23 09:31:21 +00:00
< div class = "row" ng-if = "applicationState.endpoint.mode.agentProxy && applicationState.endpoint.mode.provider === 'DOCKER_SWARM_MODE'" >
2018-05-06 07:15:57 +00:00
< div class = "col-sm-12" >
2022-11-02 11:29:26 +00:00
< dashboard-cluster-agent-info endpoint-id = "endpoint.Id" > < / dashboard-cluster-agent-info >
2018-05-06 07:15:57 +00:00
< / div >
< / div >
2018-08-21 18:40:42 +00:00
< information-panel
2020-04-10 21:54:53 +00:00
ng-if="
!applicationState.UI.dismissedInfoPanels['docker-dashboard-info-01'] & &
!applicationState.endpoint.mode.agentProxy & &
applicationState.endpoint.mode.provider === 'DOCKER_SWARM_MODE'
"
2018-08-21 18:40:42 +00:00
title-text="Information"
2020-04-10 21:54:53 +00:00
dismiss-action="dismissInformationPanel('docker-dashboard-info-01')"
>
2018-08-21 18:40:42 +00:00
< span class = "small" >
< p class = "text-muted" ng-if = "applicationState.endpoint.mode.role === 'MANAGER'" >
2022-11-28 02:00:28 +00:00
< pr-icon icon = "'alert-circle'" mode = "'primary'" > < / pr-icon >
2020-04-10 21:54:53 +00:00
Portainer is connected to a node that is part of a Swarm cluster. Some resources located on other nodes in the cluster might not be available for management, have a look at
2022-12-18 08:13:18 +00:00
< a href = "https://docs.portainer.io/start/install/agent/swarm/linux" target = "_blank" > our agent setup< / a > for more details.
2018-08-21 18:40:42 +00:00
< / p >
< p class = "text-muted" ng-if = "applicationState.endpoint.mode.role === 'WORKER'" >
2022-11-28 02:00:28 +00:00
< pr-icon icon = "'alert-circle'" mode = "'primary'" > < / pr-icon >
2018-08-21 18:40:42 +00:00
Portainer is connected to a worker node. Swarm management features will not be available.
< / p >
< / span >
< / information-panel >
2018-06-04 08:30:53 +00:00
2022-07-06 08:23:53 +00:00
< div ng-if = "info" >
< div class = "row" ng-if = "(!applicationState.endpoint.mode.agentProxy || applicationState.endpoint.mode.provider !== 'DOCKER_SWARM_MODE') && info && endpoint" >
< div class = "col-sm-12" >
2017-10-15 17:24:40 +00:00
< rd-widget >
2022-11-28 02:00:28 +00:00
< rd-widget-header icon = "gauge" title-text = "Environment info" > < / rd-widget-header >
2022-08-05 02:17:31 +00:00
< rd-widget-body classes = "!px-5 !py-0" >
2022-07-06 08:23:53 +00:00
< table class = "table" >
< tbody >
< tr >
< td > Environment< / td >
< td >
{{ endpoint.Name }}
< span class = "small text-muted space-left" >
2022-11-28 02:00:28 +00:00
< pr-icon icon = "'cpu'" > < / pr-icon > {{ endpoint.Snapshots[0].TotalCPU }} < pr-icon icon = "'svg-memory'" > < / pr-icon >
2022-08-05 02:17:31 +00:00
{{ endpoint.Snapshots[0].TotalMemory | humansize }}
2022-07-06 08:23:53 +00:00
< / span >
< span class = "small text-muted" >
- {{ info.Swarm & & info.Swarm.NodeID !== '' ? 'Swarm' : 'Standalone' }} {{ info.ServerVersion }}
2022-11-28 02:00:28 +00:00
< span ng-if = "endpoint.Type === 2" >
< pr-icon icon = "'zap'" > < / pr-icon >
Agent< /span
>< /span
2022-07-06 08:23:53 +00:00
>
< / td >
< / tr >
< tr ng-if = "showEnvUrl" >
< td > URL< / td >
< td > {{ endpoint.URL | stripprotocol }}< / td >
< / tr >
2022-07-17 23:02:14 +00:00
< tr >
< td > {{ endpoint.Gpus.length < = 1 ? 'GPU' : 'GPUs' }}< / td >
< td > {{ gpuInfoStr }}< / td >
< / tr >
2022-07-06 08:23:53 +00:00
< tr >
< td > Tags< / td >
< td > {{ endpointTags }}< / td >
< / tr >
< tr ng-if = "applicationState.endpoint.mode.provider === 'DOCKER_SWARM_MODE' && applicationState.endpoint.mode.role === 'MANAGER'" >
< td colspan = "2" >
< div class = "btn-group" role = "group" aria-label = "..." >
2022-11-28 02:00:28 +00:00
< a ui-sref = "docker.swarm.visualizer" class = "vertical-center" > < pr-icon icon = "'trello'" class-name = "'icon'" > < / pr-icon > Go to cluster visualizer< / a >
2022-07-06 08:23:53 +00:00
< / div >
< / td >
< / tr >
< / tbody >
< / table >
2017-10-15 17:24:40 +00:00
< / rd-widget-body >
< / rd-widget >
2022-07-06 08:23:53 +00:00
< / div >
2017-10-15 17:24:40 +00:00
< / div >
2022-07-06 08:23:53 +00:00
2023-03-07 22:22:08 +00:00
< div class = "mx-4 grid grid-cols-2 gap-3" >
2022-08-24 04:40:50 +00:00
< a class = "no-link" ui-sref = "docker.stacks" ng-if = "showStacks" >
2022-11-28 02:00:28 +00:00
< dashboard-item icon = "'layers'" type = "'Stack'" value = "stackCount" > < / dashboard-item >
2017-10-15 17:24:40 +00:00
< / a >
2022-07-06 08:23:53 +00:00
< div ng-if = "applicationState.endpoint.mode.provider === 'DOCKER_SWARM_MODE' && applicationState.endpoint.mode.role === 'MANAGER'" >
2022-08-24 04:40:50 +00:00
< a class = "no-link" ui-sref = "docker.services" >
2022-11-28 02:00:28 +00:00
< dashboard-item icon = "'shuffle'" type = "'Service'" value = "serviceCount" > < / dashboard-item >
2022-07-06 08:23:53 +00:00
< / a >
< / div >
2022-08-24 04:40:50 +00:00
< a class = "no-link" ng-if = "containers" ui-sref = "docker.containers" >
2022-11-28 02:00:28 +00:00
< dashboard-item icon = "'box'" type = "'Container'" value = "containers.length" children = "containerStatusComponent" > < / dashboard-item >
2016-07-13 22:58:39 +00:00
< / a >
2022-07-06 08:23:53 +00:00
2022-08-24 04:40:50 +00:00
< a class = "no-link" ng-if = "images" ui-sref = "docker.images" >
2022-11-28 02:00:28 +00:00
< dashboard-item icon = "'list'" type = "'Image'" value = "images.length" children = "imagesTotalSizeComponent" > < / dashboard-item >
2016-07-13 22:58:39 +00:00
< / a >
2022-07-06 08:23:53 +00:00
2022-08-24 04:40:50 +00:00
< a class = "no-link" ui-sref = "docker.volumes" >
2022-11-28 02:00:28 +00:00
< dashboard-item icon = "'database'" type = "'Volume'" value = "volumeCount" > < / dashboard-item >
2016-07-13 22:58:39 +00:00
< / a >
2022-07-06 08:23:53 +00:00
2022-08-24 04:40:50 +00:00
< a class = "no-link" ui-sref = "docker.networks" >
2022-11-28 02:00:28 +00:00
< dashboard-item icon = "'share2'" type = "'Network'" value = "networkCount" > < / dashboard-item >
2016-07-13 22:58:39 +00:00
< / a >
2022-07-17 23:02:14 +00:00
< div >
2023-03-03 01:47:10 +00:00
< dashboard-item
ng-if="endpoint.EnableGPUManagement & & applicationState.endpoint.mode.provider === 'DOCKER_STANDALONE'"
icon="'cpu'"
type="'GPU'"
value="endpoint.Gpus.length"
>< / dashboard-item >
2022-07-17 23:02:14 +00:00
< / div >
2016-07-13 22:58:39 +00:00
< / div >
< / div >