2016-06-08 06:23:11 +00:00
|
|
|
<rd-header>
|
2018-06-06 16:12:35 +00:00
|
|
|
<rd-header-title title-text="Cluster overview">
|
2018-02-01 12:27:52 +00:00
|
|
|
<a data-toggle="tooltip" title="Refresh" ui-sref="docker.swarm" ui-sref-opts="{reload: true}">
|
2018-03-13 05:36:53 +00:00
|
|
|
<i class="fa fa-sync" aria-hidden="true"></i>
|
2016-06-14 02:32:44 +00:00
|
|
|
</a>
|
|
|
|
</rd-header-title>
|
2016-06-08 06:23:11 +00:00
|
|
|
<rd-header-content>Swarm</rd-header-content>
|
|
|
|
</rd-header>
|
|
|
|
|
2016-06-02 05:34:03 +00:00
|
|
|
<div class="row">
|
2017-12-06 11:04:02 +00:00
|
|
|
<div class="col-sm-12">
|
2016-06-02 05:34:03 +00:00
|
|
|
<rd-widget>
|
2018-06-06 16:12:35 +00:00
|
|
|
<rd-widget-header icon="fa-object-group" title-text="Cluster status"></rd-widget-header>
|
2016-06-02 05:34:03 +00:00
|
|
|
<rd-widget-body classes="no-padding">
|
|
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>Nodes</td>
|
2018-04-04 00:31:04 +00:00
|
|
|
<td>{{ info.Swarm.Nodes }}</td>
|
2016-07-27 07:54:31 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Docker API version</td>
|
|
|
|
<td>{{ docker.ApiVersion }}</td>
|
|
|
|
</tr>
|
2016-06-02 05:34:03 +00:00
|
|
|
<tr>
|
2016-07-27 07:54:31 +00:00
|
|
|
<td>Total CPU</td>
|
2018-04-04 00:31:04 +00:00
|
|
|
<td>{{ totalCPU }}</td>
|
2016-06-02 05:34:03 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-07-27 07:54:31 +00:00
|
|
|
<td>Total memory</td>
|
2018-04-04 00:31:04 +00:00
|
|
|
<td>{{ totalMemory|humansize: 2 }}</td>
|
2016-06-02 05:34:03 +00:00
|
|
|
</tr>
|
2018-04-04 00:31:04 +00:00
|
|
|
<tr>
|
2017-09-14 06:04:59 +00:00
|
|
|
<td colspan="2">
|
|
|
|
<div class="btn-group" role="group" aria-label="...">
|
2018-02-01 12:27:52 +00:00
|
|
|
<a ui-sref="docker.swarm.visualizer"><i class="fa fa-object-group space-right" aria-hidden="true"></i>Go to cluster visualizer</a>
|
2017-09-14 06:04:59 +00:00
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2016-06-02 05:34:03 +00:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</rd-widget-body>
|
|
|
|
</rd-widget>
|
|
|
|
</div>
|
2016-07-27 07:54:31 +00:00
|
|
|
</div>
|
2016-09-23 04:54:58 +00:00
|
|
|
|
2016-07-27 07:54:31 +00:00
|
|
|
<div class="row">
|
2018-04-04 00:31:04 +00:00
|
|
|
<div class="col-sm-12">
|
2017-12-06 11:04:02 +00:00
|
|
|
<nodes-datatable
|
2018-06-06 16:12:35 +00:00
|
|
|
title-text="Nodes" title-icon="fa-hdd"
|
2017-12-06 11:04:02 +00:00
|
|
|
dataset="nodes" table-key="nodes"
|
2018-07-11 14:18:44 +00:00
|
|
|
order-by="Hostname"
|
2017-12-06 11:04:02 +00:00
|
|
|
show-ip-address-column="applicationState.endpoint.apiVersion >= 1.25"
|
|
|
|
access-to-node-details="!applicationState.application.authentication || isAdmin"
|
2019-07-22 10:54:59 +00:00
|
|
|
refresh-callback="getNodes"
|
2017-12-06 11:04:02 +00:00
|
|
|
></nodes-datatable>
|
2016-09-23 04:54:58 +00:00
|
|
|
</div>
|
2016-06-02 05:34:03 +00:00
|
|
|
</div>
|