Set port replacement_policy to AUTO

The default replacement_policy is REPLACE_ALWAYS, which means a stack update
will always replace the port regardless of any property changes. As a result,
all the VMs of the kubecluster will be replaced, which is undesired.
This commit is contained in:
Hongbin Lu 2015-02-10 02:49:12 +00:00
parent b06de8f2f3
commit 02ea53c27d
2 changed files with 2 additions and 0 deletions

View File

@ -276,6 +276,7 @@ resources:
fixed_ips:
- subnet_id:
get_resource: fixed_subnet
replacement_policy: AUTO
kube_master_floating:
type: "OS::Neutron::FloatingIP"

View File

@ -193,6 +193,7 @@ resources:
fixed_ips:
- subnet_id:
get_param: fixed_subnet_id
replacement_policy: AUTO
kube_node_floating:
type: "OS::Neutron::FloatingIP"