> ## Documentation Index
> Fetch the complete documentation index at: https://docs.budecosystem.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Cluster Concepts

> Understand cluster lifecycle, tabs, and operational controls

## What is a Cluster in Bud?

A **cluster** is a registered Kubernetes environment where Bud can schedule and run inference workloads, evaluations, and supporting services. Clusters expose compute inventory (CPU/GPU/HPU/TPU), endpoint capacity, and runtime settings for deployments.

## Cluster Lifecycle

```mermaid theme={null}
flowchart LR
    A[Onboard Cluster] --> B[Inventory & Health Sync]
    B --> C[Workload Scheduling]
    C --> D[Monitoring & Events]
    D --> E[Settings Optimization]
    E --> F[Retirement / Deletion]
```

## Cluster Types

* **Cloud-managed clusters** from supported providers.
* **Self-managed / existing Kubernetes clusters** connected through configuration and ingress details.
* **Mixed hardware clusters** with CPU and accelerator resources.

## Detail Tabs and Their Purpose

| Tab             | Purpose                                                             |
| --------------- | ------------------------------------------------------------------- |
| **General**     | View resource summaries, node counts, and high-level utilization    |
| **Deployments** | Track endpoints and model workloads running on this cluster         |
| **Nodes**       | Inspect node-level status, allocatable resources, and event history |
| **Analytics**   | Analyze broader utilization and operational KPIs                    |
| **Settings**    | Define default storage class and access mode for deployments        |

## Governance and Permissions

Cluster actions align with role-based access control:

* **cluster:view** for read-only operations.
* **cluster:manage** for add/edit/delete and settings changes.

Every critical action (registration, updates, deletion) should be traceable through audit and activity trails.

## Capacity and Reliability Principles

<Check>
  Prioritize healthy clusters before scheduling new workloads.
</Check>

<Check>
  Use node-level events to diagnose instability quickly.
</Check>

<Check>
  Apply storage defaults to reduce deployment-time misconfiguration.
</Check>

<Check>
  Avoid deleting clusters with active endpoints unless migration is complete.
</Check>

## Conceptual Data Flow

```mermaid theme={null}
flowchart TB
    A[Cluster Inventory API] --> B[Cluster List]
    B --> C[Cluster Detail]
    C --> D[General Metrics]
    C --> E[Deployments]
    C --> F[Nodes and Events]
    C --> G[Settings]
```

## Next Steps

<CardGroup cols={2}>
  <Card icon="play" href="/clusters/quickstart" title="Quick Start">
    Register a cluster and verify readiness
  </Card>

  <Card icon="table" href="/clusters/reference/cluster-tabs-reference" title="Cluster Tabs Reference">
    Review each cluster tab and key actions
  </Card>
</CardGroup>
