An open API service indexing awesome lists of open source software.

https://github.com/chase-allen-tech/go-kubernetes


https://github.com/chase-allen-tech/go-kubernetes

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

https://www.bogotobogo.com/GoLang/GoLang_Web_Building_Docker_Image_and_Deploy_to_Kubernetes.php

docker login

docker build -t go-app-img .
docker run -d -p 3333:3000 --name go-app-container go-app-img
docker stop go-app-container

minikube start
kubectl get svc
kubectl get pods
kubectl get deployments

docker build -t chaseallen/go-app .
docker push chaseallen/go-app:latest

kubectl create -f deployment.yaml
kubectl get deployments
kubectl get pods

kubectl expose deployment my-go-app --type=NodePort --name=go-app-svc --target-port=3000
kubectl get svc
minikube ip