-
Feature
-
Resolution: Done
-
Blocker
-
None
For context see ENTESB-14348
Metering labels are product only and should not be present on upstream.
Metering labels should be set on pods representing the workloads that may consume cpu/memory resources.
Althoug we use the pod to represent the workload, the correct place to set the labels are in the Deployment objects.
The metering labels should contain the following labels:
com.company: Red_Hat # company name rht.prod_name: Red_Hat_Integration # main product name rht.prod_ver: 2021.Q4 # product version rht.comp: Camel-K # Component name rht.comp_ver: 1.6.0 # Component version rht.subcomp: <integration name> # Subcomponent name rht.subcomp_t: infrastructure OR application # sub component type (1)
1. "infrastructure" are set to pods running infrastructure code, for example building the app, operator for managing all the camel-k pieces. "application" is for the pods actually running the customer workloads, the integration pods.
These are the proposed labels for the various Camel K workload components:
Integrations
com.company: Red_Hat
rht.prod_name: Red_Hat_Integration
rht.prod_ver: 2021.Q4
rht.comp: Camel-K
rht.comp_ver: 1.6.0
rht.subcomp: <integration name>
rht.subcomp_t: application
Camel K Operator
com.company: Red_Hat
rht.prod_name: Red_Hat_Integration
rht.prod_ver: 2021.Q4
rht.comp: Camel-K
rht.comp_ver: 1.6.0
rht.subcomp: camel-k-operator
rht.subcomp_t: infrastructure
Camel K Building Kit
com.company: Red_Hat
rht.prod_name: Red_Hat_Integration
rht.prod_ver: 2021.Q4
rht.comp: Camel-K
rht.comp_ver: 1.6.0
rht.subcomp: camel-k-kit-<id>
rht.subcomp_t: infrastructure
CronJob Integration
com.company: Red_Hat
rht.prod_name: Red_Hat_Integration
rht.prod_ver: 2021.Q4
rht.comp: Camel-K
rht.comp_ver: 1.6.0
rht.subcomp: cron-<id>
rht.subcomp_t: application
There are more components, to be added later.
- is related to
-
ENTESB-17389 Add metering labels to productization CI jobs
- Resolved
- relates to
-
ENTESB-17351 Camel K rhi_version parameter for version-metadata.sh
- Resolved
-
ENTESB-14348 Metering in Fuse 7.x
- Closed
-
ENTESB-18290 Metering labels for build pods
- Closed
-
ENTESB-18045 Define metering labels for build pods (workaround)
- Closed
- mentioned on