Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Apps K8s Deployment Project

This project contains two Node.js web applications deployed as separate Kubernetes pods within the same namespace.

  • App 1 (hello-app):
    Responds on /hello with HTTP 200.
  • App 2 (health-app):
    Responds on /health and checks if App 2 is available.

Getting started

Prerequisites

  • Docker installed
  • Kubernetes cluster with kubectl configured
  • Access to Docker Hub or any container registry

Setup and Build

  1. Clone the repo:
git clone <repo-url>
cd <repo-folder>

Pull Docker images for both apps

docker pull lsoulet/main-app:latest ./main-app
docker pulllsoulet/hello-app:latest ./hello-app

Deployment

Each web application has its own deployment file (*-deployment.yaml) and service file (*-service.yaml) that defines how the application should be deployed in Kubernetes. Create a pod for each app and applys the manifests.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages