The best method of deploying a GitLab Runner container into a Kubernetes cluster is by using the GitLab Runner Helm chart.
It contains all of the configuration information that's run using the GitLab Runner Kubernetes executor. For each new job it receives from GitLab CI/CD, it will provision a new pod within the specified namespace to run it.
You can run the install using the following command:
$ helm install --namespace gitlab --name gitlabrunner -f values.yaml gitlab/gitlab-runner
This command can take some time to complete. After some time, you will receive the following output:
NAME: gitlabrunner
LAST DEPLOYED: Tue May 21 21:11:15 2019
NAMESPACE: gitlab
STATUS: DEPLOYED
RESOURCES:
==> v1/ConfigMap
NAME DATA AGE
gitlabrunner-gitlab-runner 5 0s
...
This shows quite a bit of output, but the important part is that...