{{page-title "Cluster Topology"}}
{{#if this.isForbidden}} {{else}} {{#if this.pre09Nodes}}

Some Clients Were Filtered

{{this.pre09Nodes.length}} {{if (eq this.pre09Nodes.length 1) "client was" "clients were"}} filtered from the topology visualization. This is most likely due to the {{pluralize "client" this.pre09Nodes.length}} running a version of Nomad

{{/if}}
{{#if this.showPollingNotice}}

No Live Updating

The topology visualization depends on too much data to continuously poll.

{{/if}}
Legend {{#if (cannot "list all jobs")}} Partial View {{/if}}

Metrics

M:
Memory
C:
CPU

Allocation Status

Running
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-scheduled-bytes this.nodeUtilization.totalReservedMemory}} / {{format-scheduled-bytes this.nodeUtilization.totalMemory}} reserved

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

{{this.nodeUtilization.reservedCPUPercent}}
{{format-percentage this.nodeUtilization.reservedCPUPercent total=1}}
{{format-scheduled-hertz this.nodeUtilization.totalReservedCPU}} / {{format-scheduled-hertz this.nodeUtilization.totalCPU}} 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.totalCPUFormatted}} {{this.totalCPUUnits}} of CPU

{{this.reservedCPUPercent}}
{{format-percentage this.reservedCPUPercent total=1}}
{{format-hertz this.totalReservedCPU}} / {{format-hertz this.totalCPU}} reserved
{{/if}}
{{#if this.model.nodes.length}} {{/if}}
{{/if}}