Skip to content

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

Draft
nevivurn wants to merge 1 commit intomasterfrom
feat/reconcile-controller
Draft

[WIP] feat: move worker (reconcile) logic to separate controller#9
nevivurn wants to merge 1 commit intomasterfrom
feat/reconcile-controller

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