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.