Skip to content

Multi-Cluster Platform Design Notes (2021)

Interactive Diagram

새 탭 ↗
  • Setup goals

    • Compose it of a Control Plane and Data Planes.
    • Automate the installation of the basic components installed on a cluster.
    • Automate the management of cluster endpoints.
    • Apply a Task Runner when controlling cluster resources from the DWP.
    • Apply async, non-block when controlling cluster resources from the DWP.
    • Apply status monitoring when controlling cluster resources from the DWP.
    • Handle Access Logs outside the application, or at least remove direct Redis access.
  • task list

    • App CI
    • App CD
    • App Pod execution
    • SRE Component
  • Only the components used by Site B are shown
  • Uses Harbor as the Docker registry
  • Uses TaskAgent, TaskRunner, and NotifyAgent for task-based asynchronous processing
PlantUML Diagram
  • Divided into Control Plane and Data Plane
  • Uses TaskRunner for communication with the Platform Plane
  • Uses Harbor as the Docker registry
  • Gitee is used as the user git repository
  • Bitbucket is used for the source used for deployment on the Platform
  • Uses ArgoCD for managing cluster components
  • The Monitoring/Alert components are divided into long-terms and short-terms
PlantUML Diagram
PlantUML Diagram
  • Describes the procedure for building a new cluster
  • The components to be installed on the Site Cluster are managed with ArgoCD
  • The ArgoCD Dashboard is used for managing deployment status
PlantUML Diagram
  • The processes needed from the user’s perspective are written as Sequence Diagrams
  • Process description
    • When a Site A user logs in using the A url and the B url
      • case1, case2
    • When a Site B user logs in using the B url
      • case3
PlantUML Diagram
  • Considerations
  • Items requiring review
PlantUML Diagram
  • Considerations
    • Allow applications to be created regardless of site information.
    • Limit the scope to generating DWP metadata and providing the source repository to developers.
  • Items requiring review
    • Need technical verification of sending the status that occurs in the TaskRunner to the NotifyAgent
    • Need verification of the feature for querying the status that occurs in the TaskRunner
PlantUML Diagram
  • Considerations
    • Allow helm charts to be created regardless of site information.
  • Items requiring review
    • Need technical verification of sending the status that occurs in the TaskRunner to the NotifyAgent
    • Need verification of the feature for querying the status that occurs in the TaskRunner
PlantUML Diagram
  • Considerations
    • The TaskAgent needs a feature to discover the Target Cluster
    • Since the application source is not large in size, it is checked out at site A
    • The docker image size is large, which may cause network traffic problems
    • Due to network traffic problems, the docker repository must be located at site B
    • Due to network traffic problems, docker build & push must be performed at site B
    • Docker image synchronization between sites is required
  • Items requiring review
    • Need technical verification of sending the status that occurs in the TaskRunner to the NotifyAgent
    • Need verification of the feature for querying the status that occurs in the TaskRunner
    • Need verification of the docker image synchronization time and interval between sites
PlantUML Diagram
  • Considerations
    • Create the ArgoCD Application at the time deployment is performed.
    • The ArgoCD Application is also managed with bitbucket yaml.
    • ArgoCD metadata is kept on the control plane.
PlantUML Diagram
  • Considerations
    • When you create an ArgoCD Helm application, ArgoCD deploys the helm chart
    • The ArgoCD helm app. is also managed with a bitbucket repository
    • values.yml is modified via parameter settings within the helm app.
  • Items requiring review
    • Need a way to query the status of the async process
PlantUML Diagram
  • A summary of Open Source usable as a TaskRunner
PlantUML Diagram
PlantUML Diagram
PlantUML Diagram
PlantUML Diagram