Use octavia resources for autoscaling example
lbaasv2 is probably not actively maintained. Change-Id: Id11a47b5439f3bca05b536f15bec3e5fa92c9e56
This commit is contained in:
parent
0e0151c63e
commit
2b4eb5d9e3
@ -155,17 +155,17 @@ resources:
|
||||
- ''
|
||||
- - {'=': {server_group: {get_param: "OS::stack_id"}}}
|
||||
lb:
|
||||
type: OS::Neutron::LBaaS::LoadBalancer
|
||||
type: OS::Octavia::LoadBalancer
|
||||
properties:
|
||||
vip_subnet: {get_param: subnet_id}
|
||||
listener:
|
||||
type: OS::Neutron::LBaaS::Listener
|
||||
type: OS::Octavia::Listener
|
||||
properties:
|
||||
loadbalancer: {get_resource: lb}
|
||||
protocol: HTTP
|
||||
protocol_port: 80
|
||||
pool:
|
||||
type: OS::Neutron::LBaaS::Pool
|
||||
type: OS::Octavia::Pool
|
||||
properties:
|
||||
listener: {get_resource: listener}
|
||||
lb_algorithm: ROUND_ROBIN
|
||||
@ -173,7 +173,7 @@ resources:
|
||||
session_persistence:
|
||||
type: SOURCE_IP
|
||||
lb_monitor:
|
||||
type: OS::Neutron::LBaaS::HealthMonitor
|
||||
type: OS::Octavia::HealthMonitor
|
||||
properties:
|
||||
pool: { get_resource: pool }
|
||||
type: TCP
|
||||
|
@ -37,7 +37,7 @@ resources:
|
||||
user_data_format: RAW
|
||||
networks: [{network: {get_param: network} }]
|
||||
member:
|
||||
type: OS::Neutron::LBaaS::PoolMember
|
||||
type: OS::Octavia::PoolMember
|
||||
properties:
|
||||
pool: {get_param: pool_id}
|
||||
address: {get_attr: [server, first_address]}
|
||||
|
Loading…
Reference in New Issue
Block a user