Skip to content
GitLab
Next
    • Why GitLab
    • Pricing
    • Contact Sales
    • Explore
  • Why GitLab
  • Pricing
  • Contact Sales
  • Explore
  • Sign in
  • Get free trial
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #323055

Add the ability to Delete an Agent from the UI

Release notes

https://docs.gitlab.com/ee/user/clusters/agent/#remove-an-agent

As the GitLab Agent for Kubernetes is tested and adopted by hundreds of GitLab customers each month, a few users noticed that it is not straightforward to remove a registered Agent from GitLab. Until now, Agent registration could be removed only through the GraphQL API. GitLab now ships with a UI-based approach to remove an Agent registration.

Once an Agent is removed from GitLab, its related tokens are invalidated, and the given connection stops working immediately.

Problem to solve

When the users uninstall an agent from their cluster, the Agent remains in the Agent listing but at that point it is not valid nor useful. To allow the users to declutter the Agent list from unused Agents we should introduce the ability to delete them.

Intended users

  • Allison (Application Ops)
  • Priyanka (Platform Engineer)

User experience goal

  • Provide the ability to delete an Agent record.
  • Warn the user if the agent has any active connections.

Proposal

Given that an Agent exists
When the user is on an Agent details page
Then a "red" delete button is shown on the page
Given that the user is on the Agent details page
When clicks the delete button
Then a confirmation dialogue comes up that asks the agent name for confirmation

Definition of done

  • Agent list contains options column
  • Actions include: Delete Agent
  • Update documentation added regarding where to delete an Agent

Permissions and Security

Documentation

Availability & Testing

Available Tier

What does success look like, and how can we measure that?

What is the type of buyer?

Is this a cross-stage feature?

Links / references

Edited Jan 10, 2022 by Anna Vovchenko
Assignee
Assign to
Time tracking