go test -covermode=count ./...
minikube start
eval $(minikube docker-env)
docker build . -t bank:0.0.1
kubectl create -f ./mysql-deployment.yaml
kubectl run -it --rm --image=mysql:5.6 --restart=Never mysql-client -- mysql -h mysql -phello123
mysql> CREATE DATABASE `simple-bank`;
kubectl run simple-bank --env="GOPATH=/go" --image=bank:0.0.1 --replicas=2 --port=3000 --image-pull-policy=Never -- --host=mysql
kubectl port-forward deployment.apps/simple-bank 3000:3000
https://www.getpostman.com/collections/23256aad01e9937c001d
- DB time type stores as mysql
DATETIME