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
5. Create a local branch by running the following command:
41
41
42
-
```sh
43
-
$ git checkout -b my-test-branch main
44
-
```
42
+
```sh
43
+
$ git checkout -b my-test-branch main
44
+
```
45
45
46
46
6. Run the following command to push `my-test-branch` to the origin remote repository:
47
47
48
-
```sh
49
-
$ git push origin my-test-branch
50
-
```
48
+
```sh
49
+
$ git push origin my-test-branch
50
+
```
51
51
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:
52
52
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
+
```
61
60
7. Add GPU nodes to your existing cluster deployment by running the following command:
62
61
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
+
>```
77
76
78
77
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**.
79
78
80
79
9. Install the pattern with the demo application by running the following command:
81
80
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
+
```
89
84
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.
0 commit comments