Skip to content

Recommend Helm for installing the GitLab agent

Hordur Freyr Yngvason requested to merge use-helm-to-install-gitlab-agent into master

What does this MR do and why?

The GitLab agent now has a Helm chart, see https://gitlab.com/gitlab-org/charts/gitlab-agent

This is now the recommended installation method as Helm is ubiquitous and provides better support for day-two operations.

Screenshots or screen recordings

Screenshot_2022-04-05_at_12-25-18_Kubernetes_Clusters___cluster-group___agent-config

How to set up and validate locally

In your GDK:

  1. Infrastructure > Kubernetes > Connect a cluster (agent)
  2. Enter a name, e.g. my-agent
  3. Click Create agent: my-agent
  4. Click Register
  5. Review that everything looks correct
  6. Optional: If you have GDK configured with a loopback alias, you can run the command against a local cluster, such as kind. An agent should get installed in the cluster. Note that if you have HTTPS enabled with a self-signed certificate in your GDK, the agent will refuse to connect. This is normal. We are adding a customization in gitlab-org/charts/gitlab-agent!6 (merged) for this.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Hordur Freyr Yngvason

Merge request reports