[autoscaler] Add a 'request_cores' function for manual autoscaling (#4754)

This commit is contained in:
Daniel Edgecumbe
2019-07-26 17:14:45 -07:00
committed by Richard Liaw
parent d9e81da3b8
commit 06fec63c87
5 changed files with 137 additions and 11 deletions
+2
View File
@@ -125,3 +125,5 @@ LOG_MONITOR_MAX_OPEN_FILES = 200
# A constant used as object metadata to indicate the object is raw binary.
RAW_BUFFER_METADATA = b"RAW"
AUTOSCALER_RESOURCE_REQUEST_CHANNEL = b"autoscaler_resource_request"