adding resource limts
This commit is contained in:
@@ -81,6 +81,13 @@ spec:
|
|||||||
- name: gitea-runner
|
- name: gitea-runner
|
||||||
image: gitea/act_runner:latest
|
image: gitea/act_runner:latest
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: "500m"
|
||||||
|
memory: "512Mi"
|
||||||
|
limits:
|
||||||
|
cpu: "4000m"
|
||||||
|
memory: "4Gi"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config-volume
|
- name: config-volume
|
||||||
mountPath: /etc/gitea-runner/config.yaml
|
mountPath: /etc/gitea-runner/config.yaml
|
||||||
@@ -141,6 +148,13 @@ spec:
|
|||||||
- name: gitea-runner
|
- name: gitea-runner
|
||||||
image: gitea/act_runner:latest
|
image: gitea/act_runner:latest
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: "500m"
|
||||||
|
memory: "512Mi"
|
||||||
|
limits:
|
||||||
|
cpu: "4000m"
|
||||||
|
memory: "4Gi"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config-volume
|
- name: config-volume
|
||||||
mountPath: /etc/gitea-runner/config.yaml
|
mountPath: /etc/gitea-runner/config.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user