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

{{this.error.title}}

{{this.error.description}}

{{/if}}

Allocation {{this.model.name}} {{this.model.clientStatus}}
{{#if this.model.isRunning}}
{{/if}}

{{this.model.id}}
Allocation Details Job {{this.model.job.name}} Client {{this.model.node.shortId}}
Resource Utilization
{{#if this.model.isRunning}}
{{else}}

Allocation isn't running

Only running allocations utilize resources.

{{/if}}
Tasks
{{#if this.sortedStates.length}} Name State Last Event Time Volumes CPU Memory {{else}}

No Tasks

Allocations will not have tasks until they are in a running state.

{{/if}}
{{#if this.ports.length}}
Ports
Name Host Address Mapped Port {{row.model.label}} {{row.model.hostIp}}:{{row.model.value}} {{row.model.to}}
{{/if}} {{#if this.services.length}}
Services
Name Port Tags On Update Connect? Upstreams {{row.model.name}} {{row.model.portLabel}} {{join ", " row.model.tags}} {{row.model.onUpdate}} {{if row.model.connect "Yes" "No"}} {{#each row.model.connect.sidecarService.proxy.upstreams as |upstream| }} {{upstream.destinationName}}:{{upstream.localBindPort}} {{/each}}
{{/if}} {{#if this.model.hasRescheduleEvents}}
Reschedule Events
{{/if}} {{#if this.model.wasPreempted}}
Preempted By
{{#if this.preempter}}
{{this.preempter.clientStatus}} {{this.preempter.name}} {{this.preempter.shortId}} Job {{this.preempter.job.name}} Priority {{this.preempter.job.priority}} Client {{this.preempter.node.shortId}} Reserved CPU {{format-scheduled-hertz this.preempter.resources.cpu}} Reserved Memory {{format-scheduled-bytes this.preempter.resources.memory start="MiB" }}
{{else}}

Allocation is gone

This allocation has been stopped and garbage collected.

{{/if}}
{{/if}} {{#if (and this.model.preemptedAllocations.isFulfilled this.model.preemptedAllocations.length ) }}
Preempted Allocations
ID Task Group Created Modified Status Version Node CPU Memory
{{/if}}