{{title "Cluster Topology"}}
Legend

Metrics

M:
Memory
C:
CPU

Allocation Status

Running
Failed
Starting
{{#if this.activeNode}}Client{{else if this.activeAllocation}}Allocation{{else}}Cluster{{/if}} Details
{{#if this.activeNode}} {{#let this.activeNode.node as |node|}}

{{this.activeNode.allocations.length}} Allocations

Client: {{node.shortId}}

Name: {{node.name}}

Address: {{node.httpAddr}}

Status: {{node.status}}

Draining? {{if node.isDraining "Yes" "No"}}

Eligible? {{if node.isEligible "Yes" "No"}}

{{this.nodeUtilization.totalMemoryFormatted}} {{this.nodeUtilization.totalMemoryUnits}} of memory

{{this.nodeUtilization.reservedMemoryPercent}}
{{format-percentage this.nodeUtilization.reservedMemoryPercent total=1}}
{{format-bytes this.nodeUtilization.totalReservedMemory}} / {{format-bytes this.nodeUtilization.totalMemory}} reserved

{{this.nodeUtilization.totalCPU}} Mhz of CPU

{{this.nodeUtilization.reservedCPUPercent}}
{{format-percentage this.nodeUtilization.reservedCPUPercent total=1}}
{{this.nodeUtilization.totalReservedCPU}} Mhz / {{this.nodeUtilization.totalCPU}} Mhz reserved
{{/let}} {{else if this.activeAllocation}}

Allocation: {{this.activeAllocation.shortId}}

Sibling Allocations: {{this.siblingAllocations.length}}

Unique Client Placements: {{this.uniqueActiveAllocationNodes.length}}

Job: {{this.activeAllocation.job.name}} / {{this.activeAllocation.taskGroupName}}

Type: {{this.activeAllocation.job.type}}

Priority: {{this.activeAllocation.job.priority}}

Client: {{this.activeAllocation.node.shortId}}

Name: {{this.activeAllocation.node.name}}

Address: {{this.activeAllocation.node.httpAddr}}

{{else}}

{{this.model.nodes.length}} Clients

{{this.scheduledAllocations.length}} Allocations

{{this.totalMemoryFormatted}} {{this.totalMemoryUnits}} of memory

{{this.reservedMemoryPercent}}
{{format-percentage this.reservedMemoryPercent total=1}}
{{format-bytes this.totalReservedMemory}} / {{format-bytes this.totalMemory}} reserved

{{this.totalCPU}} Mhz of CPU

{{this.reservedCPUPercent}}
{{format-percentage this.reservedCPUPercent total=1}}
{{this.totalReservedCPU}} Mhz / {{this.totalCPU}} Mhz reserved
{{/if}}