Last active
August 29, 2015 14:24
-
-
Save pratikmallya/77d3abf6d9be4dd1dd18 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heat_template_version: 2013-05-23 | |
resources: | |
rg: | |
type: OS::Heat::ResourceGroup | |
properties: | |
count: 3 | |
resource_def: {type: "https://raw.githubusercontent.com/rackspace-orchestration-templates/lamp/master/lamp.yaml"} | |
load_balancer: | |
type: Rackspace::Cloud::LoadBalancer | |
properties: | |
port: 80 | |
protocol: HTTP | |
algorithm: "LEAST_CONNECTIONS" | |
virtualIps: | |
- type: PUBLIC | |
ipVersion: IPV4 | |
nodes: | |
- addresses: { get_attr: [rg, server_ip] } | |
port: 80 | |
condition: ENABLED | |
healthMonitor: | |
attemptsBeforeDeactivation: 3 | |
delay: 1 | |
timeout: 30 | |
type: HTTP | |
path: "/" | |
statusRegex: "." | |
bodyRegex: "." | |
outputs: | |
service_ips: | |
description: Node Service IPs | |
value: { get_attr: [rg, server_ip] } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment