Skip to content
A wild west game to kill pods on kubernetes
Java JavaScript CSS HTML Dockerfile
Branch: master
Clone or download
Grant Shipley
Latest commit d07c74d Nov 4, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
kubernetes added ingress and clusterIP yaml Nov 4, 2019
src/main updated Dockerfile Oct 30, 2019
Dockerfile
README.md added https to the url Oct 30, 2019
pom.xml Wild West Kubernetes Oct 29, 2019

README.md

Wild West Kubernetes

Wild West Kubernetes is a sample application written in Spring Boot and the Phaser game engine to make killing pods fun. In order to play the game, you need to have a kubernetes cluster running and issue the following command:

kubectl apply -f https://git.io/k8s-wild-west

This will create a namespace called wildwest and deploy the gshipley/wildwest:latest docker image. This will also create a service and apply the correct RBAC view role to pull information from the kubernetes API.

By default, the game doesn't actually destroy the pods when you shoot them. If you want to enable destructive mode, issue the following command:

kubectl apply -f https://git.io/k8s-wild-west-destructive

Once you have the game deployed, you will need to expose the service so that you can access the web application. If you are using minikube, you could use port-fowarding:

kubectl port-forward -n wildwest svc/wildwest 8080:8080

Happy Pod hunting.

You can’t perform that action at this time.