- CLI Reference
- Commands
- ironflow provision
ironflow provision
Provision infrastructure for Ironflow (Kubernetes cluster creation).
ironflow provision <subcommand> [flags]Prerequisites: --provider hetzner needs terraform on your PATH and HCLOUD_TOKEN exported (destroy also needs the hcloud CLI); provision status --provider hetzner shells out to kubectl. --provider k3d needs k3d (and a running Docker daemon). Each command fails with an install link when its tool is missing.
Subcommands:
| Subcommand | Description |
|---|---|
create | Create a Kubernetes cluster |
status | Check infrastructure status |
destroy | Destroy provisioned infrastructure |
ironflow provision create
Section titled “ironflow provision create”Create a Kubernetes cluster on the specified provider. The --name flag sets the cluster name — all cloud resources (servers, networks, firewalls, SSH keys, load balancers) are named after it. A kubeconfig is saved to ~/.kube/clusters/<provider>-<name>.yaml.
ironflow provision create [flags]Flags:
| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
--provider | string | Infrastructure provider: hetzner, k3d (required) | ||
--name | string | Cluster name (required). Used to name all cloud resources and the saved kubeconfig file. | ||
--template | string | Cluster size: small, medium, large (required) |
Examples:
# Hetzner Cloud (real infrastructure)ironflow provision create --provider hetzner --template medium --name ironflow# Kubeconfig saved to ~/.kube/clusters/hetzner-ironflow.yaml
# Multiple clusters with different namesironflow provision create --provider hetzner --template small --name stagingironflow provision create --provider hetzner --template medium --name prod# Kubeconfigs: ~/.kube/clusters/hetzner-staging.yaml, ~/.kube/clusters/hetzner-prod.yaml
# Local k3d (Docker Desktop)ironflow provision create --provider k3d --template small --name devironflow provision create --provider k3d --template medium --name devironflow provision status
Section titled “ironflow provision status”Check status of provisioned infrastructure.
ironflow provision status [flags]Flags:
| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
--provider | string | Infrastructure provider: hetzner, k3d (required) | ||
--name | string | Cluster name (required) |
Examples:
ironflow provision status --provider hetzner --name ironflowironflow provision status --provider k3d --name devironflow provision destroy
Section titled “ironflow provision destroy”Destroy provisioned infrastructure.
ironflow provision destroy [flags]Flags:
| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
--provider | string | Infrastructure provider: hetzner, k3d (required) | ||
--name | string | Cluster name (required) |
Examples:
ironflow provision destroy --provider hetzner --name ironflowironflow provision destroy --provider k3d --name dev