TheOpenCloudEngine / uEngine-cloud

OCE's main component includes : PaaS (Self-service) Portal, Dev-ops, Cloud orchestrator. Also includes microservices-architecture components: Identity & Access Management conforming to OAuth2 and JWT spec and Zuul-based API proxy that interacts with IAM and the service registry (Eureka).

Home Page:http://uengine.org/products/pass

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Providing debug port

SeungpilPark opened this issue · comments

마라톤 APP 당 하나의 인스턴스에 디버그 포트를 부여가능하다.

AppDebugPort {
  marathonAppId: "" (String,PK)
  taskId: "" (String)
  hostPort: "" (int)
  containerPort: "" (int)
  servicePort: "" (int)
}
  • 앱을 삭제할 때 관련된 마라톤appId 들도 삭제됨.
  • api
GET /debug

POST /debug
{
  marathonAppId,taskId
}

DELETE /debug/marathonAppId

디버깅 포트 LB 처리

  1. fetchLBData 에 디버깅 포트 list include
  2. Create front - backend list (TCP) Connections.