Skip to content

Instantly share code, notes, and snippets.

@Krishna1408
Last active November 18, 2019 12:57
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/9f2d4554229461af38dbf7b6dd575b0d to your computer and use it in GitHub Desktop.
Save Krishna1408/9f2d4554229461af38dbf7b6dd575b0d to your computer and use it in GitHub Desktop.
gitlabUrl: https://gitlab.com/
runnerRegistrationToken: "<your token>"
unregisterRunners: true
concurrent: 5
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:
tags: "special"
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: high-resources
builds:
cpuLimit: 4000m
memoryLimit: 16000Mi
cpuRequests: 1000m
memoryRequests: 4000Mi
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