Target page:
http://docs.cloudscripting.com/creating-manifest/selecting-containers/
Reporter:
Comment:
Incorrect markdown highlighting?
Selected text:
Learn more on this parameter within the Custom Actions documentation page.
Note
Node selectors have higher priority than containers specified next to the action, but lower than parameters set in the actions object.
If you specify all three parameters (nodeId, nodeGroup, and nodeType), actions for indicated containers are executed in the following order: nodeId -> nodeGroup -> nodeType.
NodeGroup Aliases
An existed nodes in environments can be targeted not only
by their defined *nodeGroup*s and by aliases
. That aliases could be defined in manifests like in example:YAML
1
2
3
4
5
6
type: update
name: Alias for nodeGroup
nodeGroupAlias:
cp: sqldb2
onInstall:
log: ${nodes.sqldb2.id}
JSON