This repo was created with KoalaOps
go mod tidy
go run main.go
docker build -t test-openapi:latest .
docker run -p:5030:8080 test-openapi:latest
Server will listen at http://localhost:5030
On service creation Koala created for you 3 k8s resources to use:
- deployment.yaml
- service.yaml
- ingress.yaml
Those are located in the deploy directory and should be applied with kustomize. For example:
cd deploy
kubectl apply -k overlays/prod
cd deploy
kubectl apply -k overlays/dev