Modify _audit_kubernetes_labels interval

The _audit_kubernetes_labels is responsible for syncing labels created
on a node before it's unlocked and is missing from kubernetes.

Increasing this audit interval to 180 seconds prevents it from being
called too many times, but still does not take a long time to sync
labels when a new node is unlocked.

TEST PLAN:
PASS: AIO-DX: manually replaced these files and no crashes happened.
PASS: rebuild the whole system the modification with no crashes.
PASS: AIO-DX: verify that the audit is being called called during the
period.
PASS: AIO-DX: follow the sysinv logs seeking errors. No error was
found.
PASS: AIO-DX: follow the sysinv logs to guaratee that the labels are
being synced.

Story: 2010087
Task: 45979

Signed-off-by: Caio Cesar Ferreira <Caio.CesarFerreira@windriver.com>
Change-Id: I8cc70345e758f9da9ab8e8b4d77354eae331fd6e
This commit is contained in:
Caio Cesar Ferreira
2022-08-10 11:52:02 -03:00
committed by Bruno Costa
parent 7129ef5421
commit 53d00bd4d0

View File

@@ -71,7 +71,7 @@ class sysinv (
controller_config_active_apply => 60,
upgrade_status => 60,
install_states => 60,
kubernetes_labels => 60,
kubernetes_labels => 180,
image_conversion => 60,
storage_backend_failure => 60,
k8s_application => 60,