Merge pull request #11559 from kdelee/pending_container_group_jobs_take2

Add resource requests to default podspec
This commit is contained in:
Elijah DeLee
2022-01-20 09:54:20 -05:00
committed by GitHub
3 changed files with 3 additions and 2 deletions

View File

@@ -71,7 +71,7 @@ IS_K8S = False
AWX_CONTAINER_GROUP_K8S_API_TIMEOUT = 10
AWX_CONTAINER_GROUP_DEFAULT_NAMESPACE = os.getenv('MY_POD_NAMESPACE', 'default')
# Timeout when waiting for pod to enter running state. If the pod is still in pending state , it will be terminated. Valid time units are "s", "m", "h". Example : "5m" , "10s".
AWX_CONTAINER_GROUP_POD_PENDING_TIMEOUT = "5m"
AWX_CONTAINER_GROUP_POD_PENDING_TIMEOUT = "2h"
# Internationalization
# https://docs.djangoproject.com/en/dev/topics/i18n/