Last active
October 27, 2016 14:52
-
-
Save MattMencel/3b5000e7893e7174dcb20b45d35d5d51 to your computer and use it in GitHub Desktop.
configmap
This file contains hidden or 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
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: gitlab-runner | |
namespace: gitlab | |
data: | |
config-toml: | | |
concurrent = 4 | |
[[runners]] | |
name = "Kubernetes Runner" | |
url = "http://gitlabci/ci" | |
token = "..." | |
executor = "kubernetes" | |
[runners.kubernetes] | |
namespace = "gitlab" | |
privileged = true | |
cpus = "750m" | |
memory = "250m" | |
service_cpus = "1000m" | |
service_memory = "450m" | |
--- | |
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: gitlab-runner | |
namespace: gitlab | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
name: gitlab-runner | |
template: | |
metadata: | |
labels: | |
name: gitlab-runner | |
spec: | |
containers: | |
- args: | |
- run | |
image: gitlab/gitlab-runner:alpine | |
imagePullPolicy: Always | |
name: gitlab-runner | |
volumeMounts: | |
- mountPath: /etc/gitlab-runner | |
name: config | |
- mountPath: /etc/ssl/certs | |
name: cacerts | |
readOnly: true | |
restartPolicy: Always | |
volumes: | |
- name: config | |
configMap: | |
name: gitlab-runner | |
- name: cacerts | |
hostPath: | |
path: /usr/share/ca-certificates/mozilla |
This file contains hidden or 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
ERROR: Runner https://gitlab/ci/TOKEN is not healthy and will be disabled! | |
Configuration loaded builds=0 | |
ERROR: Checking for builds... forbidden runner=DisPyk1z | |
ERROR: Checking for builds... forbidden runner=DisPyk1z | |
ERROR: Checking for builds... forbidden runner=DisPyk1z | |
ERROR: Runner https://gitlab/ci/TOKEN is not healthy and will be disabled! | |
Configuration loaded builds=0 | |
ERROR: Checking for builds... forbidden runner=DisPyk1z | |
ERROR: Checking for builds... forbidden runner=DisPyk1z | |
ERROR: Checking for builds... forbidden runner=DisPyk1z | |
ERROR: Runner https://gitlab/ci/TOKEN is not healthy and will be disabled! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment