Open farmerdv opened 4 years ago
Saga CQRS Correlation Req/Resp Gateway Deploy/ Pipeline
테스트 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 http GET http://20.196.145.209:8080/confirms http PATCH http://20.196.145.209:8080/confirms/2 status=Confirmed http GET http://20.196.145.209:8080/reserves req/rep 테스트 http DELETE http://20.196.145.209:8080/reserves/1
cqrs 테스트
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
Self-healing (Liveness Probe) 비 정상적으로 들어오는 접속에 대해서 service 의 재기동
Saga CQRS Correlation Req/Resp
Gateway Deploy/ Pipeline
테스트 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 http GET http://20.196.145.209:8080/confirms http PATCH http://20.196.145.209:8080/confirms/2 status=Confirmed http GET http://20.196.145.209:8080/reserves req/rep 테스트 http DELETE http://20.196.145.209:8080/reserves/1
cqrs 테스트
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
Self-healing (Liveness Probe) 비 정상적으로 들어오는 접속에 대해서 service 의 재기동