Uploaded image for project: 'Cost Management'
  1. Cost Management
  2. COST-2328

Document label inheritance for OpenShift labels

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • 2022Q4
    • None
    • None
    • None
    • False
    • False

      Summary

      OpenShift labels follow an inheritance pattern from node -> project -> pod. Key/value pairs from node labels and pod labels are inherited at the pod level when we summarize OpenShift data. This grants the ability to group OpenShift data on node or project level tags without having to specifically label pods in the OpenShift cluster. If a specific key already exists in the pod, then the value for that key in the pod will remain. We will not overwrite the value with the project or node value. The same applies from node to project. E.g. A pod has the "app" label with the value "cost", the project also has the "app" label, but with the value "cost-management". The cost value will remain because it is at the lowest level, the pod.

              rhn-support-junixon Justin Nixon
              aberglun@redhat.com Andrew Berglund (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: