mirror of
https://github.com/ansible/awx.git
synced 2026-05-11 11:27:36 -02:30
Add resource requests to default podspec
Extend the timeout, assuming that we want to let the kubernetes scheduler start containers when it wants to start them. This allows us to make resource requests knowing that when some jobs queue up waiting for resources, they will not get reaped in as short of a timeout.
This commit is contained in:
@@ -38,6 +38,7 @@ def get_default_pod_spec():
|
||||
"image": ee.image,
|
||||
"name": 'worker',
|
||||
"args": ['ansible-runner', 'worker', '--private-data-dir=/runner'],
|
||||
"resources": {"requests": {"cpu": "250m", "memory": "100Mi"}},
|
||||
}
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user