-
Story
-
Resolution: Done
-
Normal
-
None
-
None
-
5
-
False
-
None
-
False
-
-
-
AppSvc Sprint 237, AppSvc Sprint 238
Owner: Architect:
Francesco Ilario
Story (Required)
As a Primaza Administrator, I would like to have ClusterEnvironment healthchecks so that I know if target clusters are reachable and well-configured
Background (Required)
As defined in the Primaza architecture document, we need to define healthchecks for ClusterEnvironments.
See epic for arch document link.
Glossary
See glossary in architecture document
Out of scope
- Reachability and Permission checks (they are implemented in
APPSVC-1272)
In Scope
- Perform a check on each worker cluster every x seconds.
Approach(Required)
Healthchecks should be implemented in Primaza's controller. If needed, we can move it later in a different application.
Check each worker cluster status in a timely fashion.
The amount of seconds to wait between checks should be retrieved from an environment variable, and defaulted to 600 seconds.
You can use concurrency to reduce time needed for checking all clusters, but it's not mandatory for now.
ClusterEnvironment status must be updated with respect to healthcheck result. Both status.state and status.conditions must be updated.
Demo requirements(Required)
A great demo would demonstrate healthchecks on clusters in different conditions. Clusters status should vary and healthchecks should show that.
Dependencies
Edge Case
NA
BDD Tests
You can find BDD Test specification for this story at in the Github Issue linked to this story
Acceptance Criteria
- Development
Primaza checks whether target cluster are reachable and well-configured in a time-based fashion
- QE
There are test cases for healthchecks result being displayed in ClusterEnvironment conditions
- Docs
The docs page about ClusterEnvironment is updated with Healthcheck description
Update architecture document with any changes while implementing
INVEST Checklist
Dependencies identified
Blockers noted and expected delivery timelines set
Design is implementable
Acceptance criteria agreed upon
Story estimated
Legend
Unknown
Verified
Unsatisfied
- depends on
-
APPSVC-1272 Implement ClusterEnvironment permissions check
- Closed