/golang-k8s-docker-example

Golang docker&k8s image example

Primary LanguageDockerfile

Golang docker&k8s example

Docker Shell:

docker run -it -p 8080:8080 -v /app/logs:/app/logs panco95/ginecho:v1

Docker build:

docker build -t panco95/ginecho:v1 .

Docker-Compose:

docker-compose up

K8s Deployment(pods):

kubectl apply -f pod.yml

K8s Service:

kubectl apply -f service.yml