{{page-title "Task " this.model.name}}
{{#if this.error}}

{{this.error.title}}

{{this.error.description}}

{{/if}}

{{this.model.name}} {{#if this.model.isConnectProxy}} {{/if}} {{this.model.state}}
{{#if this.model.isRunning}}
{{/if}}

Task Details Started At {{format-ts this.model.startedAt}} {{#if this.model.finishedAt}} Finished At {{format-ts this.model.finishedAt}} {{/if}} Driver {{this.model.task.driver}} Lifecycle {{this.model.task.lifecycleName}}
Resource Utilization
{{#if this.model.isRunning}}
{{else}}

Task isn't running

Only running tasks utilize resources.

{{/if}}
{{#if this.model.task.volumeMounts.length}}
Volumes
Name Destination Permissions Client Source {{row.model.volume}} {{row.model.destination}} {{if row.model.readOnly "Read" "Read/Write"}} {{#if row.model.isCSI}} {{format-volume-name source=row.model.source isPerAlloc=row.model.volumeDeclaration.perAlloc volumeExtension=this.model.allocation.volumeExtension}} {{else}} {{row.model.source}} {{/if}}
{{/if}}
Recent Events
Time Type Description {{format-ts row.model.time}} {{row.model.type}} {{#if row.model.message}} {{row.model.message}} {{else}} No message {{/if}}