Skip to content

Commit

Permalink
updating again
Browse files Browse the repository at this point in the history
  • Loading branch information
tosin2013 committed Jan 26, 2024
1 parent 5b42a45 commit dc72ac0
Show file tree
Hide file tree
Showing 3 changed files with 109 additions and 0 deletions.
47 changes: 47 additions & 0 deletions _deployments/aws_deployment.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
# This is the Front Matter section where you can set variables used by Jekyll
layout: home
title: "AWS Blank Environment Instructions"
description: "Revolutionizing Nut Quality Control with Edge Computer Vision using YOLO V5 and Microshift"
image: /path/to/hero-image.jpg # Path to a hero image (optional)
---


## Prerequisites
* RHEL 8.x jumpbox that is registred with Red Hat
* Review and run the [openshift-ai-workload.sh](https://gist.github.com/tosin2013/76e47de3f32de4486ab4699c21b2188e)

## SSH into RHEL jumpbox
```
Export the following AWS variables before running this script:
export aws_access_key_id="YOUR_ACCESS_KEY_ID"
export aws_secret_access_key="YOUR_SECRET_ACCESS_KEY"
export aws_region="YOUR_AWS_REGION"
https://gist.githubusercontent.com/tosin2013/76e47de3f32de4486ab4699c21b2188e/raw/1c16543b4edae4804f73966ca4e40822e0bbfa95/openshift-ai-workload.sh
chmod +x openshift-ai-workload.sh
./openshift-ai-workload.sh
```

## Configure jumpbox for deployment
```
curl -OL https://raw.githubusercontent.com/tosin2013/redhat-edge-ai-industrial-demo-infra/main/dev-box.sh
chmod +x dev-box.sh
./dev-box.sh
```


## For deployments without GPU
```
cd $HOME/redhat-edge-ai-industrial-demo-infra
oc create -k clusters/overlays/aws
```

## For deployments with GPU
```
cd $HOME/redhat-edge-ai-industrial-demo-infra
oc create -k clusters/overlays/aws-gpu
```


[Back to Homepage](/)
17 changes: 17 additions & 0 deletions _deployments/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
layout: default # Specifies the layout template to use (e.g., 'default')
title: Deployment Types # The title of the page
permalink: /deployments/ # Custom permalink for this page
---

# Deployment Types

Welcome to our deployment types page. Here you can find instructions for deploying our AI models on different platforms running OpenShift.

## Available Deployment Types

Below is a list of deployment Types we've put together:

{% for post in site.deployments %}
- [{{ post.title }}]({{ post.url | prepend: site.baseurl }}) - {{ post.excerpt }}
{% endfor %}
45 changes: 45 additions & 0 deletions _deployments/rosa.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
# This is the Front Matter section where you can set variables used by Jekyll
layout: home
title: "Rosa Deployment Instructions "
description: "Revolutionizing Nut Quality Control with Edge Computer Vision using YOLO V5 and Microshift"
image: /path/to/hero-image.jpg # Path to a hero image (optional)
---


![20240106111312](https://i.imgur.com/AGBg7uY.jpg)

## Prerequisites
* Ensure cluster is updated to 4.13
* Change worker node count to 4 on a minimal deployment.

![![20240106142502](httpsi.imgur.comkMdBwSo.png)](https://i.imgur.com/jKjN4Ev.png)


## SSH into RHEL jumpbox
```
ssh cloud-user@<jumpbox_ip>
```

## Optioanl run the script below to install dependencies
```
curl -OL https://raw.githubusercontent.com/tosin2013/redhat-edge-ai-industrial-demo-infra/main/dev-box.sh
chmod +x dev-box.sh
./dev-box.sh
```

## Configure ArgoCD
```
cd $HOME/redhat-edge-ai-industrial-demo-infra
oc create -k clusters/overlays/rosa
```


## Run Tekton Pipeline
* [Run tekton pipeline](run-tekton-pipeline.md)

![20240106111607](https://i.imgur.com/SH87x22.png)

![20240106134547](https://i.imgur.com/ssgQacx.png)

[Back to Homepage](/)

0 comments on commit dc72ac0

Please sign in to comment.