Skip to main content

Lab 12.4 - Complete Final Project

Lab Objectives

By the end of this lab, you will be able to:

  • Deploy a complete multi-tier application.
  • Configure monitoring and logging.
  • Implement security with RBAC.
  • Set up basic CI/CD.
  • Apply production best practices.

Estimated Duration

3-4 hours

Prerequisites

  • All knowledge from previous modules.
  • kubectl, Helm installed.
  • Working Kubernetes cluster.

Part 1: Application Architecture

Deploy a web application with:

  • Frontend (NGINX)
  • Backend API (Node.js/Python)
  • Database (MySQL/PostgreSQL)
  • Cache (Redis)

Part 2: Deployment

  1. Create Kubernetes manifests for each component.
  2. Use ConfigMaps and Secrets.
  3. Configure Services and Ingress.
  4. Deploy with Deployments/StatefulSets.

Part 3: Security

  1. Create Service Accounts with RBAC.
  2. Apply Pod Security Standards.
  3. Configure Network Policies.

Part 4: Monitoring

  1. Install Prometheus and Grafana.
  2. Create custom dashboards.
  3. Configure alerts.

Part 5: Documentation

Document:

  • The architecture.
  • Deployment procedures.
  • Troubleshooting procedures.

Lab Summary

This final project integrates all the concepts learned throughout the course. You deployed a complete application in production with monitoring, security, and best practices.


Congratulations!

You have completed the full Kubernetes training!


Lab created on: December 2024