davidwah / go-apps-k8s

Scaling go-apps with Kubernetes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Golang apps with kube scaling

Getting started

Build docker image

docker build -t davidwah/my-go-apps .

Push docker image

docker push davidwah/my-go-apps

Start local kubernetes cluster

minikube start

Run deployment

kubectl apply -f deployment.yaml

Run service loadBalance

kubectl apply -f service.yml

View the application

kubeclt get services

About

Scaling go-apps with Kubernetes


Languages

Language:Go 78.1%Language:Dockerfile 21.9%