cub cluster up
cub cluster up
Bring up a kind cluster wired to ConfigHub via Argo CD
Synopsis
Creates a kind cluster, installs Argo CD into it, and provisions the ConfigHub side across two Spaces:
The root Application is bootstrapped once via kubectl apply; from then on,
adding an Application Unit to the apps Space and publishing a new Release
("cub release publish
Unless --no-argobot is given, argobot is installed: a ConfigHub bot that watches
the event log and force-syncs the matching Argo CD Application the moment a
deploy happens. It is delivered as a component (a shared "argobot-base" installed
from its OCI config bundle, plus a per-cluster "argobot-
The cluster's OCI target is gated: a "no-placeholders" Trigger is created in the
cluster Space and the target selects every Trigger in that Space, so publishing a
Release that still contains an unfilled "confighubplaceholder" value is blocked
for every Space that releases to this cluster — including deployment variants
that do not exist yet. Add your own gates by creating Triggers in the cluster
Space and running "cub target update --space
Argo CD is reachable at http://localhost:source-ing into your shell along with KUBECONFIG.
Use --mount HOST[:CONTAINER] (repeatable) to bind-mount host directories into the cluster node.
cub cluster up [flags]
Options
--argobot-oci string OCI reference of argobot's config bundle (default "oci://ghcr.io/confighub/configs/argobot")
-h, --help help for up
--mount stringArray host:container bind mount (repeatable; container path defaults to /mnt/<basename>)
--name string cluster name (auto-generated if empty)
--no-argobot skip installing argobot (the event-driven Argo CD sync bot)
--no-placeholder-gate skip the default vet-placeholders Trigger, allowing Releases with unfilled confighubplaceholder values to be published to this cluster
--no-ports only reserve the Argo NodePort; skip the user-app NodePort window
--space string ConfigHub space slug for the cluster's worker and target (the "target prefix"); the Argo apps space is this slug + "-argo-apps" (defaults to <name>)
Options inherited from parent commands
--context string The context to use for this command
--debug Debug output
SEE ALSO
- cub cluster - Manage local kind clusters wired into ConfigHub