Set resource limits for drone

This commit is contained in:
Nikolai Rodionov 2023-05-21 12:15:20 +02:00
parent 8d34662555
commit f3350105cb
No known key found for this signature in database
GPG Key ID: 19DB54039EBF8F10

View File

@ -1,12 +1,10 @@
---
env:
DRONE_CPU_QUOTA: 100
DRONE_MEMORY_LIMIT: 2000000000
DRONE_RPC_HOST: drone.badhouseplants.net
DRONE_RPC_PROTO: https
DRONE_NAMESPACE_DEFAULT: drone-service
DRONE_RESOURCE_LIMIT_CPU: 300
DRONE_RESOURCE_REQUEST_CPU: 100
DRONE_RESOURCE_LIMIT_MEMORY: 2048Mi
DRONE_RESOURCE_REQUEST_MEMORY: 512Mi
rbac:
buildNamespaces:
- drone-service