Skip to content

Commit f10338b

Browse files
committed
updated git ignore. updated uninstall instructions
1 parent db3277c commit f10338b

File tree

4 files changed

+24
-13
lines changed

4 files changed

+24
-13
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,3 @@ terraform.tfstate.*
3737
generated/
3838
**/generated/
3939
test*json
40-
**/*.zip
41-
*.zip

GETTING_STARTED_HELM_DEPLOY.md

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -231,10 +231,26 @@ helm install lens ./helm -n lens \
231231

232232
1. **Navigate to Dashboards**: Go to the dashboard section of the OCI GPU Scanner Portal
233233
2. **Go to Tab - OCI GPU Scanner Install Script**:
234-
- You can use the script there and deploy the oci-scanner plugin on to your gpus nodes manually.
234+
- You can use the script there and deploy the oci-scanner plugin on to your gpus nodes manually (works on Ubuntu OS based GPU nodes).
235235
- Embed them into a slurm script if you run a slurm cluster.
236-
- Use the kubernetes objects for the plugin under the `oci_scanner_plugin` folder for a Kubernetes cluster. Refer to [Readme](oci_scanner_plugin/README.md).
237-
- use the same scripts to be added as part of your new GPU compute deployments through cloud-init scripts.
236+
- Use the same scripts to be added as part of your new GPU compute deployments through cloud-init scripts.
237+
238+
Example script:
239+
240+
```bash
241+
chdir /home/ubuntu/
242+
mkdir "$(hostname)"
243+
cd "$(hostname)"
244+
curl -X GET https://objectstorage.us-ashburn-1.oraclecloud.com/p/N6955_gYqc8g04xQLQkWyxHumraL_hy6qIxHR6Hd4H69ZOf8mQJFxN7-M-TNQOlJ/n/iduyx1qnmway/b/bucket-corrino-lens-dev/o/oci_plugin.tar.gz --output oci_plugin.tar.gz
245+
tar -xzvf oci_plugin.tar.gz
246+
cd oci_lens_plugin
247+
export PUSH_GATEWAY="https://pushgateway.132.226.100.100.nip.io/"
248+
export OCI_PAR_R="https://objectstorage.us-ashburn-1.oraclecloud.com/p/YmY6NBiA5VSkxVAoymx8FhZNfiFGDq9Gdqt0Q5G7e-CQsjDjnVWslylOSsIRuO2b/n/iduyx1qnmway/b/bucket-corrino-lens-dev/o/oci_lens_plugin"
249+
export OCI_LENS_CP="http://api.100.100.100.nip.io"
250+
export CP_AUTH_TOKEN="ad37cf7d9bcdd520d27c4va06eae5a3bc15a06e911bc0"
251+
chmod -R +x *
252+
./run.sh
253+
```
238254
---
239255

240256
## Step 3: Explore Monitoring Dashboards
@@ -256,16 +272,13 @@ helm install lens ./helm -n lens \
256272

257273
You can remove all control plane resources in **one step**:
258274

259-
### Uninstall the control plane components
260-
```bash
261-
helm uninstall lens -n lens
262-
```
263-
### Uninstall the data plane components if installed as OKE daemon set
275+
### Uninstall the control plane components from OKE cluster
264276

265277
```bash
266278
helm uninstall lens -n lens
267279
```
268-
### Uninstall the data plane components if it was installed as system services (per GPU node)
280+
281+
### Uninstall the data plane components installed as system services (per GPU node)
269282

270283
```bash
271284
cd /home/ubuntu/$(hostname)/oci-lens-plugin/
@@ -277,4 +290,4 @@ rmdir $(hostname)
277290
278291
```
279292

280-
Once the stack is destroyed, your OKE cluster will be free of any OCI GPU Scanner-related resources.
293+
Once the stack is destroyed, your OKE cluster will be free of any OCI GPU Scanner-related resources including the GPU monitored nodes.

GETTING_STARTED_RM_DEPLOY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The deployment automatically installs **ingress-nginx** and **cert-manager** for
4343

4444
1. Click the **Deploy to Oracle Cloud** button below:
4545

46-
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=/oci-lens-quickstart.zip)
46+
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle-quickstart/oci-gpu-scanner/blob/main/oci-gpu-scanner-deploy.zip)
4747

4848
1. In **Create Stack:**
4949

oci-gpu-scanner-deploy.zip

2.92 MB
Binary file not shown.

0 commit comments

Comments
 (0)