Skip to content

Commit

Permalink
Fix failing rosa command which seems to need new parameters
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Schwartz <[email protected]>
  • Loading branch information
ahus1 committed May 17, 2024
1 parent a7c4eaa commit f1c39a3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/keycloak-scalability-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
- name: Allow cluster to scale
if: ${{ !inputs.skipCreateDeployment }}
run: rosa edit machinepool -c ${{ inputs.clusterName }} --min-replicas 3 scaling
run: rosa edit machinepool -c ${{ inputs.clusterName }} --min-replicas 3 --autorepair scaling

- name: Create Keycloak deployment
if: ${{ !inputs.skipCreateDeployment }}
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:

- name: Scale down the cluster
if: ${{ (success() || failure()) && !inputs.skipDeleteProject }}
run: rosa edit machinepool -c ${{ inputs.clusterName }} --min-replicas 0 scaling
run: rosa edit machinepool -c ${{ inputs.clusterName }} --min-replicas 0 --autorepair scaling

archive:
name: Commit results to Git repository
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rosa-multi-az-cluster-create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ jobs:

- name: Scale ROSA clusters
run: |
rosa edit machinepool -c ${{ env.CLUSTER_PREFIX }}-a --min-replicas 3 --max-replicas 10 scaling
rosa edit machinepool -c ${{ env.CLUSTER_PREFIX }}-b --min-replicas 3 --max-replicas 10 scaling
rosa edit machinepool -c ${{ env.CLUSTER_PREFIX }}-a --min-replicas 3 --max-replicas 10 --autorepair scaling
rosa edit machinepool -c ${{ env.CLUSTER_PREFIX }}-b --min-replicas 3 --max-replicas 10 --autorepair scaling
- name: Setup Go Task
uses: ./.github/actions/task-setup
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Each test ran for 10 minutes.
+
[source,bash,subs="+quotes"]
----
rosa edit machinepool -c **<clustername>** --min-replicas 3 scaling
rosa edit machinepool -c **<clustername>** --min-replicas 3 --autorepair scaling
----
. Deploy Keycloak and Monitoring
+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,14 @@ To scale the machine pool faster, issue a command like the following, and the ad

[source,bash,subs=+quotes]
----
rosa edit machinepool -c _**clustername**_ --min-replicas 3 scaling
rosa edit machinepool -c _**clustername**_ --min-replicas 3 --autorepair scaling
----

To allow scaling the machine pool back to 0, use a command like the following:

[source,bash,subs=+quotes]
----
rosa edit machinepool -c _**clustername**_ --min-replicas 0 scaling
rosa edit machinepool -c _**clustername**_ --min-replicas 0 --autorepair scaling
----

To use different instance types, use `rosa create machinepool` to create additional machine pools
Expand Down

0 comments on commit f1c39a3

Please sign in to comment.