supertubes cluster broker remove 🔗︎
Remove one or more brokers from a Kafka cluster.
Synopsis 🔗︎
Remove one or more brokers from a Kafka cluster.
supertubes cluster broker remove [flags]
Examples 🔗︎
# Remove a broker from a Kafka cluster
$ supertubes cluster broker remove -n my-namespace --kafka-cluster my-cluster -b 1 -c <path-to-kubeconfig-file>
# Remove selected brokers from a Kafka cluster
$ supertubes cluster broker remove -n my-namespace --kafka-cluster my-cluster -b 0,1 -c <path-to-kubeconfig-file>
# Remove selected brokers from a Kafka cluster and adjust the downscale limit.
$ supertubes cluster broker remove -n my-namespace --kafka-cluster my-cluster -b 0 -b 1 adjust-downscale-limit -c <path-to-kubeconfig-file>
# Remove selected brokers from a Kafka cluster when current broker count is at the minimum required broker count which is the highest value of replication factor defined in topics
supertubes cluster broker remove -n my-namespace --kafka-cluster my-cluster --broker-id 0,1 --force -c <path-to-kubeconfig-file>
Options 🔗︎
--adjust-downscale-limit Adjust the downscale limit to match the new total number of brokers in the cluster
-b, --broker-id uints Identifier of the broker to get (default [])
-f, --force Remove brokers regardless of violating the minimum required broker count which is the highest value of replication factor defined in topics.
-h, --help help for remove
-i, --interval int Interval in seconds for polling the status of the operation. (default 5)
--kafka-cluster string Name of the Kafka cluster.
-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 remove 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.