PSanetra / demo-pod

A demo service to demonstrate various aspects of Kubernetes Pods

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kubernetes Demo Pod

This application provides some useful features to demonstrate certain aspects of Pods inside a Kubernetes cluster.

screenshot

Run

$ docker run -it --rm -p 8080:8080 psanetra/demo-pod:latest

Features

  • Delay startup (via --startup-delay option)
  • Save state in a volume
  • Read state from a volume
  • Show environment variables
  • Show changing ConfigMap values via --watch option (if supported)
  • Show changing Secret values via --watch option (if supported)
  • Control liveness
  • Control readiness
  • Control cpu utilization
  • Control memory utilization
  • Show available and used memory
  • Show client IP
  • Show Pod IPs
  • Show request http headers behind ingress controller

About

A demo service to demonstrate various aspects of Kubernetes Pods

License:MIT License


Languages

Language:TypeScript 48.4%Language:Go 37.5%Language:HTML 9.1%Language:SCSS 2.8%Language:JavaScript 1.3%Language:Dockerfile 0.9%