ethan-cao / gin-server-in-k8s

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Golang http server, containerized and deployed to k8s


HOW TO RUN the app?
go mod download
go run cmd/main.go

HOW TO RUN the app in k8s?
minikube start
minikube dashboard
kubectl apply -f deployment.yaml
minikube tunnel (makes the services running in the cluster accessible from the host machine's network)
kubectl apply -f service.yaml

About


Languages

Language:Go 72.3%Language:Dockerfile 27.7%