SlideShare a Scribd company logo
Gamified Chaos Engineering Tool For Kubernetes
Eugenio Marzo - Service Manager & DevOps Engineer @ Sourcesense
● Quick introduction to this talk
● Why is important chaos engineering against Kubernetes
● What is Kubeinvaders
● How to install
● Configuration and input keys
● Arcade Mode
● Demo
Agenda
➢ I am not a game developer.
➢ Kubeinvaders is a game! Please do not take me seriously.
➢ Yes I know… with few lines of Bash the result is the same (but it is not
funny).
Things you should know to attend this talk
https://principlesofchaos.org
https://thenewstack.io/how-chaos-engineering-ca
n-drive-kubernetes-reliability/
Chaos Engineering is the discipline of experimenting
on a system in order to build confidence in the
system capability to withstand turbulent conditions in
production.
I love but this is a little bit boring...
This is better! But still boring...
… this is much better!
KubeInvaders - Chaos Engineering Tool for Kubernetes and Openshift
● It is a gamified Chaos Engineering tool for Kubernetes and Openshift
● Aliens are PODs of a Kubernetes cluster
● It is useful to test how resilient a cluster is, in a funny way
What is Kubeinvaders?
● Test how your K8S clusters are resilients on unexpected PODs deletions
● Collect metrics like PODs restart time
● Tuning readiness probes
Use cases
Pods are designed as relatively ephemeral, disposable entities. When a
Pod gets created (directly by you, or indirectly by a Controller), it is
scheduled to run on a Node in your cluster. The Pod remains on that
Node until the process is terminated, the pod object is deleted, the Pod
is evicted for lack of resources, or the Node fails.
https://kubernetes.io/docs/concepts/workloads/pods/pod-overview/
People use Kubeinvaders for fun and demos...
Special Input Keys
Automatic pilot - key ‘a’
Manual pilot - key ‘m’ (default)
Get PODs name - key ‘i’
Help - key ‘h’
Jump between namespaces - key ‘n’
(my preferred feature…)
Install Kubeinvaders on Openshift
Kubeinvaders Cluster Role
Configure Kubeinvaders on Openshift
Arcade Mode - Make the game more difficult
it will be merged in the next release of Kubeinvaders and will
be shown during the demo
ENV Variable Default Value Description
ALIENPROXIMITY 15 Reduce the value to increase distance between aliens
HITSLIMIT 0 Seconds of CPU time to wait before shooting
UPDATETIME 0.3 Seconds to wait before update PODs status
How Kubeinvaders is made
Defold html5 Docker
build html 5
bundle
copy to image
with Ngnix
KubeInvaders runs as a pod in your cluster
POD
Network Flow
BrowserClient
Workstation
Openshift Router / Ingress
POD
Kubernetes
API Server
Kubeinvaders Dockerfile
My Lab Environment
HAProxy
Kubeinvaders and Prometheus
10.129.0.1 - - [21/Oct/2019:20:34:06 +0000] "DELETE
/kube/api/v1/namespaces/awesome-namespace/pods/test-1-c54h6 HTTP/1.1" 200 4320
"https://kubeinvaders.org/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36" "10.10.10.1"
Grok ExporterPOD
Black Box
Exporter
https://….
Demo!
Kubeinvaders Github repo
https://github.com/lucky-sideburn/KubeInvaders
We Are Hiring!
Check our website
www.sourcesense.com
or write to
recruitment@sourcesense.com
Thanks!
Thank you so much for you attention
www.sourcesense.com
MILAN ROME LONDON

More Related Content

PDF
Jenkins with superpowers
PDF
06/03/19 Docker, Docker Compose y Heroku - Granada Developer Group - Salesforce
PDF
Docker and Puppet — Puppet Camp L.A. — SCALE12X
PDF
How to build LibreOffice on your desktop
PDF
[Paris Container Day 2021] nerdctl: yet another Docker & Docker Compose imple...
PPTX
Docker 101
PDF
Docker puppetcamp london 2013
PDF
[KubeConUS2019 Docker, Inc. Booth] Distributed Builds on Kubernetes with Bui...
Jenkins with superpowers
06/03/19 Docker, Docker Compose y Heroku - Granada Developer Group - Salesforce
Docker and Puppet — Puppet Camp L.A. — SCALE12X
How to build LibreOffice on your desktop
[Paris Container Day 2021] nerdctl: yet another Docker & Docker Compose imple...
Docker 101
Docker puppetcamp london 2013
[KubeConUS2019 Docker, Inc. Booth] Distributed Builds on Kubernetes with Bui...

What's hot (20)

PDF
Phoenix Servers with Docker and Nginx
PDF
Docker 101
PDF
Docker 101 - from 0 to Docker in 30 minutes
PDF
How to debug the pod which is hard to debug (디버그 하기 어려운 POD 디버그 하기)
PDF
Virtualization with Vagrant (ua.pycon 2011)
PDF
[DockerCon 2020] Hardening Docker daemon with Rootless Mode
PPTX
Container sig#1 ansible-container
PDF
Docker in Action
PDF
Vagrant-Binding JUG Dortmund
PDF
Comparing Next-Generation Container Image Building Tools
PDF
[KubeCon EU 2020] containerd Deep Dive
PDF
Docker composeで開発環境をメンバに配布せよ
PDF
Docker, Docker Swarm mangement tool - Gorae
PPTX
Vagrant + Docker
PDF
Docker 0.11 at MaxCDN meetup in Los Angeles
PDF
Minicurso de Vagrant
PDF
[HKOSCon x COSCUP 2020][20200801][Ansible: From VM to Kubernetes]
PDF
Docker 原理與實作
PDF
Vagrant 의 활용
PPTX
Docker introduction
Phoenix Servers with Docker and Nginx
Docker 101
Docker 101 - from 0 to Docker in 30 minutes
How to debug the pod which is hard to debug (디버그 하기 어려운 POD 디버그 하기)
Virtualization with Vagrant (ua.pycon 2011)
[DockerCon 2020] Hardening Docker daemon with Rootless Mode
Container sig#1 ansible-container
Docker in Action
Vagrant-Binding JUG Dortmund
Comparing Next-Generation Container Image Building Tools
[KubeCon EU 2020] containerd Deep Dive
Docker composeで開発環境をメンバに配布せよ
Docker, Docker Swarm mangement tool - Gorae
Vagrant + Docker
Docker 0.11 at MaxCDN meetup in Los Angeles
Minicurso de Vagrant
[HKOSCon x COSCUP 2020][20200801][Ansible: From VM to Kubernetes]
Docker 原理與實作
Vagrant 의 활용
Docker introduction
Ad

Similar to KubeInvaders - Chaos Engineering Tool for Kubernetes and Openshift (20)

PDF
Kubeinvaders & Chaos Engineering practices for Kubernetes-1.pdf
PDF
chaos-engineering-Knolx
PDF
kubernetes.pdf
PDF
Chaos Engineering with Kubernetes - Berlin / Hamburg Chaos Engineering Meetup...
PPTX
Kubernetes fundamentals
PDF
Kubernetes Nedir?
PDF
What is Kubernets
PDF
Kubernetes 101
PDF
Kubernetes in Action First Edition Marko Luksa
PDF
Kubernetes and the 12 factor cloud apps
PPTX
TRAINING_ABOUT_KUBERNETES_Nguyen_Si_Nhan.pptx
PPTX
Kubernetes 101
PDF
Chaos Engineering Talk at DevOps Days Austin
PPTX
Kuberenetes - From Zero to Hero
PDF
DevJam 2019 - Introduction to Kubernetes
PPTX
Getting Started with Amazon EKS (Managed Kubernetes)
PDF
Kubernetes in Action First Edition Marko Luksa
PDF
Running and Managing Kubernetes on OpenStack
PPTX
Introduction to Kubernetes
PDF
Nugwc k8s session-16-march-2021
Kubeinvaders & Chaos Engineering practices for Kubernetes-1.pdf
chaos-engineering-Knolx
kubernetes.pdf
Chaos Engineering with Kubernetes - Berlin / Hamburg Chaos Engineering Meetup...
Kubernetes fundamentals
Kubernetes Nedir?
What is Kubernets
Kubernetes 101
Kubernetes in Action First Edition Marko Luksa
Kubernetes and the 12 factor cloud apps
TRAINING_ABOUT_KUBERNETES_Nguyen_Si_Nhan.pptx
Kubernetes 101
Chaos Engineering Talk at DevOps Days Austin
Kuberenetes - From Zero to Hero
DevJam 2019 - Introduction to Kubernetes
Getting Started with Amazon EKS (Managed Kubernetes)
Kubernetes in Action First Edition Marko Luksa
Running and Managing Kubernetes on OpenStack
Introduction to Kubernetes
Nugwc k8s session-16-march-2021
Ad

Recently uploaded (20)

PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Machine Learning_overview_presentation.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Encapsulation theory and applications.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Big Data Technologies - Introduction.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
The Rise and Fall of 3GPP – Time for a Sabbatical?
Machine Learning_overview_presentation.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Encapsulation theory and applications.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Review of recent advances in non-invasive hemoglobin estimation
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Big Data Technologies - Introduction.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
Assigned Numbers - 2025 - Bluetooth® Document
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Spectral efficient network and resource selection model in 5G networks
Mobile App Security Testing_ A Comprehensive Guide.pdf
Advanced methodologies resolving dimensionality complications for autism neur...

KubeInvaders - Chaos Engineering Tool for Kubernetes and Openshift