Skip to content
Demo automation
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config_maps re-home micro-demos to root Jun 4, 2019
daemon_sets re-home micro-demos to root Jun 4, 2019
deployments re-home micro-demos to root Jun 4, 2019
graceful_termination re-home micro-demos to root Jun 4, 2019
init-containers re-home micro-demos to root Jun 4, 2019
jobs re-home micro-demos to root Jun 4, 2019
pod_autoscalers re-home micro-demos to root Jun 4, 2019
pods re-home micro-demos to root Jun 4, 2019
pv-provisioning re-home micro-demos to root Jun 4, 2019
quota re-home micro-demos to root Jun 4, 2019
replicasets
replication_controllers
rolling_update re-home micro-demos to root Jun 4, 2019
secrets re-home micro-demos to root Jun 4, 2019
services re-home micro-demos to root Jun 4, 2019
.gitignore Huge rewrite to submit-queue and mungegithub Sep 16, 2015
.travis.yml
LICENSE first commit, add license and readme Aug 13, 2015
README.md re-home micro-demos to root Jun 4, 2019
cleanup.sh re-home micro-demos to root Jun 4, 2019
demo-namespace.yaml re-home micro-demos to root Jun 4, 2019
reset.sh re-home micro-demos to root Jun 4, 2019
setup.sh re-home micro-demos to root Jun 4, 2019
util.sh re-home micro-demos to root Jun 4, 2019

README.md

Kubernetes micro-demos

This is a collection of highly-targetted demonstrations of Kubernetes features. The demos are all text-based and automated, making them perfect for customer meetings, meetups, or just showing off to your colleagues.

Running the demos

To run these demos you need pv and tmux installed, and you need kubectl in your PATH.

Some of the demos try to act in faster-than-real time. For best results:

  • SSH to your kubernetes-master and set the following flags (in this order):
    • kube-controllermanager: --pod-eviction-timeout=10s

Before running a demo, make sure your cluster is demo-ready. The reset.sh script is provided for that.

Writing new demos

Each demo lives in its own directory. The bulk of the logic lives in util.sh.

Demos should be small and focused - 2 to 3 minutes each.

Demos should be repeatable. Make sure you are not relying on timing effects. If you need to sleep, you might have a problem.

Demos should be self-contained. If you are depending on something being done before-hand, don't. Do it in the demo script.

Demos should be single-terminal. Use tmux to split the window to show multiple parallel things.

You can’t perform that action at this time.