From dc72ac0e514634e6a6ec5db8f95a683ed2d1489a Mon Sep 17 00:00:00 2001 From: Tosin Akinosho Date: Fri, 26 Jan 2024 16:59:35 -0500 Subject: [PATCH] updating again --- _deployments/aws_deployment.markdown | 47 ++++++++++++++++++++++++++++ _deployments/index.md | 17 ++++++++++ _deployments/rosa.markdown | 45 ++++++++++++++++++++++++++ 3 files changed, 109 insertions(+) create mode 100644 _deployments/aws_deployment.markdown create mode 100644 _deployments/index.md create mode 100644 _deployments/rosa.markdown diff --git a/_deployments/aws_deployment.markdown b/_deployments/aws_deployment.markdown new file mode 100644 index 0000000..3ba57df --- /dev/null +++ b/_deployments/aws_deployment.markdown @@ -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](/) \ No newline at end of file diff --git a/_deployments/index.md b/_deployments/index.md new file mode 100644 index 0000000..692eefa --- /dev/null +++ b/_deployments/index.md @@ -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 %} diff --git a/_deployments/rosa.markdown b/_deployments/rosa.markdown new file mode 100644 index 0000000..3121235 --- /dev/null +++ b/_deployments/rosa.markdown @@ -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@ +``` + +## 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](/) \ No newline at end of file