This project contains two Node.js web applications deployed as separate Kubernetes pods within the same namespace.
- App 1 (hello-app):
Responds on/hellowith HTTP 200. - App 2 (health-app):
Responds on/healthand checks if App 2 is available.
- Docker installed
- Kubernetes cluster with
kubectlconfigured - Access to Docker Hub or any container registry
- Clone the repo:
git clone <repo-url>
cd <repo-folder>docker pull lsoulet/main-app:latest ./main-app
docker pulllsoulet/hello-app:latest ./hello-appEach 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.