brooklyn-docs/guide/yaml/example_yaml/vanilla-bash-netcat-cluster.yaml (11 lines of code) (raw):
name: Netcat Cluster Example
location: localhost
services:
- type: org.apache.brooklyn.entity.group.DynamicCluster
memberSpec:
$brooklyn:entitySpec:
type: netcat-example
message: hello from cluster member
netcat.port: 8000+
initialSize: 3
restartMode: parallel