OpenShift AI labs: the complete series
Sixty hands-on labs for Red Hat OpenShift AI 3.x on OpenShift with NVIDIA L40S GPUs: platform administration, workbenches, model serving, Gen AI studio and RAG, training, MLOps, monitoring, GPU engineering, DC/DR and compliance.
OpenShift AI 3.x looks and works differently from the Open Data Hub releases many teams started with: a redesigned dashboard, Gen AI studio built on Llama Stack, KServe as the only serving mode, and new pieces such as llm-d, Kueue and the model catalog. This series covers the whole platform in sixty short labs, grouped into ten sections. Each lab has a goal, prerequisites, notes on the environment, a step outline and a way to check you succeeded.
The lab environment
The labs were written for a typical regulated-sector setup. You don't need all of it to start, and each lab lists what it needs.
| Part | In the lab |
|---|---|
| Platform | Red Hat OpenShift 4.22, installed in FIPS mode |
| AI platform | Red Hat OpenShift AI 3.x |
| GPUs | NVIDIA L40S (48 GB, PCIe, no NVLink or MIG), passed through to GPU worker nodes, managed by the NVIDIA GPU Operator, with optional time-slicing |
| Models | NVIDIA NIM microservices, vLLM and OpenVINO runtimes |
| Storage | NetApp ONTAP through Trident (NAS and SAN), and OpenShift Data Foundation (Ceph and the Multicloud Object Gateway for S3) |
| Identity | Keycloak as the OpenID Connect provider, with groups |
| Networking and observability | OpenShift Service Mesh 3, OpenTelemetry, Tempo, Loki and the Cluster Observability Operator |
| Sites | Two clusters, a primary data centre (DC) and a disaster-recovery site (DR) |
Names, hostnames and addresses in the labs are examples. Keep tokens such as NGC and Hugging Face keys in secrets, never in notebooks or Git.
The sections
| Section | Labs | What you'll learn |
|---|---|---|
| Platform and administration | 1–6 | the DataScienceCluster, dashboard configuration and identity, hardware profiles, custom workbench images, multi-tenancy and operator upgrades. |
| Workbenches and data | 7–11 | workbench types with GPU profiles, S3 data connections, workbench storage, a GPU sanity check and Git with Elyra. |
| Model serving with KServe | 12–20 | OpenVINO and vLLM, NVIDIA NIM, custom runtimes, OCI modelcars, secure endpoints, autoscaling, rollouts, llm-d and benchmarking. |
| Gen AI studio and RAG | 21–27 | the Playground, RAG with vector stores, AutoRAG, Llama Stack APIs, MCP tools, guardrails and LLM evaluation. |
| Training and fine-tuning | 28–33 | single-GPU fine-tuning, Kubeflow Trainer, LoRA and QLoRA, Ray, Kueue and checkpointing. |
| Pipelines and MLOps | 34–41 | pipelines, scheduling and caching, MLflow, the model registry, the model catalog, Feast, GitOps and Tekton CI/CD. |
| Monitoring and trust | 42–46 | Observe & monitor, GPU telemetry, TrustyAI bias and drift, tracing through the mesh, and logs with an audit trail. |
| GPU engineering | 47–50 | time-slicing against whole GPUs, GPU Operator tuning, MPS, and passthrough health. |
| DC/DR and resilience | 51–55 | model failover, replicated model storage, platform failover, backup and restore, and multi-cluster networking. |
| Security and compliance | 56–60 | FIPS posture, network policies and egress, disconnected operation, secrets and Compliance Operator scans. |
All sixty labs
Platform and administration
- DataScienceCluster and DSCInitialization
- Dashboard configuration and identity-provider groups
- Hardware profiles: CPU, full L40S and time-sliced GPU
- Custom workbench images
- Multi-tenancy: projects, RBAC, quotas and limits
- Operator upgrade and rollback
Workbenches and data
- Jupyter, VS Code and RStudio workbenches
- S3 data connections with NooBaa and ONTAP S3
- Workbench storage: ontap-nas, ontap-san, ODF and RWX
- GPU sanity check in a notebook
- Git integration and Elyra pipelines
Model serving with KServe
- OpenVINO Model Server and vLLM, CPU against GPU
- NVIDIA NIM: an 8B LLM and an embedding NIM
- Custom vLLM runtime with Hugging Face models and quantization
- Modelcar: serving a model from an OCI image
- Secure endpoints: authentication, routes and rate limits
- Autoscaling with HPA and KEDA, including scale to zero
- Canary and A/B rollouts between model versions
- Distributed inference with llm-d
- Benchmarking with GuideLLM and vLLM bench
Gen AI studio and RAG
- The Playground
- RAG: vector stores, chunking and embeddings
- AutoRAG
- Llama Stack APIs: agents, tools and the Responses API
- MCP tool servers
- Guardrails with TrustyAI
- Evaluating LLMs with LMEval
Training and fine-tuning
- Single-GPU fine-tuning in a workbench
- Distributed training with Kubeflow Trainer
- LoRA and QLoRA fine-tuning
- Ray and CodeFlare: Ray Train and Ray Tune
- Kueue: quotas, fair share, preemption and borrowing
- Checkpointing to ONTAP and ODF
Pipelines and MLOps
- Data science pipelines with the KFP SDK
- Scheduled runs and caching
- Experiment tracking with MLflow
- The model registry
- The model catalog in AI hub
- Feature store with Feast
- GitOps for models across sites
- CI/CD with OpenShift Pipelines
Monitoring and trust
- Observe & monitor and Perses dashboards
- GPU telemetry with DCGM
- Bias and drift with TrustyAI
- Tracing inference with OpenTelemetry and Tempo
- Logs and an audit trail with Loki
GPU engineering
- Time-slicing against whole-GPU allocation
- GPU Operator tuning
- MPS as an alternative to time-slicing
- Passthrough health: NUMA and PCIe
DC/DR and resilience
- Model failover and RTO
- Replicating model storage with SnapMirror
- Platform failover: identity, registry and MLflow
- Backup and restore with OADP
- Multi-cluster mesh and Submariner
Security and compliance
- FIPS posture and the NIM exception
- NetworkPolicies and egress control
- Disconnected operation with mirrored images and models
- Secrets with External Secrets or Vault
- Compliance Operator scans for PCI DSS and CIS
Suggested order
- Labs 1–15: set up the platform, workbenches and data, and serve your first models.
- Labs 21–27: Gen AI studio, RAG, agents, guardrails and evaluation.
- Labs 28–41: training, fine-tuning, pipelines and MLOps.
- Labs 51–60: resilience across sites, then security and compliance.
Fit the scaling and benchmarking labs (16–20), monitoring (42–46) and GPU engineering (47–50) in as you need them; they are most useful once real workloads are running.