Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
47c27538
Commit
47c27538
authored
Jan 22, 2021
by
Suzanne Selhorn
Committed by
Amy Qualls
Jan 22, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed Runner topic
Related to:
https://gitlab.com/gitlab-org/gitlab/-/issues/295591
parent
2cc464c2
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
488 deletions
+6
-488
doc/user/clusters/agent/index.md
doc/user/clusters/agent/index.md
+2
-40
doc/user/clusters/agent/runner.md
doc/user/clusters/agent/runner.md
+4
-448
No files found.
doc/user/clusters/agent/index.md
View file @
47c27538
...
...
@@ -439,49 +439,11 @@ The following example projects can help you get started with the Kubernetes Agen
-
[
Configuration repository
](
https://gitlab.com/gitlab-org/configure/examples/kubernetes-agent
)
-
This basic GitOps example deploys NGINX:
[
Manifest repository
](
https://gitlab.com/gitlab-org/configure/examples/gitops-project
)
-
[
Install GitLab Runner
](
runner.md
)
### Deploying GitLab Runner with the Agent
These instructions assume that the Agent is already set up as described in the
[
Get started with GitOps
](
#get-started-with-gitops-and-the-gitlab-agent
)
:
1.
Check the possible
[
Runner chart YAML values
](
https://gitlab.com/gitlab-org/charts/gitlab-runner/blob/master/values.yaml
)
on the Runner chart documentation, and create a
`runner-chart-values.yaml`
file
with the configuration that fits your needs, such as:
```yaml
## The GitLab Server URL (with protocol) that want to register the runner against
## ref: https://docs.gitlab.com/runner/commands/README.html#gitlab-runner-register
##
gitlabUrl: https://gitlab.my.domain.com/
## The Registration Token for adding new Runners to the GitLab Server. This must
## be retrieved from your GitLab Instance.
## ref: https://docs.gitlab.com/ce/ci/runners/README.html
##
runnerRegistrationToken: "XXXXXXYYYYYYZZZZZZ"
## For RBAC support:
rbac:
create: true
## Run all containers with the privileged flag enabled
## This will allow the docker:dind image to run if you need to run Docker
## commands. Please read the docs before turning this on:
## ref: https://docs.gitlab.com/runner/executors/kubernetes.html#using-dockerdind
runners:
privileged: true
```
1.
Create a single manifest file to install the Runner chart with your cluster agent:
```
shell
helm template
--namespace
gitlab gitlab-runner
-f
runner-chart-values.yaml gitlab/gitlab-runner
>
manifest.yaml
```
1.
Push your
`manifest.yaml`
to your manifest repository.
You can use the Kubernetes Agent to
[
deploy GitLab Runner in a Kubernetes cluster
](
http://docs.gitlab.com/runner/install/kubernetes-agent.html
)
.
## Management interfaces
...
...
doc/user/clusters/agent/runner.md
View file @
47c27538
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment