Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] feat: move worker (reconcile) logic to separate controller #9

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nevivurn
Copy link
Member

controller 짜기 싫어서 대충 queue에 대고 helm으로 동기화하는식으로 구현했었는데 예상했던것보다 많이 느립니다

해당 로직 모두 신규 controller로 옮깁니다

diagram

before:

flowchart TD
    user((user))
    admin((admin))
    sgs[sgs controller]
    db[database]
    harbor[harbor]
    cluster

    user -->|workspace requests| sgs
    admin -->|workspace modifications| sgs

    sgs <--> |state management| db

    sgs --->|manage workspace resources| cluster
    sgs --->|manage registries| harbor
Loading

after:

flowchart TD
    user((user))
    admin((admin))
    sgs-server
    sgs-controller
    db[database]
    harbor[harbor]
    cluster

    user -->|workspace requests| sgs-server
    admin -->|workspace modifications| sgs-server

    sgs-server <--> |state management| db
    db --> |fetch state| sgs-controller

    sgs-controller --->|manage workspace resources| cluster
    sgs-controller --->|manage registries| harbor
Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant