Skip to content

Commit 4819a99

Browse files
committed
Expand supported regions
Tested with the following: #!/bin/bash regions="us-east-1 us-east-2 us-west-1 us-west-2 ca-central-1 ca-west-1 us-gov-east-1 us-gov-west-1 mx-central-1 sa-east-1 eu-west-1 eu-west-2 eu-west-3 eu-central-1 eu-north-1 eu-south-1 eu-south-2 eu-central-2 il-central-1 me-south-1 me-central-1 af-south-1 ap-northeast-1 ap-northeast-2 ap-northeast-3 ap-southeast-1 ap-southeast-2 ap-southeast-3 ap-southeast-4 ap-east-1 ap-south-1 ap-south-2 ap-southeast-5 ap-southeast-7 cn-north-1 cn-northwest-1" export AWS_PAGER= for i in ${regions}; do out=$(aws ec2 describe-instance-type-offerings --location-type region --filters "Name=instance-type,Values=g5.2xlarge" --region "${i}" 2>&1) ret=$? if [ $ret -eq 0 ]; then echo -n "${i} " fi done echo "" Got: us-east-1 us-east-2 us-west-1 us-west-2 ca-central-1 sa-east-1 eu-west-1 eu-west-2 eu-west-3 eu-central-1 eu-north-1 ap-northeast-1 ap-northeast-2 ap-northeast-3 ap-southeast-1 ap-southeast-2 ap-south-1
1 parent 8a148d2 commit 4819a99

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ OpenShift to generate project proposals for specific Red Hat products.
1616
## Pre-requisites
1717

1818
- Podman
19-
- Red Hat Openshift cluster running in AWS. Supported regions are us-west-2 and us-east-1.
19+
- Red Hat Openshift cluster running in AWS. Supported regions are : us-east-1 us-east-2 us-west-1 us-west-2 ca-central-1 sa-east-1 eu-west-1 eu-west-2 eu-west-3 eu-central-1 eu-north-1 ap-northeast-1 ap-northeast-2 ap-northeast-3 ap-southeast-1 ap-southeast-2 ap-south-1.
2020
- GPU Node to run Hugging Face Text Generation Inference server on Red Hat OpenShift cluster.
2121
- Create a fork of the [rag-llm-gitops](https://github.com/validatedpatterns/rag-llm-gitops.git) git repository.
2222

ansible/playbooks/create-gpu-machine-set.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,21 @@
88
usable_regions:
99
- us-east-1
1010
- us-east-2
11+
- us-west-1
1112
- us-west-2
13+
- ca-central-1
14+
- sa-east-1
15+
- eu-west-1
16+
- eu-west-2
17+
- eu-west-3
18+
- eu-central-1
19+
- eu-north-1
20+
- ap-northeast-1
21+
- ap-northeast-2
22+
- ap-northeast-3
23+
- ap-southeast-1
24+
- ap-southeast-2
25+
- ap-south-1
1226
tasks:
1327
- name: "[create-gpu-machine-set] Get the infrai-id for the cluster"
1428
kubernetes.core.k8s_info:

0 commit comments

Comments
 (0)