Write your code under ./dist
.
Add a file named run
under ./dist
. Which will compile and run your source code.
Example:
#!/bin/bash
exec go run main.go
Run the code in Kubernetes:
make config golang # For golang application
make config java # For java application
make config python2 # For python 2.7 application
Cleanup:
make cleanup