Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
2d5d4800
Commit
2d5d4800
authored
Nov 23, 2021
by
Kate Grechishkina
Committed by
Marcia Ramos
Nov 23, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve guide on how to delete Kubernetes Agent
parent
5c3289b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
doc/user/clusters/agent/index.md
doc/user/clusters/agent/index.md
+21
-0
No files found.
doc/user/clusters/agent/index.md
View file @
2d5d4800
...
...
@@ -135,6 +135,27 @@ with the following differences:
## Remove the GitLab Kubernetes Agent
1.
Get the
`<cluster-agent-id>`
and the
`<cluster-agent-token-id>`
from a query in the interactive GraphQL explorer.
For GitLab.com, go to
<https://gitlab.com/-/graphql-explorer>
to open GraphQL Explorer.
For self-managed GitLab instances, go to
`https://gitlab.example.com/-/graphql-explorer`
, replacing
`gitlab.example.com`
with your own instance's URL.
```
graphql
query
{
project
(
fullPath
:
"<full-path-to-agent-configuration-project>"
)
{
clusterAgent
(
name
:
"<agent-name>"
)
{
id
tokens
{
edges
{
node
{
id
}
}
}
}
}
}
```
1.
Remove an Agent record with GraphQL by deleting the
`clusterAgent`
and the
`clusterAgentToken`
.
```
graphql
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment