Answers: <p><strong>Installing kubernetes integration on gitlab</strong></p>
  <p>In Admin Area -&gt; Overview -&gt; Runners, the instructions they give are:</p>
  <ol>
  <li>Install GitLab Runner</li>
  <li>Specify the following URL during the Runner setup: <code>https://&lt;your gitlab hostname&gt;/</code></li>
  <li>Use the following registration token during setup: <code>&lt;insert-token-here&gt;</code></li>
  <li>Start the Runner!</li>
  </ol>
  <p><em>I'm on version 13.13.0 but I don't remember the instructions changing from version 12.x.x.</em></p>
  <p><strong>Project specific runners</strong></p>
  <p>As for your question regarding configuration, I'm a little bit confused if you're looking for something beyond those instructions. If you want to set up a runner specific to a project, you can go to a project then navigate to Settings -&gt; CI/CD -&gt; Runners -&gt; Specific Runners. There, there are more instructions on setting up project-specific runners.</p>
  <p><strong>Further configuring the runner</strong></p>
  <p><strong>EDIT</strong>: The executor entirely depends on how the runner itself is installed. If it's installed on a kubernetes cluster, then it <em>must</em> be the kubernetes executor. That will affect your pipeline. I think you can create another one if you install another one with the runner chart. You can also use Helm Tiller.</p>
  
Answers: CC BY-SA 4.0
Answers: 2020-12-16T16:41:20.157Z
Answers: Thanks, this I already did. What I don't understand it how to further configure the runner, e.g. change its executor (docker, shell, virtualbox...) or change the image it uses (default is ubuntu 16)
Answers: NanoPish
Answers: CC BY-SA 4.0
Answers: 2020-12-16T16:51:22.180Z
Answers: also, gitlab created one runner. what if I wanted a second one ? am I missing something in the GUI?
Answers: NanoPish
Answers: CC BY-SA 4.0
Answers: 2020-12-16T16:56:26.473Z
Answers: Oh, I think the executor entirely depends on how the runner itself is installed. If it's installed on a kubernetes cluster, then it _must_ be the kubernetes executor. That will affect your pipeline. I think you can totally create another one if you install another one with the runner chart. You can also use Helm Tiller.
Answers: Zachary Delano
Answers: CC BY-SA 4.0
Answers: 2020-12-16T17:02:34.497Z
Answers: thanks I will try configuring the runner with chart or helm then ! add your comment to the answer so I can accept it
Answers: NanoPish
Answers: CC BY-SA 4.0
Answers: 2020-12-16T17:08:41.610Z
Answers: I added my comment with a few edits.
Answers: Zachary Delano
Answers: CC BY-SA 4.0
Answers: 2020-12-16T17:20:54.310Z
Answers: One thing I might add to your question are the comments you sent to me about the runner executor.
Answers: Zachary Delano
Answers: CC BY-SA 4.0
Answers: 2020-12-16T17:25:11.650Z
Answers: I made the question clearer !
Answers: NanoPish
Answers: CC BY-SA 4.0
Answers: 2020-12-16T15:51:15.540Z
Answers: 2020-12-16T17:30:46.493Z
Answers: 2020-12-16T17:30:46.493Z
Answers: Zachary Delano
Body: <p>I connected my existing kubernetes cluster to gitlab using the gitlab integration in myproject/operations/kubernetes on the left tab pane in the gitlab gui.</p>
  <p>After having installed helm + gitlab runner from the gitlab GUI applications, the new gitlab runner is visible in the project runners.</p>
  <p>What I don't understand from the gitlab documentation is how do you modify  the new runner's configuration. You cannot use the gitlab-runner cli, like for a non-kubernetes runner, because the runner in running in a pod, not on the host machine, right?</p>
  <p>I am not sure which part of the runner doc applies to my case. What to use if I wanted to make the runner use another executor or build from another image ? (default image of the pod is ubuntu 16 for me).</p>
  <p>If you have already installed and configured a runner installed this way, from the GUI, please tell me how. Thank you.</p>
  <p>Gitlab 12.9.2 hosted</p>
  
Tags: <kubernetes><gitlab><cicd><gitlab-ci-runner>
Title: gitlab kubernernetes integration: configuring the installed runner
UserDisplayName: NanoPish
ThreadText: # gitlab kubernernetes integration: configuring the installed runner
  
  (Asked by: username_0 on 2020-12-16)
  
  I connected my existing kubernetes cluster to gitlab using the gitlab integration in myproject/operations/kubernetes on the left tab pane in the gitlab gui.
  
  After having installed helm + gitlab runner from the gitlab GUI applications, the new gitlab runner is visible in the project runners.
  
  What I don't understand from the gitlab documentation is how do you modify the new runner's configuration. You cannot use the gitlab-runner cli, like for a non-kubernetes runner, because the runner in running in a pod, not on the host machine, right?
  
  I am not sure which part of the runner doc applies to my case. What to use if I wanted to make the runner use another executor or build from another image ? (default image of the pod is ubuntu 16 for me).
  
  If you have already installed and configured a runner installed this way, from the GUI, please tell me how. Thank you.
  
  Gitlab 12.9.2 hosted
  
  **Tags:** kubernetes, gitlab, cicd, gitlab-ci-runner
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-12-16. Score: 1 | Accepted answer
  
  **Installing kubernetes integration on gitlab**
  
  In Admin Area -> Overview -> Runners, the instructions they give are:
  
  1. Install GitLab Runner
  2. Specify the following URL during the Runner setup: `https://<your gitlab hostname>/`
  3. Use the following registration token during setup: `<insert-token-here>`
  4. Start the Runner!
  
  *I'm on version 13.13.0 but I don't remember the instructions changing from version 12.x.x.*
  
  **Project specific runners**
  
  As for your question regarding configuration, I'm a little bit confused if you're looking for something beyond those instructions. If you want to set up a runner specific to a project, you can go to a project then navigate to Settings -> CI/CD -> Runners -> Specific Runners. There, there are more instructions on setting up project-specific runners.
  
  **Further configuring the runner**
  
  **EDIT**: The executor entirely depends on how the runner itself is installed. If it's installed on a kubernetes cluster, then it *must* be the kubernetes executor. That will affect your pipeline. I think you can create another one if you install another one with the runner chart. You can also use Helm Tiller.
  
  > **Comments:**
  > **username_0**: Thanks, this I already did. What I don't understand it how to further configure the runner, e.g. change its executor (docker, shell, virtualbox...) or change the image it uses (default is ubuntu 16)  
  > **username_0**: also, gitlab created one runner. what if I wanted a second one ? am I missing something in the GUI?  
  > **username_1**: Oh, I think the executor entirely depends on how the runner itself is installed. If it's installed on a kubernetes cluster, then it _must_ be the kubernetes executor. That will affect your pipeline. I think you can totally create another one if you install another one with the runner chart. You can also use Helm Tiller.  
  > **username_0**: thanks I will try configuring the runner with chart or helm then ! add your comment to the answer so I can accept it  
  > **username_1**: I added my comment with a few edits.  
  > **username_1**: One thing I might add to your question are the comments you sent to me about the runner executor.  
  > **username_0**: I made the question clearer !  
  
  ---
  
  