New alarm 850.002 - used when k8s cluster is unreachable

Configuring new alarm 850.002 which will be used when K8s
periodic audit happens and any of the endpoint health check
fails.

Test Plan:
PASS: Performed tox test locally and packages were built
      successfully
PASS: Verify that k8s orchestrated upgrade will get blocked,
      if it is tried while alarm is set. And k8s orchestrated
      upgrade will complete, if it is tried when alarm is
      cleared.

Story: 2011037
Task: 49535

Change-Id: I335179ea98ef63d7c35c89d82328a52ab2391f5c
Signed-off-by: rakshith mr <rakshith.mr@windriver.com>
This commit is contained in:
rakshith mr 2024-01-29 08:20:34 -05:00 committed by Rakshith M R
parent 1684514c79
commit df3fffe426
2 changed files with 20 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2013-2023 Wind River Systems, Inc.
# Copyright (c) 2013-2024 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
@ -114,6 +114,7 @@ FM_ALARM_ID_STORAGE_BACKEND_FAILED = ALARM_GROUP_STORAGE + ".104"
# Kubernetes Resource Alarms
FM_ALARM_ID_K8S_RESOURCE_PV = ALARM_GROUP_K8S + ".001"
FM_ALARM_ID_K8S_CLUSTER_DOWN = ALARM_GROUP_K8S + ".002"
# Deployment Alarm id

View File

@ -1,7 +1,7 @@
---
#
# Copyright (c) 2013-2023 Wind River Systems, Inc.
# Copyright (c) 2013-2024 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
@ -3431,6 +3431,23 @@
Degrade_Affecting_Severity: none
Context: none
850.002:
Type: Alarm
Description: Kubernetes cluster unreachable
Entity_Instance_ID: kubernetes=k8s-health-check-failed
Severity: major
Proposed_Repair_Action: "If problem persists
contact next level of support."
Maintenance_Action:
Inhibit_Alarms:
Alarm_Type: communication
Probable_Cause: out-of-service
Service_Affecting: True
Suppression: False
Management_Affecting_Severity: major
Degrade_Affecting_Severity: none
Context: none
#---------------------------------------------------------------------------
# SOFTWARE
#---------------------------------------------------------------------------