Skip to content

Incoherent message when Gitlab and Gitlab agent (agentk) version numbers differ

When Gitlab and Gitlab Agent for Kubernetes have version numbers with non matching minor, the UX display a warning. However the content of this message is not always coherent with the real version of agentk or gitlab-kas.

Here is what is displayed on my server (self managed instance, Docker Gitlab-ce version 16.9.0-ce.0) with agentk v16.8.0 (Gitlab agent Helm chart 1.23.0):

image

As you can see the message identifies Gitlab version as v16.9.2 which is wrong and confusing.

Note that in a futile attempt to keep agentk and gitlab-kas in sync, I've tried to use flux-cd to automatize the update of agentk. However, since the releases of Gitlab and Gitlab agent Helm chart are not synchronized, this doesn't work very well.

Another problem I have, is that the connection between agentk and gitlab-kas is only updated each 9 or 10 minutes and so the UX reports regularly lost connections.