Skip to content

feat: add Kubernetes topology tree APIs#4788

Open
Cynthia-0203 wants to merge 1 commit into
koderover:mainfrom
Cynthia-0203:feat/env-argocd-like-topology-tree
Open

feat: add Kubernetes topology tree APIs#4788
Cynthia-0203 wants to merge 1 commit into
koderover:mainfrom
Cynthia-0203:feat/env-argocd-like-topology-tree

Conversation

@Cynthia-0203

@Cynthia-0203 Cynthia-0203 commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

What this PR does / Why we need it:

This PR adds backend APIs for Kubernetes environment topology tree.

It allows the environment page to visualize Kubernetes resources as a topology graph, including workloads, pods, services, ingresses, config maps, secrets, PVCs, and their relationships. It also exposes sync status, health status, node-level actions, YAML diff, and service sync capabilities, so users can better understand runtime state and configuration drift in Kubernetes YAML environments.

What is changed and how it works?

  • Added topology routes under environment APIs:
    • GET /environments/:name/topology
    • GET /environments/:name/topology/node
    • GET /environments/:name/topology/diff
    • POST /environments/:name/topology/sync

Does this PR introduce a user-facing change?

  • API change
  • database schema change
  • upgrade assistant change
  • change in non-functional attributes such as efficiency or availability
  • fix of a previous issue

This change is Reviewable

Signed-off-by: Cynthia <chenchen@koderover.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant