Skip to content

Gitlab Kubernetes agent

Register agent

docker run --pull=always --rm \
    registry.gitlab.com/gitlab-org/cluster-integration/gitlab-agent/cli:stable generate \
    --agent-token=... \
    --kas-address=wss://0xacab.org/-/kubernetes-agent/ \
    --agent-version stable \
    --namespace gitlab-kubernetes-agent | kubectl apply -f -

Install

Rough overview:

  • Install k8s cluster
  • Add custom flux repo
  • Install agent chart
  • Create kubernetes-agent-setup project with agent config

Helm chart