2022-07-06 06:08:45 +00:00
|
|
|
<page-header
|
|
|
|
title="'Task details'"
|
|
|
|
breadcrumbs="[
|
|
|
|
{ label:'Services', link:'docker.services' },
|
2022-11-28 02:00:28 +00:00
|
|
|
{
|
2022-07-06 06:08:45 +00:00
|
|
|
label: service.Name,
|
2022-11-28 02:00:28 +00:00
|
|
|
link: 'docker.services.service',
|
2022-07-06 06:08:45 +00:00
|
|
|
linkParams:{ id: service.Id }
|
|
|
|
}, task.Id]"
|
|
|
|
>
|
|
|
|
</page-header>
|
2016-09-23 04:54:58 +00:00
|
|
|
|
2017-05-23 18:56:10 +00:00
|
|
|
<div class="row" ng-if="task && service">
|
2016-09-23 04:54:58 +00:00
|
|
|
<div class="col-lg-12 col-md-12 col-xs-12">
|
|
|
|
<rd-widget>
|
2022-11-28 02:00:28 +00:00
|
|
|
<rd-widget-header icon="list" title-text="Task status"></rd-widget-header>
|
2016-09-23 04:54:58 +00:00
|
|
|
<rd-widget-body classes="no-padding">
|
|
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>ID</td>
|
2017-05-23 18:56:10 +00:00
|
|
|
<td>{{ task.Id }}</td>
|
2016-09-23 04:54:58 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>State</td>
|
2020-04-10 21:54:53 +00:00
|
|
|
<td
|
|
|
|
><span class="label label-{{ task.Status.State | taskstatusbadge }}">{{ task.Status.State }}</span></td
|
|
|
|
>
|
2016-09-23 04:54:58 +00:00
|
|
|
</tr>
|
2017-05-25 10:16:14 +00:00
|
|
|
<tr>
|
|
|
|
<td>State Message</td>
|
|
|
|
<td>{{ task.Status.Message }}</td>
|
|
|
|
</tr>
|
2016-09-23 04:54:58 +00:00
|
|
|
<tr ng-if="task.Status.Err">
|
|
|
|
<td>Error message</td>
|
2020-04-10 21:54:53 +00:00
|
|
|
<td
|
|
|
|
><code>{{ task.Status.Err }}</code></td
|
|
|
|
>
|
2016-09-23 04:54:58 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Image</td>
|
2017-05-23 18:56:10 +00:00
|
|
|
<td>{{ task.Spec.ContainerSpec.Image | hideshasum }}</td>
|
2016-09-23 04:54:58 +00:00
|
|
|
</tr>
|
2017-05-23 18:56:10 +00:00
|
|
|
<tr ng-if="service.Mode !== 'global'">
|
2016-09-23 04:54:58 +00:00
|
|
|
<td>Slot</td>
|
|
|
|
<td>{{ task.Slot }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Created</td>
|
2020-04-10 21:54:53 +00:00
|
|
|
<td>{{ task.Created | getisodate }}</td>
|
2016-09-23 04:54:58 +00:00
|
|
|
</tr>
|
|
|
|
<tr ng-if="task.Status.ContainerStatus.ContainerID">
|
|
|
|
<td>Container ID</td>
|
|
|
|
<td>{{ task.Status.ContainerStatus.ContainerID }}</td>
|
|
|
|
</tr>
|
2020-04-10 21:54:53 +00:00
|
|
|
<tr ng-if="applicationState.endpoint.apiVersion >= 1.3 && task.Status.State | taskhaslogs">
|
|
|
|
<td colspan="2"
|
2022-11-28 02:00:28 +00:00
|
|
|
><a class="btn btn-primary btn-sm" type="button" ui-sref="docker.tasks.task.logs({id: task.Id})">
|
|
|
|
<pr-icon icon="'file-text'"></pr-icon>
|
|
|
|
Task logs</a
|
2020-04-10 21:54:53 +00:00
|
|
|
></td
|
|
|
|
>
|
2018-02-28 06:19:28 +00:00
|
|
|
</tr>
|
2016-09-23 04:54:58 +00:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</rd-widget-body>
|
|
|
|
</rd-widget>
|
|
|
|
</div>
|
|
|
|
</div>
|