Skip to content

Example distributed app composed of multiple containers for Docker and k8s

Notifications You must be signed in to change notification settings

vlmaier/example-voting-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Example Voting App

A simple distributed application running across multiple Docker containers in k8s cluster.

This is based on the original example-voting-app-kubernetes.

Run

kubectl create -f voting-app-deploy.yml
kubectl create -f result-app-deploy.yml
kubectl create -f worker-app-deploy.yml
kubectl create -f redis-deploy.yml
kubectl create -f postgres-deploy.yml
kubectl create -f voting-app-service.yml
kubectl create -f result-app-service.yml
kubectl create -f redis-service.yml
kubectl create -f postgres-service.yml

Access http://localhost:30004 for the voting app and http://localhost:30005 for the result app.

About

Example distributed app composed of multiple containers for Docker and k8s

Topics

Resources

Stars

Watchers

Forks