# faros connect

Point kubectl at a Kubernetes edge

Source: https://faros.sh/docs/reference/cli/commands/connect/

<!-- Generated by scripts/sync-cli-docs.py from faroshq/faros docs/cli. Do not edit by hand; run `make sync-cli-docs`. -->

## Synopsis

Add a kubeconfig context named faros-\<edge> for the edge's Kubernetes API
(reached through the hub's edge proxy with your hub credentials) and make it
the current context, so plain kubectl talks to that cluster:

```bash
faros connect my-cluster
kubectl get nodes
faros disconnect            # back to the hub workspace
```

Without an argument an interactive picker lists the connected clusters.
The context stays in your kubeconfig; switch between edges with
'kubectl config use-context faros-\<edge>' or connect again.

```bash
faros connect [<edge>] [flags]
```

## Options

```text
  -h, --help   help for connect
```

## Inherited options

```text
      --insecure-skip-tls-verify   Skip TLS certificate verification when talking to the hub
      --kubeconfig string          Path to the kubeconfig file (default: $KUBECONFIG, then ~/.kube/config)
```

## See also

- [faros](https://faros.sh/docs/reference/cli/commands/) — faros: an open-source control plane for platform teams
