panpan0000 / Resource-Big-Eaters-kubeConEU24

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is the demo code to simulate the situation of a few pods as "Resource Big Eaters".

The code is for KubeCon presentation : https://sched.co/1YeLR

<Lightning Talk: Locking the Monster: Strategies to Isolate Resource Big Eaters - Peter Pan, DaoCloud>

Background

Actually, containers are not 100% isolated, some resources are shared between pods, so there will be resources contention.

So the code (as simple as possible) here aims to stress the shared resources to show you some typical cases:

Code

  • conntrack-stress
  • dns-stress
  • pid-stress
  • fd-stress
  • mem-stress

About

License:The Unlicense


Languages

Language:Python 55.4%Language:Shell 24.1%Language:Dockerfile 10.7%Language:C 9.8%