You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- 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.
12
12
13
13
## Procedure
14
14
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).
16
16
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
+
>
20
20
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:
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:
INFO Access the OpenShift web-console here: https://console-openshift-console.apps.demo1.openshift4-beta-abcorp.com
110
110
INFO Login to the console with user: kubeadmin, password: <provided>
111
111
```
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:
113
113
114
114
```sh
115
115
$ ./pattern.sh make create-gpu-machineset
116
116
```
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:
120
120
>```sh
121
121
> vi ~/.aws/config
122
-
>```
123
-
> 2. Add the following:
122
+
>```
123
+
> 2. Add the following:
124
124
>```sh
125
125
> [default]
126
126
> region = us-east-1
127
127
>```
128
128
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**.
130
130
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:
132
132
133
133
```sh
134
134
$ ./pattern.sh make install
135
-
```
135
+
```
136
136
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
+
>
140
140
141
141
## Verify the Installation
142
142
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.
144
144
145
145
2. Select the `rag-llm` project from the drop down.
- 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.
0 commit comments