This is a simple tutorial to demonstrate how to use DevSpace to deploy a simple Go application to Kubernetes.
make createClusterIf you are done with the cluster, you can delete it with:
make deleteClusterdevspace build
devspace deployPort forward the service to access the application:
kubectl port-forward svc/mydemo-service 3333:8080curl http://localhost:3333/articlescurl http://localhost:3333/article/{id}curl -X POST http://localhost:3333/article -H "Content-Type: application/json" -d '{
"Id": "3",
"Title": "New Article",
"Desc": "New Article Description",
"Content": "New Article Content"
}'curl -X DELETE http://localhost:3333/article/3devspace dev
# in the new terminal
make debugNow connect to the debugger remotely to localhost:2345 in your IDE.
Building the slides:
make slides