Deploy Golang & Mongo on Kubernetes (Minikube)

config deployment
Result after mongo db config deployment
minikube service mongodb
Open db using mongo db client that is Robo 3T
{
"name" : "Wick",
"grade" : "5"
}
docker build -t wahyuehs7/go-mongo:1.0 .
#docker push wahyuehs7/go-mongo:1.0
Result after pushing image to docker hub.
App config deployment
See all information with kubectl get all
minikube service goapp-srv
Result of application deployment

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store