Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.88 KB

README.md

File metadata and controls

39 lines (24 loc) · 1.88 KB

Hello world example on Staroid

Minimal example project running on Staroid.

Run on Staroid

Run

Check here to know more about 'Run on staroid' button.

Run locally for development

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.

Fork, edit and have your own version.

You can fork this repository and connect from Staroid. Edit code and release your own version of the project.

Files

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