Skip to content

Latest commit

 

History

History
28 lines (12 loc) · 388 Bytes

README.md

File metadata and controls

28 lines (12 loc) · 388 Bytes

---Build Demo in Docker---

docker build -t demo:5 .

---Build Demo with MiniKube---

minikube image build -t demo:4 .--> laufende nummer anpassen

--Start Deployment--

kubectl apply -f deployment.yaml

--Get Kubernetes Service

kubectl get svc

--Port-Forwarding--

kubectl port-forward service/servicehra 8080:8080

--Scale Deployment--

kubectl scale --replicas=4 deployment/hra