Skip to content

cub cluster

cub cluster

Manage clusters wired into ConfigHub via Argo CD, Sveltos or Flux

Synopsis

The cluster subcommands wire a Kubernetes cluster into ConfigHub: a controller in the cluster (Argo CD, Sveltos or Flux) pulls its config from ConfigHub's OCI registry as the cluster's service account, so adding an Argo Application is a single cub unit create.

cub cluster attach wire a cluster you already have into ConfigHub (Argo CD only) cub cluster detach the inverse: remove the wiring, leave the cluster running cub cluster create create a local kind cluster, without attaching it cub cluster controller-install install the controller and create the cluster's target, the first part of attach cub cluster svc-account-bootstrap create the cluster's service account and put its credentials in the cluster, the second part cub cluster app-bootstrap create the apps space and bootstrap the root, the third part, which finishes attaching without k8sbot cub cluster k8sbot-install install k8sbot in a cluster attached without it, the last part cub cluster up create a local kind cluster, then attach it cub cluster down the inverse: detach, then delete the kind cluster cub cluster list every cluster this machine holds credentials for, and the ones in the current context's organization

A cluster is wired into exactly one organization on one server. cub records which one beside the cluster's kubeconfig, so list, open and down find the right context on their own rather than needing it to be the current one.

Options

  -h, --help   help for cluster

Options inherited from parent commands

      --context string   The context to use for this command
      --debug            Debug output

SEE ALSO