Closed
Description
Currently we have Gslb Status content as shown in example below:
status:
healthyRecords:
app3.cloud.example.com:
- 172.17.0.4
- 172.17.0.5
- 172.17.0.6
managedHosts:
- app1.cloud.example.com
- app2.cloud.example.com
- app3.cloud.example.com
serviceHealth:
app1.cloud.example.com: NotFound
app2.cloud.example.com: Unhealthy
app3.cloud.example.com: Healthy
It is easily visible that we have duplication between the managedHosts
and serviceHealth
It happened historically during development of the project. Initially serviceHealth
looked like
serviceHealth:
unhealthyServiceName: NotFound
backend: Unhealthy
frontend: Healthy
so basically referenced serviceName
that is referenced in associated gslb ingress.
Later on it was changed to ingressHost:Status
as it became apparent that it is practical to have them in a single data structure.
So some questions to discuss:
- Do we need
serviceName
exposed somewhere inStatus
? - If yes - should we extend
serviceHealth
or place it somewhere else ? - Easiest scenario - we just remove
managedHosts
Activity