gitea-runner: ram scratch space
This commit is contained in:
@@ -29,8 +29,9 @@ data:
|
|||||||
network: "host"
|
network: "host"
|
||||||
privileged: false
|
privileged: false
|
||||||
options:
|
options:
|
||||||
workdir_parent:
|
workdir_parent: /scratch
|
||||||
valid_volumes: []
|
valid_volumes:
|
||||||
|
- /scratch/**
|
||||||
docker_host: ""
|
docker_host: ""
|
||||||
force_pull: true
|
force_pull: true
|
||||||
force_rebuild: false
|
force_rebuild: false
|
||||||
|
|||||||
@@ -61,11 +61,17 @@ spec:
|
|||||||
mountPath: /config
|
mountPath: /config
|
||||||
- name: runner-data
|
- name: runner-data
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
|
- name: runner-scratch
|
||||||
|
mountPath: /scratch
|
||||||
dnsPolicy: ClusterFirst
|
dnsPolicy: ClusterFirst
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
schedulerName: default-scheduler
|
schedulerName: default-scheduler
|
||||||
terminationGracePeriodSeconds: 30
|
terminationGracePeriodSeconds: 30
|
||||||
volumes:
|
volumes:
|
||||||
|
- name: runner-scratch
|
||||||
|
emptyDir:
|
||||||
|
medium: Memory
|
||||||
|
sizeLimit: 5Gi
|
||||||
- name: runner-config
|
- name: runner-config
|
||||||
configMap:
|
configMap:
|
||||||
name: runner-config
|
name: runner-config
|
||||||
|
|||||||
Reference in New Issue
Block a user