Surface agentk versions in GraphQL
kas
exposes an API endpoint to get information about connected agents, see:
- https://gitlab.com/gitlab-org/cluster-integration/gitlab-agent/-/blob/master/internal/module/agent_tracker/rpc/rpc.proto
- https://gitlab.com/gitlab-org/cluster-integration/gitlab-agent/-/blob/master/internal/module/agent_tracker/agent_tracker.proto
- https://gitlab.com/gitlab-org/cluster-integration/gitlab-agent/-/blob/master/internal/module/modshared/modshared.proto
Each logical agent (i.e. single agent id) may have 0 or more Pod
s so none to several returned elements per agent id.
Similarly, GitLab needs to have a GraphQL endpoint(s) that returns information about:
- the connected
Pod
s for an agent id. - the connected
Pod
s for all agent ids for a certain project id.
Edited by Mikhail Mazurskiy