Skip to content

CI + K8S = <3

Set up a Runner

kubectl create namespace cutecats
helm install --namespace cutecats -f values.yaml gitlab-runner gitlab/gitlab-runner --version 0.42.0

OK, but what's in values.yaml?

gitlabUrl: https://gitlab.com
runnerRegistrationToken:  astringgoeshere
replicas: 2
runners:
  name: k8scats
  serviceAccountName:
  tags:

rbac:
  create: true
  resources: ["*"]
  verbs: ["get", "list", "watch", "create", "patch", "delete", "update"]
  serviceAccountAnnotations:
    eks.amazonaws.com/role-arn: "hello"

OK, we purposely installed it with an older version of the Chart. Let's upgrade.

helm search repo -l gitlab/gitlab-runner | less

See Kubernetes for a less-summarized version.

Docs: GitLab Runner Helm Chart