Skip to content

Everyone's favorite microservices demo project, but on Kubernetes

Notifications You must be signed in to change notification settings

seattle-beach/weatherkube

Repository files navigation

This repo contains the artifacts needed to deploy Weatherbus on Kubernetes,
specifically Minikube. To set it up:


1. Make sure minikube is running (`minikube status` to check, `minikube start`
to start).
2. Point Docker at minikube by running `eval $(minikube docker-env)`.
3. Follow the instructions in the `weatherbus` subdirectory to build the main
weatherbus image.
4. Create the namespace: `kubectl create namespace weatherbus`
5. Create pods and services:
$ kubectl create -f prime-pod.yml
$ kubectl create -f prime-service.yml
$ kubectl create -f bus-pod.yml
$ kubectl create -f bus-service.yml
6. Expose Weatherbus: `minikube -n weatherbus service prime-service`
7. Append `/api/v1/stops` to the URL from the output of the previous command.
Visit it in the browser.
8. You should see a pile of JSON.

About

Everyone's favorite microservices demo project, but on Kubernetes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published