tree: d33d15224489706e8e5a1cb57a9a0627586e1c67 [path history] [tgz]
  1. cpp/
  2. demo/
  3. fiddle/
  4. fiddler/
  5. go/
  6. res/
  7. source/
  8. templates/
  9. .bowerrc
  10. .gitignore
  11. bower.json
  12. build_fiddle_release
  13. build_fiddler_release
  14. create-fiddle-sa.sh
  15. create-fiddler-pool.sh
  16. create-fiddler-sa.sh
  17. DESIGN.md
  18. elements.html
  19. fiddler_restart.sh
  20. Makefile
  21. package.json
  22. probersk.json5
  23. PROD.md
  24. README.md
fiddlek/README.md

Fiddle

Allows trying out Skia code in the browser.

Running locally

To run locally:

$ make image

Then in two different shells:

$ make run_local_fiddle

$ make run_local_fiddler

Then visit http://localhost:8080

Continuous Deployment of fiddler

The fiddler image is continuously deployed as new Skia commits come in. See documentation at docker_pushes_watcher/README.md.

Node Pool

The fiddler-pool node pool is dedicated to running just fiddler pods. This was setup because fiddler latency was high for fiddle when run along with many other pods on 64 core nodes. To create a node pool that is dedicated to a certain kind of pod you need to label and taint all the nodes in the node pool, in this case with the same key,value pair:

reservedFor=fiddler

Using the same key/value pair isn't required, but it keeps it consistent.

Then add a tolerance to the pod description so it can run in the node-pool, and also add a nodeSelector so that the pods get scheduled into the pool.

spec:
  nodeSelector:
    reservedFor: fiddler
  tolerations:
    - key: "reservedFor"
      operator: "Equal"
      value: "fiddler"
      effect: "NoSchedule"