@@ -169,17 +169,21 @@ the Agent in subsequent steps. You can create an Agent record with GraphQL:
...
@@ -169,17 +169,21 @@ the Agent in subsequent steps. You can create an Agent record with GraphQL:
### Install the Agent into the cluster
### Install the Agent into the cluster
Next, install the in-cluster component of the Agent.
To install the in-cluster component of the Agent, first you need to define a namespace. To create a new namespace,
for example, `gitlab-kubernetes-agent`, run:
NOTE:
```shell
For GitLab.com users, the KAS is available at `wss://kas.gitlab.com`.
kubectl create namespace gitlab-kubernetes-agent
```
#### One-liner installation
To perform a one-liner installation, run the command below. Make sure to replace:
Replace the value of `agent-token` below with the token received from the previous step. Also, replace `kas-address` with the configured access of the Kubernetes Agent Server:
-`your-agent-token` with the token received from the previous step.
-`gitlab-kubernetes-agent` with the namespace you defined in the previous step.
-`wss://kas.gitlab.example.com` with the configured access of the Kubernetes Agent Server (KAS). For GitLab.com users, the KAS is available under `wss://kas.gitlab.com`.