Skip to content

The lab registers its own cluster as the infrastructure families (kubernetes, prometheus; capi with #56) the way an installation does — the Infrastructure preset resolves to x_kubernetes_*/x_prometheus_* with management_cluster=agentlab, and the fake fleet retires #168

Description

@teemow

Problem

On an installation the infrastructure servers are family members rendered by agent-platform-mcps: <cluster>-mcp-kubernetes, <cluster>-mcp-capi, <cluster>-mcp-prometheus, each with spec.family (x_kubernetes_<tool> with a management_cluster argument) and the agent-platform.giantswarm.io/tool-group: infrastructure label; there is no family-less singleton. The lab differs in three ways:

Result in the agent create flow's Tools step (2026-09-12): the Infrastructure preset resolves to the six x_mcp-kubernetes_* tools only — no Prometheus, although the preset's own description names mcp-kubernetes, mcp-capi and mcp-prometheus — while the catalogue shows three families "awaiting sign-in" that no one can sign in to. Confusing for anyone testing the lab, and a shape no installation has.

Decision (2026-09-12): families only, on installations and in the lab alike. The lab is heading for several clusters anyway (#56, #57 add CAPI and cluster-manager), so a single-cluster special case buys nothing.

Proposed solution

Timing: after the kagent API v2 migration is done (the migration has priority).

Acceptance criteria

  • kubectl get mcpservers -n agent-platform on a default lab lists agentlab-mcp-kubernetes and agentlab-mcp-prometheus (family members, tool-group: infrastructure, management-cluster: agentlab) and no family-less mcp-kubernetes singleton
  • The Tools step's Infrastructure preset resolves to the kubernetes and prometheus family tools; the catalogue lists no server that cannot be signed in to
  • platform-test, toolsets-test, backstage-test, agents-test green on the family UX; the docs (platform.md, backstage.md, the lab's MCP usage notes) describe it
  • The fake-fleet fixture and its code are gone

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status
      Backlog 📦

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions