Skip to content

Commit 9e00316

Browse files
committed
reformatting section
1 parent cf0b225 commit 9e00316

File tree

1 file changed

+44
-46
lines changed

1 file changed

+44
-46
lines changed

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

Lines changed: 44 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -21,72 +21,70 @@ aliases: /rag-llm-gitops/getting-started/
2121
```
2222
3. Go to your repository: Ensure you are in the root directory of your git repository by using the following command:
2323

24-
```sh
25-
$ cd rag-llm-gitops
26-
```
24+
```sh
25+
$ cd rag-llm-gitops
26+
```
2727
3. Create a local copy of the secret values file by running the following command:
2828

29-
```sh
30-
$ cp values-secret.yaml.template ~/values-secret-rag-llm-gitops.yaml
31-
```
32-
> **Note:**
33-
>For this demo, editing this file is unnecessary as the default configuration works out of the box upon installation.
29+
```sh
30+
$ cp values-secret.yaml.template ~/values-secret-rag-llm-gitops.yaml
31+
```
32+
> **Note:**
33+
>For this demo, editing this file is unnecessary as the default configuration works out of the box upon installation.
3434
3535
4. Add the remote upstream repository by running the following command:
3636

37-
```sh
38-
$ git remote add -f upstream [email protected]:validatedpatterns/rag-llm-gitops.git
39-
```
37+
```sh
38+
$ git remote add -f upstream [email protected]:validatedpatterns/rag-llm-gitops.git
39+
```
4040
5. Create a local branch by running the following command:
4141

42-
```sh
43-
$ git checkout -b my-test-branch main
44-
```
42+
```sh
43+
$ git checkout -b my-test-branch main
44+
```
4545

4646
6. Run the following command to push `my-test-branch` to the origin remote repository:
4747

48-
```sh
49-
$ git push origin my-test-branch
50-
```
48+
```sh
49+
$ git push origin my-test-branch
50+
```
5151
6. 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:
5252

53-
```sh
54-
INFO Install complete!
55-
INFO Run 'export KUBECONFIG=<your working directory>/auth/kubeconfig' to manage the cluster with 'oc', the OpenShift CLI.
56-
INFO The cluster is ready when 'oc login -u kubeadmin -p <provided>' succeeds (wait a few minutes).
57-
INFO Access the OpenShift web-console here: https://console-openshift-console.apps.demo1.openshift4-beta-abcorp.com
58-
INFO Login to the console with user: kubeadmin, password: <provided>
59-
```
60-
53+
```sh
54+
INFO Install complete!
55+
INFO Run 'export KUBECONFIG=<your working directory>/auth/kubeconfig' to manage the cluster with 'oc', the OpenShift CLI.
56+
INFO The cluster is ready when 'oc login -u kubeadmin -p <provided>' succeeds (wait a few minutes).
57+
INFO Access the OpenShift web-console here: https://console-openshift-console.apps.demo1.openshift4-beta-abcorp.com
58+
INFO Login to the console with user: kubeadmin, password: <provided>
59+
```
6160
7. Add GPU nodes to your existing cluster deployment by running the following command:
6261

63-
```sh
64-
$ ./pattern.sh make create-gpu-machineset
65-
```
66-
> **Note:**
67-
> You may need to create a file `config` in your home directory and populate it with the region name.
68-
> 1. Run the following:
69-
> ```sh
70-
> vi ~/.aws/config
71-
> ```
72-
> 2. Add the following:
73-
> ```sh
74-
> [default]
75-
> region = us-east-1
76-
> ```
62+
```sh
63+
$ ./pattern.sh make create-gpu-machineset
64+
```
65+
> **Note:**
66+
> You may need to create a file `config` in your home directory and populate it with the region name.
67+
> 1. Run the following:
68+
> ```sh
69+
> vi ~/.aws/config
70+
> ```
71+
> 2. Add the following:
72+
> ```sh
73+
> [default]
74+
> region = us-east-1
75+
> ```
7776
7877
8. 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**.
7978
8079
9. Install the pattern with the demo application by running the following command:
8180
82-
```sh
83-
./pattern.sh make install
84-
```
85-
86-
> **Note:**
87-
> 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.
88-
>
81+
```sh
82+
$ ./pattern.sh make install
83+
```
8984
85+
> **Note:**
86+
> 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.
87+
>
9088
9189
## Verify the Installation
9290

0 commit comments

Comments
 (0)