This project provides a simple Python application designed to help users quickly learn the basics of deploying and managing applications on OpenShift. The demo app serves as an educational tool for understanding fundamental OpenShift concepts including deployments, services, routes, and environment variables.
The purpose of this demo is to:
- Provide hands-on experience with OpenShift deployment workflows
- Familiarize users with both the OpenShift CLI (
oc) and web console - Demonstrate how to examine and modify application configurations
- Showcase the use of Helm charts for Kubernetes-based deployments
- Ensure you have access to an OpenShift cluster
- Install and set up WSL (Windows Subsystem for Linux)
- Install the OpenShift CLI (
oc) and Helm in your WSL environment - Follow the detailed instructions in 1_Openshift_Tutorial.md
The 1_Openshift_Tutorial.md document provides an introduction on:
- Logging into OpenShift via the command line
- Deploying the application using Helm
- Exploring the deployed application
- Viewing and modifying configuration settings
- Working with environment variables
The 2_Helm_Variables_Tutorial.md shows how to:
- Configure environment variables directly in Helm chart files
- Modify the values.yaml and deployment.yaml files
- Deploy and verify your changes
- Update variables using Helm upgrades
This demo is ideal for:
- Developers new to OpenShift
- Operations teams learning container orchestration
- Anyone looking to understand deployment workflows in OpenShift
app.py- Simple Python web applicationDockerfile- Container definition for the applicationcharts/- Helm chart for deploying to OpenShift1_Openshift_Tutorial.md- Step-by-step tutorial for basic OpenShift deployment2_Helm_Variables_Tutorial.md- Guide for managing environment variables with Helm