Skip to content

Rename the Agent on the GitLab UI

Anna Vovchenko requested to merge 346197-rename-the-agent-on-the-gitlab-ui into master

What does this MR do and why?

As we are renaming the GitLab Kubernetes Agent to GitLab Agent for Kubernetes we are updating the related UI with the revised copies.

New copies are:

  1. In the Agents' empty state view on Infrastructure -> Kubernetes page:
Use the [GitLab Agent](https://gitlab.com/help/user/clusters/agent/index.md) to safely connect your Kubernetes clusters to GitLab.
You can deploy your applications, run your pipelines, use Review Apps, and much more.
  1. In the Clusters' empty state view on Infrastructure -> Kubernetes page:
Connect your cluster to GitLab through [cluster certificates](https://gitlab.com/help/user/infrastructure/clusters/index.md#certificate-based-kubernetes-integration-deprecated).

If you are setting up multiple clusters with Auto DevOps, learn
[how to use multiple Kubernetes clusters](https://gitlab.com/help/user/project/clusters/multiple_kubernetes_clusters) first.
The certificate-based method to connect clusters to GitLab was [deprecated](https://about.gitlab.com/blog/2021/11/1
  1. In the Agents' modal empty state variant:
Install a new agent

Before installing an agent, add the agent's configuration file to this repository.

[What's the Agent's configuration file?](https://gitlab.com/help/user/clusters/agent/install/index)
[Go to the repository](LINK-TO-REPO)
Before using the GitLab Agent, ask a GitLab Administrator to enable the
[GitLab Agent Server (KAS)](https://gitlab.com/help/administration/clusters/kas).
  1. In the Agents' modal for Agent configuration present variant:
Select an agent to install

Select an agent to register with GitLab and install on your cluster. 

[How to register an agent?](https://gitlab.com/help/user/clusters/agent/install/index.md)
  1. In the alert on Security & Compliance -> Policies -> Create new policy page: To enable alerts, [install an agent](https://gitlab.com/help/user/clusters/agent/install/index.md) first.

Updated screenshots

Screenshot_2021-12-01_at_21.08.18

Screenshot_2021-12-01_at_17.29.21

Screenshot_2021-12-01_at_21.18.22

Screenshot_2021-12-01_at_11.41.02

Screenshot_2021-12-01_at_11.41.15

Screenshot_2021-12-01_at_11.41.40

Screenshot_2021-12-01_at_11.41.48

Screenshots or screen recordings

Before After
Screenshot_2021-11-24_at_11.17.36 Screenshot_2021-12-01_at_11.41.40
Screenshot_2021-11-24_at_11.18.22 Screenshot_2021-12-01_at_18.05.52
Screenshot_2021-11-24_at_11.20.36 Screenshot_2021-12-01_at_21.18.22
Screenshot_2021-11-22_at_11.21.09 Screenshot_2021-12-01_at_21.08.18
Screenshot_2021-11-22_at_11.32.15 Screenshot_2021-11-24_at_11.09.21

How to set up and validate locally

  1. To validate the Agents' and Clusters' empty states:
    • Go to Infrastructure -> Kubernetes clusters
    • Validate the page
  2. To validate the Agent's registration modal in the empty state:
  3. To validate the Agent's connect modal with the configurations present:
    • add the agent configurations as per the docs
  4. To validate the alert to add Agent:
    • Go to Security & Compliance -> Policies -> Create new policy page

MR acceptance checklist

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

Related to #346197 (closed)

Edited by Anna Vovchenko

Merge request reports