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