Skip to content

Commit 775db3c

Browse files
Merge pull request #263 from IBM/fleets-with-multizone-setup
Enriched the init script and added support for three VPC zones
2 parents e54a9f8 + 876de2c commit 775db3c

File tree

3 files changed

+196
-49
lines changed

3 files changed

+196
-49
lines changed

serverless-fleets/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ Switch to the `serverless-fleets` directory, which will be the root directory fo
8282

8383
To run this end-to-end sample, open a terminal, [login into your IBM Cloud account using the IBM Cloud CLI](https://cloud.ibm.com/docs/codeengine?topic=codeengine-install-cli).
8484

85-
Install the Code Engine CLI with the latest version and enable fleets:
85+
Install the Code Engine CLI with the latest version:
8686
```
87-
CE_EXPERIMENTAL_FLEET=true ibmcloud plugin install code-engine -f --quiet
87+
ibmcloud plugin install code-engine -f --quiet
8888
```
8989

9090
If you don't have a fleet sandbox, choose one of the two methods to create one.
@@ -572,10 +572,10 @@ If you need to end your fleet's processing before it ran to completion, or to ge
572572
Run the following command to delete a single worker:
573573
574574
```
575-
ibmcloud ce exp fleet worker delete -n <worker-name>
575+
ibmcloud ce fleet worker delete -n <worker-name>
576576
```
577577
578578
Run the following command to delete all workers in your project:
579579
```
580-
ibmcloud ce exp fleet worker list | grep "fleet-" | awk '{print $1}' | xargs -L1 -I {} ibmcloud ce exp fleet worker delete --name {} -f
580+
ibmcloud ce fleet worker list | grep "fleet-" | awk '{print $1}' | xargs -L1 -I {} ibmcloud ce fleet worker delete --name {} -f
581581
```

serverless-fleets/common.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ function check_prerequisites {
3030
print_error "'jq' tool is not installed"
3131
exit 1
3232
fi
33+
34+
# Ensure that uuidgen tool is installed
35+
if ! command -v uuidgen &>/dev/null; then
36+
print_error "'uuidgen' tool is not installed"
37+
exit 1
38+
fi
3339
}
3440

3541
# ==============================

0 commit comments

Comments
 (0)