﻿---
title: stack es cluster cli namespace
description: Elasticsearch cluster API commands 
url: https://www.elastic.co/elastic/docs-builder/docs/4083/reference/elastic-cli/cli/stack/es/cluster
applies_to:
  - Elastic Cloud Serverless: Preview
  - Elastic Stack: Preview
---

# stack es cluster cli namespace
```bash
elastic stack es cluster --help
```

Elasticsearch cluster API commands

## Commands

<page-card>
  Explain the shard allocations.
</page-card>

<page-card>
  Delete component templates.
</page-card>

<page-card>
  Clear cluster voting config exclusions.
</page-card>

<page-card>
  Check component templates.
</page-card>

<page-card>
  Get component templates.
</page-card>

<page-card>
  Get cluster-wide settings.
</page-card>

<page-card>
  Get the cluster health status.
</page-card>

<page-card>
  Get cluster info.
</page-card>

<page-card>
  Get the pending cluster tasks.
</page-card>

<page-card>
  Update voting configuration exclusions.
</page-card>

<page-card>
  Create or update a component template.
</page-card>

<page-card>
  Update the cluster settings.
</page-card>

<page-card>
  Get remote cluster information.
</page-card>

<page-card>
  Reroute the cluster.
</page-card>

<page-card>
  Get the cluster state.
</page-card>

<page-card>
  Get cluster statistics.
</page-card>