-
Bug
-
Resolution: Cannot Reproduce
-
Normal
-
Logging 5.5.0
-
False
-
None
-
False
-
NEW
-
NEW
-
Log Collection - Sprint 222
Cluster version: 4.9
Logging version: 5.5
Steps to reproduce:
1. Install CLO and EO
2. Create Clusterlogging instance with Fluentd
3. Create application for logs with below labels:
"labels": { "run": "centos-logtest", "test": "centos-logtest", "app.kubernetes.io/name": "test", "app.kubernetes.io/instance": "functionaltest", "app.kubernetes.io/version": "123", "app.kubernetes.io/component": "thecomponent", "app.kubernetes.io/part-of": "clusterlogging", "app.kubernetes.io/managed-by": "clusterloggingoperator", "app.kubernetes.io/created-by": "anoperator" }
Actual: Seeing below output for non-elasticsearch output type:
"labels": { "app.kubernetes.io/managed-by": "clusterloggingoperator", "app.kubernetes.io/name": "test", "app.kubernetes.io/part-of": "clusterlogging", "app.kubernetes.io/created-by": "anoperator", "app.kubernetes.io/instance": "functionaltest", "app.kubernetes.io/version": "123", "app.kubernetes.io/component": "thecomponent" }, "flat_labels": [ "app.kubernetes.io/component=thecomponent", "app.kubernetes.io/created-by=anoperator", "app.kubernetes.io/instance=functionaltest", "app.kubernetes.io/managed-by=clusterloggingoperator", "app.kubernetes.io/name=test", "app.kubernetes.io/part-of=clusterlogging", "app.kubernetes.io/version=123" ]
Expected:
- all labels are included in "kubernetes.labels" for non-Elasticsearch output types
- "kubernetes.flatten_labels" with all labels exists for all output types
- is related to
-
LOG-2388 Preserve k8s Common Labels
- Closed