Deploying J2EE Banking Apps on OpenShift: A 7-Hour Kubernetes Crash Course
Master Kubernetes essentials and deploy a J2EE banking application on OpenShift in this hands-on, project-based course.
...
Share
Introduction to Kubernetes and OpenShift
Unit 1: Containerization and Orchestration Fundamentals
Why Containerize J2EE?
Orchestration Explained
K8s and J2EE: A Perfect Match
Unit 2: Kubernetes Core Concepts
Pods: K8s Building Block
Deployments: App Management
Services: Exposing Apps
Namespaces: Logical Isolation
Unit 3: OpenShift: Kubernetes Plus
OpenShift: K8s Distro
OpenShift's Added Value
Routes: Exposing Services
Unit 4: Setting Up Your OpenShift Environment
CRC: Your Local Cluster
Accessing the Console
CLI: Your Best Friend
Project Setup
Containerizing Your J2EE Banking Application
Unit 1: Understanding the J2EE Application
App Structure Overview
Dependency Deep Dive
Environment Variables
Unit 2: Dockerfile Creation
Dockerfile Basics
Base Image Selection
Copying Application Files
Setting Env Variables
Exposing Ports
Defining the Startup
Unit 3: Building and Testing the Image
Building the Image
Running the Image Locally
Testing the Application
Unit 4: Pushing to a Registry
Container Registries
Logging into Registry
Pushing the Image
Kubernetes Deployments: Managing Application Instances
Unit 1: Understanding Kubernetes Deployments
Deployments: An Overview
ReplicaSets Explained
Deployment Strategies
Unit 2: Creating Your First Deployment
Deployment Manifests
Defining Pod Templates
Applying the Deployment
Scaling Your App
Unit 3: Configuring Deployments
Environment Variables
Resource Requests/Limits
Liveness Probes
Readiness Probes
Unit 4: Deployment Management
Updating Deployments
Rolling Back Deployments
Deleting Deployments
Kubernetes Services: Exposing Your Application
Unit 1: Understanding Kubernetes Services
Services: Why We Need Them
Service Discovery
Service Selectors
Service YAML Deep Dive
Unit 2: Service Types and Accessing Your Application
ClusterIP Services
NodePort Services
LoadBalancer Services
ExternalName Services
Headless Services
Unit 3: OpenShift Routes and Advanced Service Configuration
OpenShift Routes Intro
Creating a Basic Route
Route TLS Configuration
Route Hostname Configuration
Troubleshooting Services
OpenShift CLI and Web Console: Managing Your Application
Unit 1: Introduction to OpenShift Management Tools
OpenShift Management
Accessing the Web Console
CLI: Getting Started
Unit 2: Managing Deployments with `oc`
Listing Deployments
Describing Deployments
Updating Deployments
Deleting Deployments
Unit 3: Managing Services and Pods with `oc`
Listing Services
Listing Pods
Describing Pods
Unit 4: Scaling Applications
Scaling with the CLI
Scaling with the Console
Autoscaling Intro
Monitoring and Logging
Unit 1: Introduction to Monitoring and Logging in OpenShift
Why Monitor & Log?
OpenShift's Observability
Metrics, Logs, & Traces
Unit 2: Basic Monitoring with OpenShift
Navigating the Console
Pod CPU & Memory
Network Monitoring
Alerting Basics
Unit 3: Centralized Logging in OpenShift
Logging Architecture
Accessing Application Logs
Using the 'oc' CLI
Log Levels
Unit 4: Advanced Monitoring and Logging Tools
Prometheus Intro
Elasticsearch Intro
Kibana Intro
Persistent Storage: Managing Data
Unit 1: Understanding Persistent Storage
Stateful vs. Stateless
Ephemeral Storage Issues
Intro to Persistent Storage
Unit 2: PersistentVolumes (PVs)
What are PVs?
PV Provisioning
PV Manifests
Creating a PV
Unit 3: PersistentVolumeClaims (PVCs)
What are PVCs?
PVC Manifests
Creating a PVC
Binding PVs and PVCs
Unit 4: Mounting Persistent Storage
Mounting PV to a Pod
Verifying the Mount
Cleaning Up
Secrets Management: Securing Sensitive Data
Unit 1: Understanding Kubernetes Secrets
Why Secrets Matter?
What are Kubernetes Secrets?
Secret Storage
Secret Security Risks
Unit 2: Creating and Managing Secrets
Creating Secrets
YAML Secret Creation
Viewing Secrets
Updating Secrets
Unit 3: Using Secrets in Your Application
Secrets as Env Variables
Secrets as Files
J2EE App Integration
Unit 4: Best Practices and Advanced Techniques
Limit Secret Scope
External Secret Stores
Sealed Secrets
Advanced Deployment Strategies
Unit 1: Deployment Strategy Fundamentals
Deployment Strategy Intro
Rolling Updates: Overview
Blue/Green Deployments
Canary Deployments
Choosing a Strategy
Unit 2: Implementing Rolling Updates
Rolling Updates in K8s
Update Deployment YAML
Monitoring the Rollout
Health Checks: Liveness
Health Checks: Readiness
Unit 3: Rollbacks and Advanced Configuration
Rollback a Deployment
History and Revisions
Update Strategies Deep Dive
Testing in Production
Troubleshooting and Best Practices
Unit 1: Troubleshooting Fundamentals
Troubleshooting Mindset
OpenShift's Health Checks
Reading Pod Status
Diving into Logs
Common J2EE Errors
Unit 2: Advanced Troubleshooting Techniques
Debugging in OpenShift
Resource Monitoring
Network Troubleshooting
Event Logging
Rolling Back
Unit 3: Best Practices and Optimization
Resource Limits
Scaling Strategies
Config Management
Security