Skip to content
faros Docs
Sections
Open console

Enter a topic to search documentation.

    faros connect

    Point kubectl at a Kubernetes edge

    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:

    Terminal
    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.

    Terminal
    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 — faros: an open-source control plane for platform teams