-
install kubectl
https://kubernetes.io/ja/docs/tasks/tools/install-kubectl-linux/
-
image build
docker build --pull --rm -t potathon-calculator:latest ./calculator
docker tag potathon-calculator <user>s/potathon-calculator:latest
docker push <user>/potathon-calculator:latestApply 10 replicaSet
kubectl apply -f ./k8s/calculator.yamlgo run main.go kube teardowndocker compose up