GitLab Runner in Kubernetes with MinIO cache (Helm 3)

Setting up namespace, service account and role

kubectl create namespace gitlab-runner
kubectl create serviceaccount gitlab-runner -n gitlab-runner
kubectl create -f role-runner.yaml

Deploy MinIO

kubectl create -f minio-standalone-pvc.yaml
helm repo add minio https://helm.min.io/
helm install minio minio/minio -n gitlab-runner -f minio/values.yaml
kubectl port-forward service/minio -n gitlab-runner 9000:9000

Deploy the GitLab Runner

helm repo add gitlab https://charts.gitlab.io
helm install gitlab-runner gitlab/gitlab-runner -n gitlab-runner -f gitlab-runner/values.yaml
helm uninstall gitlab-runner -n gitlab-runner
helm search repo -l gitlab/gitlab-runner
helm install  gitlab-runner gitlab/gitlab-runner -n gitlab-runner -f gitlab-runner/values.yaml --version "0.20.2"
Kubernetes dashboard showing the gitlab-runner namespace

Passionate software developer and DevOps enthusiast

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store