kompile

module
v0.0.0-...-d7f25d9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2024 License: MIT

README

kompile

A demo Kubernetes compiler

  • Run sh demo/create_cluster.sh to spin up a local cluster compatible with the demo app
  • Run make to generate the kompile binary and the demo binary, build the demo Docker image, and deploy it to k8s
  • Run .build/demo to start the demo binary locally; then run curl -XPOST localhost:8080/upload --data-binary @"me.jpg" to have the image be resized.
  • Port-forward to the demo pod on 8080, and then run the above curl command to run the demo binary on k8s
  • Run .build/kompile -f demo/main.go to generate the Kubernetes-compiled objects

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL