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

# outerbounds kubernetes kill

export const GCell = ({children, className}) => <div className={`grid-table-cell ${className || ""}`} role="cell">
    {children}
  </div>;

export const GTH = ({children, className}) => <div className={`grid-table-th ${className || ""}`} role="columnheader">
    {children}
  </div>;

export const GRow = ({children}) => <div className="grid-table-row" role="row">{children}</div>;

export const GBody = ({children}) => <div className="grid-table-body" role="rowgroup">{children}</div>;

export const GHead = ({children}) => <div className="grid-table-head" role="rowgroup">{children}</div>;

export const GTable = ({children, className, cols}) => <div className={`grid-table not-prose overflow-hidden rounded-2xl ${className || ""}`} style={{
  "--grid-table-cols": cols
}} role="table">
    {children}
  </div>;

Stops the Kubernetes pods and jobs for a flow's runs. Use `--dry-run` first to see what would be removed.

## Usage

```bash theme={null}
outerbounds kubernetes kill [OPTIONS] --flow-name <FLOW_NAME>
```

## Options

<GTable cols="30% 20% 50%">
  <GHead>
    <GRow>
      <GTH>Option</GTH>
      <GTH>Default</GTH>
      <GTH>Description</GTH>
    </GRow>
  </GHead>

  <GBody>
    <GRow>
      <GCell>`--flow-name`</GCell>

      <GCell />

      <GCell><Badge size="sm" color="blue" shape="pill">Required</Badge> Flow name to kill pods for.</GCell>
    </GRow>

    <GRow>
      <GCell>`--run-id`</GCell>

      <GCell />

      <GCell>Specific run ID to kill pods for.</GCell>
    </GRow>

    <GRow>
      <GCell>`--my-runs`</GCell>
      <GCell>`false`</GCell>
      <GCell>Only kill runs by current user.</GCell>
    </GRow>

    <GRow>
      <GCell>`--dry-run`</GCell>
      <GCell>`false`</GCell>
      <GCell>Show what would be killed without actually killing.</GCell>
    </GRow>

    <GRow>
      <GCell>`--auto-approve`</GCell>
      <GCell>`false`</GCell>
      <GCell>Skip confirmation prompt.</GCell>
    </GRow>

    <GRow>
      <GCell>`--clear-everything`</GCell>
      <GCell>`false`</GCell>
      <GCell>Force delete *all* matching resources regardless of their status (including terminal/completed ones).</GCell>
    </GRow>
  </GBody>
</GTable>

## Examples

**Preview what would be stopped**

```bash theme={null}
outerbounds kubernetes kill --flow-name MyFlow --dry-run
```

**Stop a specific run**

```bash theme={null}
outerbounds kubernetes kill --flow-name MyFlow --run-id 1658839758360594
```
