Udagram is a simple cloud application developed alongside the Udacity Cloud Engineering Nanodegree. It allows users to register and log into a web client, post photos to the feed, and process photos using an image filtering microservice.
The project is split into two parts:
- Frontend - Angular web application built with Ionic Framework
- Backend RESTful API - Node-Express application
cd udagram-deployment/docker
- Build the images:
docker-compose -f docker-compose-build.yaml build --parallel
- Push the images:
docker-compose -f docker-compose-build.yaml push
- Run the containers:
docker-compose up
cd udagram-deployment/k8s
kubectl apply -f .
Screenshot of DockerHub shows the images.
-
A screenshots of kubectl commands show the Frontend and API projects deployed in Kubernetes.
-
The output of kubectl get pods indicates that the pods are running successfully with the STATUS value Running.
kubectl get all
-
The output of kubectl describe services does not expose any sensitive strings such as database passwords.