Difficulty: Introduction
Estimated Time: 15 minutes

KubeInvaders on Kubernetes

Adopting chaos engineering strategies for your production environment is useful, because it is the only way to test if a system supports unexpected destructive events.

KubeInvaders is a lighthearted gamified way of learning chaos engineering on Kubernetes. It's like Space Invaders but the aliens are the Pods. The game was created by Eugenio Marzo.

You will learn how:

  • to install KubeInvaders onto Kubernetes
  • to play!
  • to experiment with Pods and resilience

Eugenio Marzo offers a blog entry on the game and it has been featured on the Kubernetes blog. This Katacoda scenario is another learning channel for you to experiment with chaos!

Conclusion

Well, that was fun. Thank you Eugenio Marzo for sharing this fun channel for learning.

With these steps you have learned:

  • ✔ how to install KubeInvaders onto Kubernetes,
  • ✔ how to play!,
  • ✔ how to experiment with Pods and resilience.

While this example is lighthearted, it highlights the importance of chaos engineering to ensuring your applications remain healthy on Kubernetes. It's important your apps resist the pathogens that exist on distributed cloud native platform.

In the last year we've seen Chaos Engineering move from a much talked-about idea to an accepted, mainstream approach to improving and assuring distributed system resilience. As organizations large and small begin to implement Chaos Engineering as an operational process, we're learning how to apply these techniques safely at scale. The approach is definitely not for everyone, and to be effective and safe, it requires organizational support at scale. -- Thoughtworks Radar

References


For a deeper understanding of these topics and more join
Jonathan Johnson
at various conferences, symposiums, workshops and meetups.

Software Architectures ★ Speaker ★ Workshop Hosting ★ Kubernetes & Java Specialist

KubeInvaders

Step 1 of 4

Your Kubernetes Cluster

For this scenario, Katacoda has just started a fresh Kubernetes cluster for you. Verify it's ready for your use.

kubectl version --short && \ kubectl get componentstatus && \ kubectl get nodes && \ kubectl cluster-info

The Helm package manager used for installing applications on Kubernetes is also available.

helm version --short

Kubernetes Dashboard

You can administer your cluster with the kubectl CLI tool or use the visual Kubernetes Dashboard. Use this script to access the protected Dashboard.

token.sh

Terminal
Kubernetes Dashboard
Play KubeInvaders!