mattn / k8s-go-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

k8s-go-app

Publish Docker image

Small skeleton app running on k8s

Usage

NOTE Please replace ${repositry} in below and k8s/*.yml to point your private/public repositry.

docker buildx build -t k8s-go-app:latest .
docker tag k8s-go-app:latest ${repositry}/k8s-go-app:latest
docker push ${repositry}/k8s-go-app:latest
kubectl apply -f k8s/deploy.yml
kubectl apply -f k8s/service.yml

Requirements

  • Docker
  • Docker Buildx //no need to install if using Docker Desktop
  • kubectl

License

MIT

Author

Yasuhiro Matsumoto (a.k.a. mattn)

About


Languages

Language:Go 53.5%Language:Dockerfile 46.5%