更新 deployment/gitlab.yaml
This commit is contained in:
parent
8caf93393a
commit
40e294aee9
@ -53,4 +53,43 @@ data:
|
||||
namespace = "gitlab-runner"
|
||||
poll_timeout = 600
|
||||
cpu_request = "1"
|
||||
service_cpu_request = "200m"
|
||||
service_cpu_request = "200m"
|
||||
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: gitlab-runner
|
||||
namespace: gitlab-runner
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
name: gitlab-runner
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
name: gitlab-runner
|
||||
spec:
|
||||
serviceAccountName: gitlab-admin
|
||||
containers:
|
||||
- args:
|
||||
- run
|
||||
image: gitlab/gitlab-runner:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: gitlab-runner
|
||||
resources:
|
||||
requests:
|
||||
cpu: '100m'
|
||||
limits:
|
||||
cpu: '100m'
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /etc/gitlab-runner/config.toml
|
||||
readOnly: true
|
||||
subPath: config.toml
|
||||
volumes:
|
||||
- name: config
|
||||
configMap:
|
||||
name: gitlab-runner-config
|
||||
restartPolicy: Always
|
Loading…
x
Reference in New Issue
Block a user