Skip to content
This repository was archived by the owner on Jun 17, 2026. It is now read-only.

Route api-gateway to control-plane monolith#40

Closed
gciavarrini wants to merge 1 commit into
dcm-project:mainfrom
gciavarrini:use-control-plane
Closed

Route api-gateway to control-plane monolith#40
gciavarrini wants to merge 1 commit into
dcm-project:mainfrom
gciavarrini:use-control-plane

Conversation

@gciavarrini

Copy link
Copy Markdown
Contributor

⚠️ Depends on dcm-project/control-plane#9 ⚠️

Switch the api-gateway stack from four manager services to the control-plane monolith once PR #9 publishes quay.io/dcm-project/control-plane.

Replace manager containers in Compose and Helm with a single control-plane service.

Keep Traefik on :9080 and route catalog, policy, and SP APIs to the monolith.
Point service provider registration at control-plane.
Create one control-plane Postgres database.

Replace four manager services in compose and helm with one
control-plane image. Keep Traefik on :9080; update routes, postgres
init, and docs.
Assisted-By: Claude (Anthropic)

Signed-off-by: Gloria Ciavarrini <gciavarrini@redhat.com>
@gciavarrini gciavarrini changed the title Route api-gateway to control-plane monolith. Route api-gateway to control-plane monolith Jun 11, 2026
@machacekondra

Copy link
Copy Markdown
Contributor

I think since we don't use micro-service architecture, there is no need for api-gateway now. Or why do you think we need it?

@gciavarrini

Copy link
Copy Markdown
Contributor Author

I think since we don't use micro-service architecture, there is no need for api-gateway now. Or why do you think we need it?

@jenniferubah and I had the same doubt.

But do we have a way to easily deploy the full dcm stack? Like UI + control plane + managers?

@machacekondra

Copy link
Copy Markdown
Contributor

But do we have a way to easily deploy the full dcm stack? Like UI + control plane + managers?

I would keep everything in control-plane repo now.

@gciavarrini

Copy link
Copy Markdown
Contributor Author

But do we have a way to easily deploy the full dcm stack? Like UI + control plane + managers?

I would keep everything in control-plane repo now.

But we agreed to have managers (sp, placement, policy, catalog) in control-plane, while all the SPs (e.g. k8s-container-service-provider) stay on their repos.
Also, Is having the UI inside control-plane ok?

@gciavarrini

Copy link
Copy Markdown
Contributor Author

I think since we don't use micro-service architecture, there is no need for api-gateway now. Or why do you think we need it?

But do we have a way to easily deploy the full dcm stack? Like UI + control plane + managers?

Closing in favor of consolidating deploy into control-plane (compose + helm, no Traefik). With the monolith, api-gateway no longer adds routing value. I'll follow up with a PR there.

gciavarrini added a commit to dcm-project/control-plane that referenced this pull request Jun 17, 2026
Move full-stack Compose and Helm packaging from api-gateway

Details:
- Compose: dcm-ui, optional SP profiles, API on `:8080` (no Traefik)
- Helm chart migrated without gateway; routes hit control-plane directly
- `compose-down` disconnects Kind and cleans up legacy `deploy_default`
- Runbook and Kind setup docs under `deploy/`

Supersedes: dcm-project/api-gateway#40

Fixes: [FLPATH-4239](https://redhat.atlassian.net/browse/FLPATH-4239)

---
Assisted-By: Claude (Anthropic)
Signed-off-by: Gloria Ciavarrini <gciavarrini@redhat.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants