chore: add resource requests/limits to workflows (#110)
have seen some contention on woodpecker jobs, because they are not being scheduled correctly. we need to set correct limits/requests so that they can be accurately scheduled. - set limits/requests for all workflows Reviewed-on: #110
This commit was merged in pull request #110.
This commit is contained in:
@@ -6,3 +6,13 @@ steps:
|
||||
image: git.unkin.net/unkin/almalinux9-kubetest:20260319
|
||||
commands:
|
||||
- make kubeconform
|
||||
backend_options:
|
||||
kubernetes:
|
||||
serviceAccountName: default
|
||||
resources:
|
||||
requests:
|
||||
memory: 512Mi
|
||||
cpu: 1
|
||||
limits:
|
||||
memory: 2Gi
|
||||
cpu: 2
|
||||
|
||||
@@ -6,3 +6,13 @@ steps:
|
||||
image: git.unkin.net/unkin/almalinux9-base:20260308
|
||||
commands:
|
||||
- uvx pre-commit run --all-files
|
||||
backend_options:
|
||||
kubernetes:
|
||||
serviceAccountName: default
|
||||
resources:
|
||||
requests:
|
||||
memory: 256Mi
|
||||
cpu: 250m
|
||||
limits:
|
||||
memory: 1Gi
|
||||
cpu: 1
|
||||
|
||||
Reference in New Issue
Block a user