https://github.com/chase-allen-tech/go-kubernetes
https://github.com/chase-allen-tech/go-kubernetes
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/chase-allen-tech/go-kubernetes
- Owner: chase-allen-tech
- Created: 2023-02-13T21:41:26.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-14T00:55:23.000Z (over 2 years ago)
- Last Synced: 2025-02-16T07:41:19.552Z (3 months ago)
- Language: Go
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
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-containerminikube start
kubectl get svc
kubectl get pods
kubectl get deploymentsdocker build -t chaseallen/go-app .
docker push chaseallen/go-app:latestkubectl create -f deployment.yaml
kubectl get deployments
kubectl get podskubectl expose deployment my-go-app --type=NodePort --name=go-app-svc --target-port=3000
kubectl get svc
minikube ip