From 7f8a565ea88b1058543fdbb2d1fb76d04c9cfebd Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Mon, 18 Nov 2019 11:09:52 -0800 Subject: [PATCH] Add Octavia anti-affinity parameters This patch adds the following parameter for Octavia: 1. OctaviaAntiAffinity The default value is 'true' as is a best practice for production deployments. Depends-On: https://review.opendev.org/694832 Change-Id: I1adb886405cde6b6e0b5f25a735e36114cd1787b --- deployment/octavia/octavia-base.yaml | 5 +++++ ...dd-octavia-anti-affinity-parameters-fe9222f17b16ee1f.yaml | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 releasenotes/notes/add-octavia-anti-affinity-parameters-fe9222f17b16ee1f.yaml diff --git a/deployment/octavia/octavia-base.yaml b/deployment/octavia/octavia-base.yaml index 6343470acd..efc6906b5a 100644 --- a/deployment/octavia/octavia-base.yaml +++ b/deployment/octavia/octavia-base.yaml @@ -193,6 +193,10 @@ parameters: description: When true, logs will not be stored on the amphora filesystem. This includes all kernel, system, and security logs. type: boolean + OctaviaAntiAffinity: + default: true + description: Flag to indicate if anti-affinity feature is turned on. + type: boolean conditions: service_debug_unset: {equals : [{get_param: OctaviaDebug}, '']} @@ -267,6 +271,7 @@ outputs: octavia::controller::user_log_facility: {get_param: OctaviaTenantLogFacility} octavia::controller::user_log_format: {get_param: OctaviaUserLogFormat} octavia::controller::disable_local_log_storage: {get_param: OctaviaDisableLocalLogStorage} + octavia::controller::enable_anti_affinity: {get_param: OctaviaAntiAffinity} - if: - octavia_topology_unset diff --git a/releasenotes/notes/add-octavia-anti-affinity-parameters-fe9222f17b16ee1f.yaml b/releasenotes/notes/add-octavia-anti-affinity-parameters-fe9222f17b16ee1f.yaml new file mode 100644 index 0000000000..4d76021e63 --- /dev/null +++ b/releasenotes/notes/add-octavia-anti-affinity-parameters-fe9222f17b16ee1f.yaml @@ -0,0 +1,4 @@ +--- +features: + - | + Added the Octavia anti-affinity parameters.