# Packages
No description provided by the author
# README
backend-service
This repo was created with KoalaOps
Description
An example backend service
How to run locally?
go mod tidy
go run main.go
How to run with Docker?
docker build -t backend-service:latest .
docker run -p:5030:8080 backend-service:latest
Server will listen at http://localhost:5030
K8s Configuation and Deployment
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:
In Production run:
cd deploy
kubectl apply -k overlays/prod
In Dev run:
cd deploy
kubectl apply -k overlays/dev