No description
This repository has been archived on 2026-09-29. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Go 46.6%
  • JavaScript 39.3%
  • Go Template 11.1%
  • CSS 2.8%
  • Dockerfile 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2017-04-21 02:15:59 -06:00
public capitalize WS_URL 2017-04-21 02:15:59 -06:00
templates visualize requests per second per pod grouped by node 2017-04-21 01:06:09 -06:00
.gitignore capture restart count in ui 2017-04-21 01:22:59 -06:00
Dockerfile init 2017-04-02 22:33:28 -06:00
handlers.go visualize requests per second per pod grouped by node 2017-04-21 01:06:09 -06:00
logger.go refactor 2017-04-19 23:48:04 -06:00
main.go visualize requests per second per pod grouped by node 2017-04-21 01:06:09 -06:00
old-main-with-prometheus.go refactor 2017-04-19 23:48:04 -06:00
provider.go refactor 2017-04-19 23:48:04 -06:00
README.md bang on it 2017-04-12 01:07:21 -06:00

Running locally

To run locally, you need to indicate to the go binary that we are external to a cluster.

go run main.go --external --kubeconfig /Users/jake/.kube/config

Test the WS api

curl -i -N -H "Connection: Upgrade" -H "Upgrade: websocket" -H "Sec-Websocket-Version: 13" -H "Sec-Websocket-Key: jake" http://localhost:8080/ws/pods/load-demo

How to ship a new release?

Publish code to github on master and docker hub's automated build service will publish a docker image @ jhgaylor/k8s-load-demo-api. The deployment pulls it from docker's public repository.

How to crank everything up?