cluster/machines¶
Machines in this cluster
For v4.8 Cluster Pattern, this defines a map of machine types and their names. Each type can have additional parameters.
The purpose of this map is to uniquely identify the machines and allows the machines to be rotated in a controlled way.
If omitted the following items will be set via the designated Param:
pipeline: sets the initial pipeline or assigns frombroker/set-pipeline[has safe default]workflow: set the initial workflow or assigns frombroker/set-workflow[has safe default]icon: sets the initial Meta.icon or assigns frombroker/set-icon[has safe default]color: sets the initial Meta.color or assigns frombroker/set-color[has safe default]tags: [] but automatically includes cluster/profilemeta: meta data to set on the machine bycluster-add-params, if Meta.icon or Meta.color is set, it will over-write the icon/color.Params: (note capitalization!): parameters to use in Terraform templates. Also set on machine duringcluster-add-paramsProfiles: (note capitalization!): profiles to add to machine. Set on machine duringcluster-add-params
While most of these values are used only during terraform-apply when building machines,
meta, Params, and Profiles are used during cluster-add-params to update Meta and Params of the
provisioned machines.
Example:
machine:
names:
- cl_awesome_1
- cl_awesome_2
- cl_awesome_3
Params:
broker/set-workflow: universal-application-application-base
broker/set-pipeline: universal-start
broker/set-icon: server
broker/set-color: black
Profiles:
- my-cluster-profile
Objects that Reference cluster/machines¶
- templates cloud-provision-machines.tf.tmpl in Cloud Wrappers as part of Contents (used)
- templates terraform-apply.sh.tmpl in Core Task Library as part of Contents (used)
- templates cluster-provision.sh.tmpl in Core Task Library as part of Contents (used)
- templates terraform-tf.vars.tmpl in Core Task Library as part of Contents (used)
- templates cluster-ansible-playbook.tmpl in Core Task Library as part of Contents (used)
- tasks cluster-add-params in Core Task Library as part of Templates.[0].Contents (used)
- tasks broker-pool-manipulate in Core Task Library as part of Templates.[0].Contents (used)
- tasks broker-context-manipulate in Core Task Library as part of Templates.[0].Contents (used)
- profiles drp-ha-server in Universal Workflow Content as part of Params (declared)
- profiles drp-single-server in Universal Workflow Content as part of Params (declared)
- profiles universal-application-multi-site-manager-demo-cluster in Universal Workflow Content as part of Params (declared)
Objects used by cluster/machines¶
Not used in current content packs