Git Product home page Git Product logo

micro-demos's Introduction

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.

micro-demos's People

Contributors

aledbf avatar apelisse avatar bprashanth avatar brendandburns avatar caesarxuchao avatar eparis avatar fgrzadkowski avatar foxish avatar freehan avatar gmarek avatar grodrigues3 avatar ingvagabund avatar ixdy avatar jasonbrooks avatar k8s-ci-robot avatar lavalamp avatar maciekpytel avatar madhusudancs avatar mikedanese avatar mikespreitzer avatar mwielgus avatar piosz avatar q-lee avatar random-liu avatar rutsky avatar spxtr avatar stephenrlouie avatar thockin avatar wojtek-t avatar xialonglee avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.