MATIH Platform is in active MVP development. Documentation reflects current implementation status.
15. Workbench Architecture
Cluster Management

Cluster Management

The cluster management components at frontend/data-workbench/src/components/Clusters/ provide compute cluster provisioning, monitoring, and cost tracking.


Components

ComponentFilePurpose
ClustersPanelClustersPanel.tsxMain cluster list view
ClusterCardClusterCard.tsxIndividual cluster status card
ClusterCostCardClusterCostCard.tsxCluster cost summary
NewClusterModalNewClusterModal.tsxCluster creation wizard
UtilizationBarUtilizationBar.tsxCPU/memory utilization bar

Types

// frontend/data-workbench/src/components/Clusters/types.ts
interface Cluster {
  id: string;
  name: string;
  status: 'running' | 'stopped' | 'starting' | 'error';
  size: string;
  nodes: number;
  cpuUtilization: number;
  memoryUtilization: number;
  costPerHour: number;
  uptime: string;
}

ClusterCard

Displays cluster health with:

  • Status indicator (running/stopped/error)
  • CPU and memory utilization bars
  • Cost per hour
  • Quick actions (start, stop, resize, delete)

NewClusterModal

Wizard for cluster creation:

  • Cluster name and description
  • Size selection (small, medium, large, custom)
  • Node count configuration
  • Auto-scaling rules
  • Cost estimation