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:
parent
b06de8f2f3
commit
02ea53c27d
@ -276,6 +276,7 @@ resources:
|
||||
fixed_ips:
|
||||
- subnet_id:
|
||||
get_resource: fixed_subnet
|
||||
replacement_policy: AUTO
|
||||
|
||||
kube_master_floating:
|
||||
type: "OS::Neutron::FloatingIP"
|
||||
|
@ -193,6 +193,7 @@ resources:
|
||||
fixed_ips:
|
||||
- subnet_id:
|
||||
get_param: fixed_subnet_id
|
||||
replacement_policy: AUTO
|
||||
|
||||
kube_node_floating:
|
||||
type: "OS::Neutron::FloatingIP"
|
||||
|
Loading…
x
Reference in New Issue
Block a user