glab cluster
Overview
Manage GitLab Agents for Kubernetes and their clusters.
USAGE
glab cluster <command> [command] [--flags]
COMMANDS
agent <command> [command] [--flags] Manage GitLab Agents for Kubernetes.
graph [--flags] Queries the Kubernetes object graph, using the GitLab Agent for Kubernetes. (EXPERIMENTAL)
FLAGS
-h --help Show help for this command.
-R --repo Select another repository. Can use either `OWNER/REPO` or `GROUP/NAMESPACE/REPO` format. Also accepts full URL or Git URL.
Quick start
glab cluster --help
v1.89.0 Updates
v1.89.0+:
glab cluster agent listandglab cluster agent token listsupport--output json/-F jsonfor structured output, ideal for agent automation.
# List cluster agents with JSON output (v1.89.0+)
glab cluster agent list --output json
glab cluster agent list -F json
# List agent tokens with JSON output (v1.89.0+)
glab cluster agent token list <agent-id> --output json
glab cluster agent token list <agent-id> -F json
Subcommands
See references/commands.md for full --help output.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.