cub worker run
cub worker run
Run a worker locally
Synopsis
Run a worker locally to serve one or more provider types.
Each ProviderType corresponds to one or more ToolchainTypes. For example, the "Kubernetes" provider type corresponds to the Kubernetes/YAML ToolchainType
Some ToolchainTypes are supported by multiple ProviderTypes, and some ProviderTypes support multiple ToolchainTypes.
The available ProviderTypes are:
- ConfigHub
- Kubernetes
- OpenTofu/AWS
- ConfigMap
Here the provider types are case-insensitive and they can be comma-separated, like "kubernetes,configmap".
cub worker run [flags]
Options
-d, --daemon Run worker in background (daemon mode)
-e, --env strings environment variables
--executable string Path to worker executable (overrides CONFIGHUB_WORKER_EXECUTABLE env var)
-f, --functions string Comma-separated list of worker function names (e.g., vet-kyverno-server)
-h, --help help for run
-t, --provider-types string Comma-separated list of provider types
Options inherited from parent commands
--context string The context to use for this command
--debug Debug output
--space string space ID to perform command on
SEE ALSO
- cub worker - Manage workers