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

What's hot (20)

PDF
Phoenix Servers with Docker and Nginx
Nils De Moor
 
PDF
Docker 101
NSConclave
 
PDF
Docker 101 - from 0 to Docker in 30 minutes
Luciano Fiandesio
 
PDF
How to debug the pod which is hard to debug (디버그 하기 어려운 POD 디버그 하기)
어형 이
 
PDF
Virtualization with Vagrant (ua.pycon 2011)
Dmitry Guyvoronsky
 
PDF
[DockerCon 2020] Hardening Docker daemon with Rootless Mode
Akihiro Suda
 
PPTX
Container sig#1 ansible-container
Naoya Hashimoto
 
PDF
Docker in Action
Alper Kanat
 
PDF
Vagrant-Binding JUG Dortmund
Hendrik Ebbers
 
PDF
Comparing Next-Generation Container Image Building Tools
Akihiro Suda
 
PDF
[KubeCon EU 2020] containerd Deep Dive
Akihiro Suda
 
PDF
Docker composeで開発環境をメンバに配布せよ
Yusuke Kon
 
PDF
Docker, Docker Swarm mangement tool - Gorae
Rhio kim
 
PPTX
Vagrant + Docker
David Giordano
 
PDF
Docker 0.11 at MaxCDN meetup in Los Angeles
Jérôme Petazzoni
 
PDF
Minicurso de Vagrant
Leandro Nunes
 
PDF
[HKOSCon x COSCUP 2020][20200801][Ansible: From VM to Kubernetes]
Wong Hoi Sing Edison
 
PDF
Docker 原理與實作
kao kuo-tung
 
PDF
Vagrant 의 활용
InHwan Chun
 
PPTX
Docker introduction
Walter Liu
 
Phoenix Servers with Docker and Nginx
Nils De Moor
 
Docker 101
NSConclave
 
Docker 101 - from 0 to Docker in 30 minutes
Luciano Fiandesio
 
How to debug the pod which is hard to debug (디버그 하기 어려운 POD 디버그 하기)
어형 이
 
Virtualization with Vagrant (ua.pycon 2011)
Dmitry Guyvoronsky
 
[DockerCon 2020] Hardening Docker daemon with Rootless Mode
Akihiro Suda
 
Container sig#1 ansible-container
Naoya Hashimoto
 
Docker in Action
Alper Kanat
 
Vagrant-Binding JUG Dortmund
Hendrik Ebbers
 
Comparing Next-Generation Container Image Building Tools
Akihiro Suda
 
[KubeCon EU 2020] containerd Deep Dive
Akihiro Suda
 
Docker composeで開発環境をメンバに配布せよ
Yusuke Kon
 
Docker, Docker Swarm mangement tool - Gorae
Rhio kim
 
Vagrant + Docker
David Giordano
 
Docker 0.11 at MaxCDN meetup in Los Angeles
Jérôme Petazzoni
 
Minicurso de Vagrant
Leandro Nunes
 
[HKOSCon x COSCUP 2020][20200801][Ansible: From VM to Kubernetes]
Wong Hoi Sing Edison
 
Docker 原理與實作
kao kuo-tung
 
Vagrant 의 활용
InHwan Chun
 
Docker introduction
Walter Liu
 

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

PDF
MIPS-X
Zoltan Balazs
 
PPTX
Node.js debugging
Nicholas McClay
 
PDF
Puppet@Citygrid - Julien Rottenberg - PuppetCamp LA '12
Puppet
 
PDF
Boxen: How to Manage an Army of Laptops
Puppet
 
PDF
stackconf 2022: Is that an Ansible? Stop holding it like a Puppet
NETWAYS
 
PDF
Introduction to Docker at SF Peninsula Software Development Meetup @Guidewire
dotCloud
 
PDF
Introduction to Docker and Containers
Docker, Inc.
 
PDF
Infrastructure as code with Puppet and Apache CloudStack
ke4qqq
 
PDF
ApacheCloudStack
Puppet
 
PDF
Puppet Camp Chicago 2014: Docker and Puppet: 1+1=3 (Intermediate)
Puppet
 
PDF
OSDC 2017 - Felix Frank - Is that an Ansible_ Stop holding It Like a Puppet
NETWAYS
 
PDF
OSDC 2017 | Is that an Ansible? Stop holding it like a Puppet by Felix Frank
NETWAYS
 
PDF
Build your own embedded linux distributions by yocto project
Yen-Chin Lee
 
PDF
QEMU in Cross building
Tetsuyuki Kobayashi
 
PDF
How I hack on puppet modules
Kris Buytaert
 
ODP
Puppet and CloudStack
ke4qqq
 
PDF
Microarmy - by J2 Labs
James Dennis
 
PDF
Toplog candy elves - HOCM Talk
Patrick LaRoche
 
PDF
Pilot Tech Talk #10 — Practical automation by Kamil Cholewiński
Pilot
 
PDF
Testing your infrastructure with litmus
Bram Vogelaar
 
Node.js debugging
Nicholas McClay
 
Puppet@Citygrid - Julien Rottenberg - PuppetCamp LA '12
Puppet
 
Boxen: How to Manage an Army of Laptops
Puppet
 
stackconf 2022: Is that an Ansible? Stop holding it like a Puppet
NETWAYS
 
Introduction to Docker at SF Peninsula Software Development Meetup @Guidewire
dotCloud
 
Introduction to Docker and Containers
Docker, Inc.
 
Infrastructure as code with Puppet and Apache CloudStack
ke4qqq
 
ApacheCloudStack
Puppet
 
Puppet Camp Chicago 2014: Docker and Puppet: 1+1=3 (Intermediate)
Puppet
 
OSDC 2017 - Felix Frank - Is that an Ansible_ Stop holding It Like a Puppet
NETWAYS
 
OSDC 2017 | Is that an Ansible? Stop holding it like a Puppet by Felix Frank
NETWAYS
 
Build your own embedded linux distributions by yocto project
Yen-Chin Lee
 
QEMU in Cross building
Tetsuyuki Kobayashi
 
How I hack on puppet modules
Kris Buytaert
 
Puppet and CloudStack
ke4qqq
 
Microarmy - by J2 Labs
James Dennis
 
Toplog candy elves - HOCM Talk
Patrick LaRoche
 
Pilot Tech Talk #10 — Practical automation by Kamil Cholewiński
Pilot
 
Testing your infrastructure with litmus
Bram Vogelaar
 
Ad

Recently uploaded (20)

PDF
The Future of Product Management in AI ERA.pdf
Alyona Owens
 
PDF
Unlocking FME Flow’s Potential: Architecture Design for Modern Enterprises
Safe Software
 
PDF
Why aren't you using FME Flow's CPU Time?
Safe Software
 
PDF
Pipeline Industry IoT - Real Time Data Monitoring
Safe Software
 
DOCX
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
 
PDF
Next level data operations using Power Automate magic
Andries den Haan
 
PPTX
2025 HackRedCon Cyber Career Paths.pptx Scott Stanton
Scott Stanton
 
PDF
How to Comply With Saudi Arabia’s National Cybersecurity Regulations.pdf
Bluechip Advanced Technologies
 
PDF
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
 
PDF
Plugging AI into everything: Model Context Protocol Simplified.pdf
Abati Adewale
 
PPTX
Reimaginando la Ciberdefensa: De Copilots a Redes de Agentes
Cristian Garcia G.
 
PDF
Hello I'm "AI" Your New _________________
Dr. Tathagat Varma
 
PDF
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
 
PDF
Bridging CAD, IBM TRIRIGA & GIS with FME: The Portland Public Schools Case
Safe Software
 
PDF
GDG Cloud Southlake #44: Eyal Bukchin: Tightening the Kubernetes Feedback Loo...
James Anderson
 
PDF
Dev Dives: Accelerating agentic automation with Autopilot for Everyone
UiPathCommunity
 
PPTX
Practical Applications of AI in Local Government
OnBoard
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
Automating the Geo-Referencing of Historic Aerial Photography in Flanders
Safe Software
 
PDF
Understanding AI Optimization AIO, LLMO, and GEO
CoDigital
 
The Future of Product Management in AI ERA.pdf
Alyona Owens
 
Unlocking FME Flow’s Potential: Architecture Design for Modern Enterprises
Safe Software
 
Why aren't you using FME Flow's CPU Time?
Safe Software
 
Pipeline Industry IoT - Real Time Data Monitoring
Safe Software
 
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
 
Next level data operations using Power Automate magic
Andries den Haan
 
2025 HackRedCon Cyber Career Paths.pptx Scott Stanton
Scott Stanton
 
How to Comply With Saudi Arabia’s National Cybersecurity Regulations.pdf
Bluechip Advanced Technologies
 
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
 
Plugging AI into everything: Model Context Protocol Simplified.pdf
Abati Adewale
 
Reimaginando la Ciberdefensa: De Copilots a Redes de Agentes
Cristian Garcia G.
 
Hello I'm "AI" Your New _________________
Dr. Tathagat Varma
 
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
 
Bridging CAD, IBM TRIRIGA & GIS with FME: The Portland Public Schools Case
Safe Software
 
GDG Cloud Southlake #44: Eyal Bukchin: Tightening the Kubernetes Feedback Loo...
James Anderson
 
Dev Dives: Accelerating agentic automation with Autopilot for Everyone
UiPathCommunity
 
Practical Applications of AI in Local Government
OnBoard
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Automating the Geo-Referencing of Historic Aerial Photography in Flanders
Safe Software
 
Understanding AI Optimization AIO, LLMO, and GEO
CoDigital
 
Ad

KubeInvaders - Chaos Engineering Tool for Kubernetes and Openshift