mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 07:57:13 +02:00
Add SetNumInstancesCommand in Nomulus tool to adjust the number of instances
for a given service and version at runtime. Note that this CL only supports the adjustment for a given service and version. I will add another functionality to let this command be able to detect all non-live versions automatically and apply the adjustment. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=221092001
This commit is contained in:
parent
557984bb75
commit
66d98c8d66
7 changed files with 216 additions and 0 deletions
|
@ -37,4 +37,7 @@ public interface AppEngineServiceUtils {
|
|||
|
||||
/** Returns a host name to use for the given service and version. */
|
||||
String getVersionHostname(String service, String version);
|
||||
|
||||
/** Set the number of instances at runtime for a given service and version. */
|
||||
void setNumInstances(String service, String version, long numInstances);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue