diff options
author | Marcia Ramos <virtua.creative@gmail.com> | 2018-04-16 20:49:48 +0000 |
---|---|---|
committer | Marcia Ramos <virtua.creative@gmail.com> | 2018-04-16 20:49:48 +0000 |
commit | 46529246be8c9bceeb8c6340139ebebb7dbb91c1 (patch) | |
tree | d280b28cfe830a0f6a813959a0146d02b5918d16 /doc/install/kubernetes | |
parent | 08083f43cb8ff6b5d83e998fd96159f717aa181f (diff) | |
parent | 437bb48d742b951e2b8524b070520332f1e3f12c (diff) | |
download | gitlab-ce-46529246be8c9bceeb8c6340139ebebb7dbb91c1.tar.gz |
Merge branch '44853-add-rbac-flag-for-runner-chart-to-docs' into 'master'
Add RBAC flag for Runner chart to docs
Closes #44853
See merge request gitlab-org/gitlab-ce!18113
Diffstat (limited to 'doc/install/kubernetes')
-rw-r--r-- | doc/install/kubernetes/gitlab_runner_chart.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/install/kubernetes/gitlab_runner_chart.md b/doc/install/kubernetes/gitlab_runner_chart.md index 3feef8cbd19..a03c49cbd89 100644 --- a/doc/install/kubernetes/gitlab_runner_chart.md +++ b/doc/install/kubernetes/gitlab_runner_chart.md @@ -72,6 +72,18 @@ concurrent: 10 ## checkInterval: 30 +## For RBAC support: +rbac: + create: false + + ## Run the gitlab-bastion container with the ability to deploy/manage containers of jobs + ## cluster-wide or only within namespace + clusterWideAccess: false + + ## Use the following Kubernetes Service Account name if RBAC is disabled in this Helm chart (see rbac.create) + ## + # serviceAccountName: default + ## Configuration for the Pods that that the runner launches for each new job ## runners: @@ -116,6 +128,12 @@ runners: ``` +### Enabling RBAC support + +If your cluster has RBAC enabled, you can choose to either have the chart create its own sevice account or provide one. + +To have the chart create the service account for you, set `rbac.create` to true. + ### Controlling maximum Runner concurrency A single GitLab Runner deployed on Kubernetes is able to execute multiple jobs in parallel by automatically starting additional Runner pods. The [`concurrent` setting](https://docs.gitlab.com/runner/configuration/advanced-configuration.html#the-global-section) controls the maximum number of pods allowed at a single time, and defaults to `10`. |