farmerdv / intensive

0 stars 0 forks source link

개인 프로젝트 #1

Open farmerdv opened 4 years ago

farmerdv commented 4 years ago

Saga CQRS Correlation Req/Resp
Gateway Deploy/ Pipeline

image

테스트 kubectl get svc -w => External IP 찾기 pub/sub 테스트 http POST http://20.196.145.209:8080/reserves resortId=20 peopleCount=2 roomId=2 status=Reserve image http GET http://20.196.145.209:8080/confirms image http PATCH http://20.196.145.209:8080/confirms/2 status=Confirmed image http GET http://20.196.145.209:8080/reserves image req/rep 테스트 http DELETE http://20.196.145.209:8080/reserves/1 image

cqrs 테스트 image

Circuit Breaker

Autoscale (HPA) kubectl autoscale deploy reserve --min=2 --max=10 --cpu-percent=15 kubectl get po -l run=reserve -w siege -r 2000 -c 200 -v 'http://20.196.145.209:8080/reserves POST resortId=1 roomId=2 peopleCount=4 siege -c100 -t120S -r10 --content-type "application/json" 'http://20.196.145.209:8080/reserves POST {"resortId": "1", "roomId":5 1, "peopleCount:4"}' => pod 가 늘어가는것을 확인

Zero-downtime deploy (Readiness Probe) Config Map/ Persistence Volume

Polyglot image image

Self-healing (Liveness Probe) 비 정상적으로 들어오는 접속에 대해서 service 의 재기동 image