<a id="command-juju-remove-k8s"></a>

# `juju remove-k8s`

> See also: [add-k8s](https://documentation.ubuntu.com/juju/4.0/reference/juju-cli/list-of-juju-cli-commands/add-k8s.md#command-juju-add-k8s)

## Summary

Removes a k8s cloud from Juju.

## Usage

```text
juju remove-k8s [options] <k8s name>
```

### Options

| Flag                       | Default   | Usage                                     |
|----------------------------|-----------|-------------------------------------------|
| `-B`, `--no-browser-login` | false     | Do not use web browser for authentication |
| `-c`, `--controller`       |           | Controller to operate in                  |
| `--client`                 | false     | Client operation                          |

## Examples

```none
juju remove-k8s myk8scloud
juju remove-k8s myk8scloud --client
juju remove-k8s --controller mycontroller myk8scloud
```

## Details

Removes the specified Kubernetes cloud from this client.

If `--controller` is used, also removes the cloud
from the specified controller (if it is not in use).

Use the `--client` option to update your current client.
