400cf85990
The flavors for Master and Worker node groups is now configured separatelly in both scenarios and context. This allows setting up better balanced clusters when a Master node may require a bigger flavor than workers. This is almost always a requirement for plugins like CDH or HDP. Change-Id: I78f4145fecb327dae06ead02bd1aa85e2ba2b79a
36 lines
966 B
YAML
36 lines
966 B
YAML
{%- set sahara_service_type = "data-processing" %}
|
|
---
|
|
|
|
SaharaClusters.create_and_delete_cluster:
|
|
-
|
|
args:
|
|
master_flavor:
|
|
name: "m1.small"
|
|
worker_flavor:
|
|
name: "m1.small"
|
|
workers_count: 1
|
|
plugin_name: "vanilla"
|
|
hadoop_version: "{{sahara_hadoop_version}}"
|
|
auto_security_group: True
|
|
runner:
|
|
type: "constant"
|
|
times: 1
|
|
concurrency: 1
|
|
timeout: 3000
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
sahara_image:
|
|
image_url: "http://sahara-files.mirantis.com/images/upstream/liberty/sahara-liberty-vanilla-2.7.1-ubuntu-14.04.qcow2"
|
|
username: "ubuntu"
|
|
plugin_name: "vanilla"
|
|
hadoop_version: "{{sahara_hadoop_version}}"
|
|
api_versions:
|
|
sahara:
|
|
service_type: {{sahara_service_type}}
|
|
network: {}
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|