Skip to content

Commit

Permalink
ibmcloud: Add --version argument to cluster create
Browse files Browse the repository at this point in the history
Unfotunately the --version argument is required for ROKS clusters.

Also added a warning about the version may need to be changed
before running the cluster create command.

This issue will hopefully be fixed in the near future after
which we will remove the --version argument in a followup PR.

Signed-off-by: Frank Budinsky <[email protected]>
  • Loading branch information
frankbu committed Dec 5, 2024
1 parent a2621ab commit cc31873
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/cloud-api-adaptor/ibmcloud/ROKS_SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,12 @@ If you are using an existing cluster, you can skip this section and proceed to [
1. Create a ROKS cluster

```bash
ibmcloud ks cluster create vpc-gen2 --flavor bx2.4x16 --name "$CLUSTER_NAME" --subnet-id "$SUBNET_ID" --vpc-id "$VPC_ID" --zone "$ZONE" --operating-system RHCOS --workers 2 --disable-outbound-traffic-protection --cos-instance "$COS_CRN"
ibmcloud ks cluster create vpc-gen2 --flavor bx2.4x16 --name "$CLUSTER_NAME" --subnet-id "$SUBNET_ID" --vpc-id "$VPC_ID" --zone "$ZONE" --operating-system RHCOS --workers 2 --version 4.16.23_openshift --disable-outbound-traffic-protection --cos-instance "$COS_CRN"

```

Note: you will need to update the value of the `--version` argument to the current default version returned by `ibmcloud ks versions`, if it is different.

1. Wait until the cluster is completely up and running before proceeding ...

1. Get the `kubeconfig` for your cluster
Expand Down

0 comments on commit cc31873

Please sign in to comment.