supertubes cluster broker add 🔗︎
Adds one or more brokers to a Kafka cluster.
Synopsis 🔗︎
Adds one or more brokers each broker having the same config to a Kafka cluster.
supertubes cluster broker add [flags]
Examples 🔗︎
# Add a broker using 'default' config group
$ supertubes cluster broker add -n my-namespace --kafka-cluster my-cluster -c <path-to-kubeconfig-file>
# Add two brokers using a config from file. The new config is stored as broker config group named 'my-config'
$ supertubes cluster broker add -n my-namespace --kafka-cluster my-cluster --broker-count 2 --broker-config-name my-config --broker-config-file <path-to-broker-config-file> -c <path-to-kubeconfig-file>
# Add two brokers using existing 'my-config' config group and adjust the downscale limit.
$ supertubes cluster broker add -n my-namespace --kafka-cluster my-cluster --broker-count 2 --broker-config-name my-config --adjust-downscale-limit -c <path-to-kubeconfig-file>
Options 🔗︎
--adjust-downscale-limit Adjust the downscale limit to match the new total number of brokers in the cluster.
-f, --broker-config-file string File containing the broker config that each added broker will use.
--broker-config-name string Name that identifies a broker config group that each added broker will use. If no such broker config group exists a new one is created with this name. (default "default")
--broker-count uint Number of brokers to be added. (default 1)
-h, --help help for add
-i, --interval int Interval in seconds for polling the status of the operation. (default 5)
--kafka-cluster string Name of the Kafka cluster to add brokers to.
-n, --namespace string Namespace the Kafka cluster belongs to. (default "kafka")
-t, --timeout int Timeout in seconds to wait for the add broker(s) operation to complete. (default 150)
-w, --wait Wait for add broker(s) operation to complete.
Options inherited from parent commands 🔗︎
--accept-license Accept the license: https://banzaicloud.com/docs/supertubes/evaluation-license
--color use colors on non-tty outputs (default true)
--context string name of the kubeconfig context to use
--formatting.force-color force color even when non in a terminal
--interactive ask questions interactively even if stdin or stdout is non-tty
-c, --kubeconfig string path to the kubeconfig file to use for CLI requests
--non-interactive never ask questions interactively
-o, --output string output format (table|yaml|json) (default "table")
--persistent-config-file string Supertubes persistent config file to use instead of the default at ~/.banzai/supertubes/
-v, --verbose turn on debug logging
SEE ALSO 🔗︎
- supertubes cluster broker - Manage the brokers of a Kafka cluster.