Minimal example project running on Staroid.
Check here to know more about 'Run on staroid' button.
Open a terminal and run
$ skaffold dev --port-forward
and browse http://localhost:8080.
skaffold CLI and a Kubernetes (e.g. minikube) are required to run locally.
You can fork this repository and connect from Staroid. Edit code and release your own version of the project.
file | description |
---|---|
Dockerfile | Dockerfile to build container image |
skaffold.yaml | Skaffold configuration to execute build and deploy |
staroid.yaml | Staroid configuration |
k8s-deployment.yaml | Kubernetes resource file to create Deployment controller |
k8s-service.yaml | Kubernetes Resource file to deploy Service |
main.go | Application source code |
For more sophisticated examples, check https://docs.staroid.com/examples/index.html