-
-
Save anonymous/3c8173749ba9aed7ab96 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
{ | |
"DOCUMENT": { | |
"NAME": "my_service", | |
"TEMPLATE": { | |
"BODY": { | |
"description": "", | |
"custom_attrs": { | |
"INTERNAL_NET": "M|vnet_id|Private Network", | |
"PUBLIC_NET": "M|vnet_id|Public Network" | |
}, | |
"ready_status_gate": true, | |
"shutdown_action": "shutdown-hard", | |
"roles": [ | |
{ | |
"vm_template_contents": "NIC=[NETWORK_ID=\"$INTERNAL_NET\"]\nNIC=[NETWORK_ID=\"$PUBLIC_NET\"]\n", | |
"cardinality": 1, | |
"vm_template": 0, | |
"elasticity_policies": [ | |
], | |
"name": "frontend", | |
"scheduled_policies": [ | |
] | |
}, | |
{ | |
"vm_template_contents": "NIC=[NETWORK_ID=\"$INTERNAL_NET\"]\n", | |
"cardinality": 2, | |
"parents": [ | |
"frontend" | |
], | |
"vm_template": 0, | |
"elasticity_policies": [ | |
], | |
"name": "worker", | |
"scheduled_policies": [ | |
] | |
} | |
], | |
"deployment": "straight", | |
"name": "my_service" | |
} | |
}, | |
"GNAME": "oneadmin", | |
"GID": "0", | |
"TYPE": "101", | |
"UNAME": "oneadmin", | |
"PERMISSIONS": { | |
"OTHER_A": "0", | |
"OTHER_M": "0", | |
"OTHER_U": "0", | |
"OWNER_A": "0", | |
"OWNER_M": "1", | |
"OWNER_U": "1", | |
"GROUP_A": "0", | |
"GROUP_M": "0", | |
"GROUP_U": "0" | |
}, | |
"UID": "0", | |
"ID": "0" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment