mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * rosa_cluster_admin/rosa-cluster-autoscaling.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="rosa-enable-cluster-autoscale-cli-interactive_{context}"]
|
|
= Enable autoscaling during cluster creation by using the interactive mode with the ROSA CLI
|
|
|
|
You can use the {rosa-cli-first} in interactive mode of your terminal, if available, to set cluster-wide autoscaling behavior during cluster creation.
|
|
|
|
Interactive mode provides more information about available configurable parameters. Interactive mode also does basic checks and preflight validations, meaning that if a provided value is invalid, the terminal outputs a prompt for a valid input.
|
|
|
|
.Procedure
|
|
|
|
- During cluster creation, use the `--enable-autoscaling` and `--interactive` parameters to enable cluster autoscaling:
|
|
+
|
|
.Example
|
|
[source,terminal]
|
|
----
|
|
$ rosa create cluster --cluster-name <cluster_name> --enable-autoscaling --interactive
|
|
----
|
|
include::snippets/rosa-long-cluster-name.adoc[]
|
|
|
|
When the following prompt appears, enter *y* to go through all available autoscaling options.
|
|
|
|
.Example interactive prompt
|
|
[source,terminal]
|
|
----
|
|
? Configure cluster-autoscaler (optional): [? for help] (y/N) y <enter>
|
|
----
|