Created
November 12, 2012 11:24
-
-
Save yaronp68/4058818 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service { | |
name "groovy" | |
type "WEB_SERVER" | |
elastic true | |
numInstances 2 | |
maxAllowedInstances 2 | |
// define SLA requirements for each service instance with regards to isolation from other services | |
// if this is not defined - defaults to dedicated mode. which means each service instance is insalled on a dedicated VM. | |
isolationSLA { | |
global { // global - meaning each service instance can be installed on any VM that answer the requirements below. | |
// allowing services to share VM's. Note: VM's running management process are not included. | |
instanceCpuCores 0 // no CPU requirements, this way instances can be installed on the same VM even if it has just one CPU(can also define 0.5 CPU requirements and so on...) | |
instanceMemoryMB 128 // each instance needs 128MB to be allocated for him on the VM. | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment