Skip to content

Instantly share code, notes, and snippets.

@Krishna1408
Created November 18, 2019 12:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Krishna1408/efd26f70a9832a039b5ab65760d4bd53 to your computer and use it in GitHub Desktop.
Save Krishna1408/efd26f70a9832a039b5ab65760d4bd53 to your computer and use it in GitHub Desktop.
gitlabUrl: https://gitlab.com/
runnerRegistrationToken: "<your token>"
unregisterRunners: true
concurrent: 15
rbac:
create: true
clusterWideAccess: true
podAnnotations:
iam.amazonaws.com/role: <your kube2iam role>
resources:
limits:
memory: 256Mi
cpu: 200m
requests:
memory: 256Mi
cpu: 200m
envVars:
- name: KUBERNETES_POLL_TIMEOUT
value: 360
- name: KUBERNETES_POLL_INTERVAL
value: 5
runners:
privileged: true
cache:
cacheType: s3
cacheShared: true
s3ServerAddress: s3.amazonaws.com
s3BucketName: gitlab-runner-cache-bucket
s3BucketLocation: us-central-1
podAnnotations:
iam.amazonaws.com/role: <your kube2iam role>
nodeSelector:
k8s.io/nodegroup: nodes
builds:
cpuLimit: 2000m
memoryLimit: 4000Mi
cpuRequests: 500m
memoryRequests: 500Mi
services:
cpuLimit: 1500m
memoryLimit: 2000Mi
cpuRequests: 500m
memoryRequests: 256Mi
helpers:
cpuLimit: 250m
memoryLimit: 256Mi
cpuRequests: 250m
memoryRequests: 128Mi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment