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
- cub - ConfigHub CLI
- cub cluster app-bootstrap - Create a cluster's apps Space and bootstrap its root in the controller
- cub cluster attach - Wire a cluster you already have into ConfigHub, via Argo CD, Sveltos or Flux
- cub cluster controller-install - Install Argo CD, Sveltos or Flux in a cluster and create its target in ConfigHub
- cub cluster create - Create a local kind cluster, without wiring it into ConfigHub
- cub cluster detach - Remove a cluster's ConfigHub wiring and leave it running
- cub cluster down - Tear down a kind cluster that up created (optionally its ConfigHub config too)
- cub cluster k8sbot-install - Install k8sbot in a cluster wired into ConfigHub
- cub cluster list - List the clusters this machine manages, and the current organization's
- cub cluster open - Open a cluster's Argo CD UI or Sveltos dashboard in the browser
- cub cluster svc-account-bootstrap - Create a cluster's service account and put its credentials in the cluster
- cub cluster up - Create a kind cluster and attach it to ConfigHub, via Argo CD, Sveltos or Flux