Created
August 21, 2022 08:11
-
-
Save Adityanagraj/0f3c51c372d18331a3ed64448807cb08 to your computer and use it in GitHub Desktop.
this gist consists of gitlab installation in k8 cluster
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gitlabUrl: <your gitlab URL> | |
runnerRegistrationToken: <your runner secret> | |
rbac: | |
create: True | |
clusterWideAccess: true | |
# runners: | |
# image: ubuntu:18.04 | |
# privileged: true | |
runners: | |
privileged: true | |
tags: "test" | |
name: "k8-runner" | |
config: | | |
[[runners]] | |
name = "k8-runner" | |
tag-list = ["test", "k8"] | |
executor = "kubernetes" | |
[runners.kubernetes] | |
namespace = "default" | |
image = "ubuntu:18.04" | |
[[runners.kubernetes.volumes.host_path]] | |
name = "docker" | |
mount_path = "/var/run/docker.sock" | |
resources: | |
limits: | |
memory: 2Gi | |
cpu: 1 | |
requests: | |
memory: 1Gi | |
cpu: 500m | |
nodeSelector: | |
cloud.google.com/gke-nodepool: <your nodepool name> | |
tags: ["test", "k8"] | |
concurrent: 10 | |
terminationGracePeriodSeconds: 3600 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment