-
Story
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
-
False
-
-
False
-
Unset
-
No
-
-
Swatch tried to update the top level metadata.label value in a clowdapp.yaml, and it resulted in this reconciliation error.
{"level":"error","ts":1705692365.384922,"msg":"Reconciler error","controller":"clowdapp","controllerGroup":"cloud.redhat.com","controllerKind":"ClowdApp","ClowdApp":
,"namespace":"rhsm-stage","name":"swatch-metrics-rhel","reconcileID":"23c6d526-fddf-41d0-abe9-d41f631f087c","error":"error updating resource Deployment swatch-metrics-rhel-service: Deployment.apps \"swatch-metrics-rhel-service\" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{\"app\":\"swatch-me…
We want to be able to define labels directly on a pod, but Clowder doesn't consider it when you put it there, resulting in this warning.
Warning: unknown field "spec.deployments[0].metadata.labels"
This line is the suspected problem because we don't have separate places to define labels.
See this slack thread for more details and discussion.
- blocks
-
SWATCH-2134 Update pod selectors in ClowdApp/swatch-metrics definition to expose prometheus data
- Closed
- relates to
-
SWATCH-2091 Update Quarkus services to expose metrics in localhost:9000/metrics
- Closed
-
SWATCH-2192 Fix exposing metrics of the swatch-metrics
- Closed