Coder Social home page Coder Social logo

kubetoy's Introduction

KubeToy

v2.6.0

A simple Node.js application that deploys to IBM Cloud Private. It is used to help explore the functionality of Kubernetes. This toy application has a user interface which you can:

  • write messages to the log (stdout / stderr)
  • intentionally crash the application to view auto repair
  • toggle a liveness probe and monitor kuberenetes behavior
  • read config maps and secrets from environment vars and files
  • if connected to shared storage, read and write files
  • if Cloud Object Storage credentials are provided via ENV VAR in config maps, connect to COS bucket

KubeToy can be installed via helm chart or directly with these kubernetes definition files.

Adding Helm chart repository Add the IBM Cloud Private Center of Competency Helm chart repository to your ICP cluster.

Deploying KubeToy from Helm Chart Deploy an older version of the chart from the Helm catalog, verify it is working, then upgrade to the latest version.

Playing with the logs Use the app to write to the logs, then view the logs in the UI and via Kibana.

Crash the app Intentionally crash the application and watch it self heal.

ConfigMaps and Secrets Explore configuration options for apps deployed to ICP.

Shared Filesystem Use the shared files system to store and read content across all instances of the application. File information is persisted even if the app crashes.

Network Allows you to request an HTTP url (from the pod), and renderes what it gets.

kubetoy's People

Contributors

jconallen avatar jconallen-ibm avatar joshisa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

kubetoy's Issues

Filesystem option not working

The option to specify the PVC name is missing from the parameters, and even if you select the use persistence option the menu item does not appear in the app. However the PVC is created, and bound to the application.

exec button not working

Mutate not working. Might have removed too many requires when getting rid of stress?

ReferenceError: exec is not defined
    at /app/app.js:109:2
    at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
    at next (/app/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/app/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
    at /app/node_modules/express/lib/router/index.js:281:22
    at Function.process_params (/app/node_modules/express/lib/router/index.js:335:12)
    at next (/app/node_modules/express/lib/router/index.js:275:10)
    at urlencodedParser (/app/node_modules/body-parser/lib/types/urlencoded.js:91:7)
    at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)

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.