In this tutorial, You will learn:
- Forward Proxy using Tinyproxy (simple, lightweight).
- Reverse Proxy using NGINX with two Python backends.
The best guide to install Kubeflow or any of its components is the official documentation.
https://www.kubeflow.org/docs/started/
In this tutorial, we will learn how to Install, Configure and Use the most popular component of Kubeflow that is KFP (Kubeflow Pipelines).
| import redis | |
| import time | |
| import random | |
| import string | |
| import statistics | |
| # Redis connection details | |
| REDIS_HOST = "redisval-bu8xv7.serverless.use1.cache.amazonaws.com" | |
| REDIS_PORT = 6379 # TLS port (verify if TLS supported on this port!) | |
| REDIS_PASSWORD = None |
| #!/bin/bash | |
| # Variables | |
| JENKINS_HOME="/var/lib/jenkins" # Replace with your Jenkins home directory | |
| S3_BUCKET="s3://your-s3-bucket-name" # Replace with your S3 bucket name | |
| DATE=$(date +%Y-%m-%d) # Today's date | |
| # Check if AWS CLI is installed | |
| if ! command -v aws &> /dev/null; then | |
| echo "AWS CLI is not installed. Please install it to proceed." |
| # Create EKS Cluster | |
| eksctl create cluster --name=observability \ | |
| --region=us-east-1 \ | |
| --zones=us-east-1a,us-east-1b \ | |
| --without-nodegroup | |
| eksctl utils associate-iam-oidc-provider \ | |
| --region us-east-1 \ | |
| --cluster observability \ |
| #!/bin/bash | |
| ############################################################################### | |
| # Author: Abhishek Veeramalla | |
| # Version: v0.0.1 | |
| # Script to automate the process of listing all the resources in an AWS account | |
| # | |
| # Below are the services that are supported by this script: | |
| # 1. EC2 |
| Step 1: Create a VM | |
| - Create an instance on Hyperstack platform (They have a huge variety of GPU instances) | |
| OS Image - Ubuntu Server 22.04 LTS R535 CUDA 12.2 | |
| Flavor Details - A100-80G-PCIe | |
| Step 2: Run resources on the VM | |
| - Install Ollama |
| Connect to VPN | |
| # skip this. we don't depend on pipeline anymore | |
| #Clone Pipelines Operator bundle source | |
| #http://pkgs.devel.redhat.com/cgit/containers/openshift-pipelines-operator-prod-operator-metadata/ | |
| #Checkout the right branch e.g. "pipelines-1.3-rhel-8" | |
| #Docker build the bundle | |
| #Push the bundle |
| 0. Install the latest "oc" openshift-client and opm tool | |
| https://mirror.openshift.com/pub/openshift-v4/clients/ocp-dev-preview/latest-4.7/ | |
| 1. Login as kubeadmin | |
| 2. Connect to VPN | |
| (skip) 2.1. Disable default operator indices |