Загрузка...

Day 67: Deploy Guest Book App on Kubernetes

🚀 Day 67: Deploy Guest Book App on Kubernetes | 100 Days of DevOps

Welcome to Day 67 of the 100 Days of DevOps series! In this lab, you’ll deploy a complete multi-tier Guest Book application on Kubernetes using Redis for the backend and a PHP frontend application.

📌 Lab Objective:
Deploy a scalable Guest Book application with Redis master/slave architecture and expose the frontend using a Kubernetes NodePort service.

🛠️ Application Architecture:

🔴 Back-End Tier (Redis)
Redis Master
Deployment Name: redis-master
Replicas: 1
Container Name: master-redis-nautilus
Image: redis
Port: 6379
Redis Slave
Deployment Name: redis-slave
Replicas: 2
Container Name: slave-redis-nautilus
Image: gcr.io/google_samples/gb-redisslave:v3
Environment Variable:
GET_HOSTS_FROM=dns
Port: 6379
Services
redis-master
redis-slave
redis-follower

🌐 Front-End Tier

Frontend Deployment
Deployment Name: frontend
Replicas: 3
Container Name: php-redis-nautilus
Image:
gcr.io/google-samples/gb-frontend@sha256:a908df8486ff66f2c4daa0d3d8a2fa09846a1fc8efd65649c0109695c7c5cbff
Environment Variable:
GET_HOSTS_FROM=dns
Container Port: 80
Frontend Service
Service Name: frontend
Service Type: NodePort
Port: 80
NodePort: 30009

💻 What You’ll Configure & Verify:

🔹 Deploy Redis master backend
🔹 Configure Redis slave replicas
🔹 Create internal Kubernetes services
🔹 Deploy scalable frontend application
🔹 Configure environment variables for service discovery
🔹 Expose frontend using NodePort service
🔹 Validate Guest Book application accessibility
🔹 Test multi-tier Kubernetes communication

📚 What You’ll Learn:

Kubernetes multi-tier application deployment
Redis master/slave architecture
Kubernetes Deployments and Services
Internal DNS-based service discovery
Resource requests configuration
NodePort service exposure
Scaling frontend applications in Kubernetes
Real-world containerized application architecture

🌟 Why This Lab Matters:
Deploying multi-tier applications is one of the most important real-world Kubernetes skills. This lab demonstrates how frontend applications communicate with backend services using Kubernetes networking and service discovery.

🎯 Series: 100 Days of DevOps
Keep building practical Kubernetes, Docker, Linux, Cloud, and DevOps skills through real-world labs.

🔔 Follow OtterTech for more Kubernetes, AWS, Azure, Linux, Docker, and DevOps tutorials!

#Kubernetes #Redis #GuestBookApp #Containers #Docker #DevOps #CloudNative #K8s #Microservices #NodePort #Automation #100DaysOfDevOps #OtterTech #Day67

Видео Day 67: Deploy Guest Book App on Kubernetes канала Otter Tech
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять