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

Some Clients Were Filtered

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

{{/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-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}}
{{/if}}