Skip to content

Commit b993283

Browse files
authored
Merge pull request #523 from mbaldessari/fix-regions
Expand supported regions
2 parents 1bce10d + b13de4e commit b993283

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

content/patterns/rag-llm-gitops/getting-started.md

+26-26
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ aliases: /rag-llm-gitops/getting-started/
77
## Prerequisites
88

99
- Podman is installed on your system.
10-
- You have the OpenShift Container Platform installation program and the pull secret for your cluster. You can get these from [Install OpenShift on AWS with installer-provisioned infrastructure](https://console.redhat.com/openshift/install/aws/installer-provisioned).
11-
- Red Hat Openshift cluster running in AWS.
10+
- You have the OpenShift Container Platform installation program and the pull secret for your cluster. You can get these from [Install OpenShift on AWS with installer-provisioned infrastructure](https://console.redhat.com/openshift/install/aws/installer-provisioned).
11+
- Red Hat Openshift cluster running in AWS.
1212

1313
## Procedure
1414

15-
1. Create the installation configuration file using the steps described in [Creating the installation configuration file](https://docs.openshift.com/container-platform/4.17/installing/installing_aws/ipi/installing-aws-customizations.html#installation-initializing_installing-aws-customizations).
15+
1. Create the installation configuration file using the steps described in [Creating the installation configuration file](https://docs.openshift.com/container-platform/4.17/installing/installing_aws/ipi/installing-aws-customizations.html#installation-initializing_installing-aws-customizations).
1616

17-
> **Note:**
18-
> Supported regions are `us-west-2` and `us-east-1`. For more information about installing on AWS see, [Installation methods](https://docs.openshift.com/container-platform/latest/installing/installing_aws/preparing-to-install-on-aws.html).
19-
>
17+
> **Note:**
18+
> 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` and `ap-south-1`. For more information about installing on AWS see, [Installation methods](https://docs.openshift.com/container-platform/latest/installing/installing_aws/preparing-to-install-on-aws.html).
19+
>
2020
21-
2. Customize the generated `install-config.yaml` creating one control plane node with instance type `m5a.2xlarge` and 3 worker nodes with instance type `p3.2xlarge`. A sample YAML file is shown here:
21+
2. Customize the generated `install-config.yaml` creating one control plane node with instance type `m5a.2xlarge` and 3 worker nodes with instance type `p3.2xlarge`. A sample YAML file is shown here:
2222
```yaml
2323
additionalTrustBundlePolicy: Proxyonly
2424
apiVersion: v1
@@ -62,7 +62,7 @@ aliases: /rag-llm-gitops/getting-started/
6262
6363
3. Fork the [rag-llm-gitops](https://github.com/validatedpatterns/rag-llm-gitops.git) git repository.
6464
65-
4. Clone the forked repository by running the following command:
65+
4. Clone the forked repository by running the following command:
6666
6767
```sh
6868
$ git clone [email protected]:your-username/rag-llm-gitops.git
@@ -78,14 +78,14 @@ aliases: /rag-llm-gitops/getting-started/
7878
$ cp values-secret.yaml.template ~/values-secret-rag-llm-gitops.yaml
7979
```
8080
> **Note:**
81-
>For this demo, editing this file is unnecessary as the default configuration works out of the box upon installation.
81+
>For this demo, editing this file is unnecessary as the default configuration works out of the box upon installation.
8282
83-
7. Add the remote upstream repository by running the following command:
83+
7. Add the remote upstream repository by running the following command:
8484

8585
```sh
8686
$ git remote add -f upstream [email protected]:validatedpatterns/rag-llm-gitops.git
8787
```
88-
8. Create a local branch by running the following command:
88+
8. Create a local branch by running the following command:
8989

9090
```sh
9191
$ git checkout -b my-test-branch main
@@ -100,7 +100,7 @@ aliases: /rag-llm-gitops/getting-started/
100100
```sh
101101
$ git push origin my-test-branch
102102
```
103-
12. Ensure you have logged in to the cluster at both command line and the console by using the login credentials presented to you when you installed the cluster. For example:
103+
12. Ensure you have logged in to the cluster at both command line and the console by using the login credentials presented to you when you installed the cluster. For example:
104104

105105
```sh
106106
INFO Install complete!
@@ -109,38 +109,38 @@ aliases: /rag-llm-gitops/getting-started/
109109
INFO Access the OpenShift web-console here: https://console-openshift-console.apps.demo1.openshift4-beta-abcorp.com
110110
INFO Login to the console with user: kubeadmin, password: <provided>
111111
```
112-
13. Add GPU nodes to your existing cluster deployment by running the following command:
112+
13. Add GPU nodes to your existing cluster deployment by running the following command:
113113

114114
```sh
115115
$ ./pattern.sh make create-gpu-machineset
116116
```
117-
> **Note:**
118-
> You may need to create a file `config` in your home directory and populate it with the region name.
119-
> 1. Run the following:
117+
> **Note:**
118+
> You may need to create a file `config` in your home directory and populate it with the region name.
119+
> 1. Run the following:
120120
> ```sh
121121
> vi ~/.aws/config
122-
> ```
123-
> 2. Add the following:
122+
> ```
123+
> 2. Add the following:
124124
> ```sh
125125
> [default]
126126
> region = us-east-1
127127
> ```
128128

129-
14. Adding the GPU nodes should take about 5-10 minutes. You can verify the addition of these `g5.2xlarge` nodes in the OpenShift web console under **Compute** > **Nodes**.
129+
14. Adding the GPU nodes should take about 5-10 minutes. You can verify the addition of these `g5.2xlarge` nodes in the OpenShift web console under **Compute** > **Nodes**.
130130

131-
15. Install the pattern with the demo application by running the following command:
131+
15. Install the pattern with the demo application by running the following command:
132132

133133
```sh
134134
$ ./pattern.sh make install
135-
```
135+
```
136136

137-
> **Note:**
138-
> This deploys everything you need to run the demo application including the Nividia GPU Operator and the Node Feature Discovery Operator used to determine your GPU nodes.
139-
>
137+
> **Note:**
138+
> This deploys everything you need to run the demo application including the Nividia GPU Operator and the Node Feature Discovery Operator used to determine your GPU nodes.
139+
>
140140

141141
## Verify the Installation
142142

143-
1. In the OpenShift web console go to the **Workloads** > **Pods** menu.
143+
1. In the OpenShift web console go to the **Workloads** > **Pods** menu.
144144

145145
2. Select the `rag-llm` project from the drop down.
146146

@@ -160,7 +160,7 @@ aliases: /rag-llm-gitops/getting-started/
160160
161161
### Generate the proposal document
162162
163-
- The demo generates a proposal document using the default provider `Mistral-7B-Instruct`; a model available on Hugging Face. It is a fine-tuned version of the base `Mistral-7B` model.
163+
- The demo generates a proposal document using the default provider `Mistral-7B-Instruct`; a model available on Hugging Face. It is a fine-tuned version of the base `Mistral-7B` model.
164164
165165
- Enter any company name for example `Microsoft`.
166166
- Enter the product as `RedHat OpenShift AI`

0 commit comments

Comments
 (0)