Files
rally-openstack/samples/tasks/contexts/cluster-templates.yaml
Andriy Kurilin c3c6de9804 Port all samples to task format v2
Signed-off-by: Andriy Kurilin <andr.kurilin@gmail.com>
Change-Id: Id9d1c0cd8f2cbc34d22f861af7c2297899aa4e4e
2025-09-17 13:15:29 +02:00

68 lines
1.9 KiB
YAML

---
version: 2
title: "Task template with cluster templates context"
description: "This sample demonstrates the usage of cluster templates context for setting up Magnum cluster templates with different COE types."
subtasks:
- title: "Test with Kubernetes cluster template"
workloads:
- scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 1
concurrency: 1
contexts:
users:
tenants: 1
users_per_tenant: 1
cluster_templates:
image_id: "fedora-atomic-latest"
external_network_id: "public"
dns_nameserver: "8.8.8.8"
flavor_id: "m1.small"
docker_volume_size: 5
network_driver: "flannel"
coe: "kubernetes"
- title: "Test with Swarm cluster template"
workloads:
- scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 1
concurrency: 1
contexts:
users:
tenants: 1
users_per_tenant: 1
cluster_templates:
image_id: "fedora-atomic-latest"
external_network_id: "public"
dns_nameserver: "8.8.8.8"
flavor_id: "m1.small"
docker_volume_size: 5
network_driver: "docker"
coe: "swarm"
- title: "Test with Mesos cluster template"
workloads:
- scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 1
concurrency: 1
contexts:
users:
tenants: 1
users_per_tenant: 1
cluster_templates:
image_id: "ubuntu-mesos"
external_network_id: "public"
dns_nameserver: "8.8.8.8"
flavor_id: "m1.small"
network_driver: "docker"
coe: "mesos"