Uploaded image for project: 'Red Hat OpenShift Data Science'
  1. Red Hat OpenShift Data Science
  2. RHODS-7918

DSPipelines operator Pods should have better labels

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Normal Normal
    • None
    • RHODS_1.25.0_GA
    • Pipelines
    • 1
    • False
    • None
    • False
    • Testable
    • No
    • 1.27.0-24
    • No
    • No
    • Pending
    • None
    • ML Ops Sprint 1.27

      Description of problem:

      When looking at the data-science-pipelines-operator-controller-manager Deployment, I see that its Pods have only one label control-plane: controller-manager:

      kind: Deployment
      metadata:
        name: data-science-pipelines-operator-controller-manager
        namespace: redhat-ods-applications
      spec:
        ...
        selector:
          matchLabels:
            control-plane: controller-manager
        template:
          metadata:
            labels:
              control-plane: controller-manager
      

      the pods should have more labels, specifying which service it's providing.

       

      Disclaimer: this was reverted because it failed to upgrade fro 1.26 -> 1.27 in rhods, ensure that when we add this back in we account for a seamless upgrade.

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. <steps>

      Actual results:

      Expected results:

      Reproducibility (Always/Intermittent/Only Once):

      Build Details:

      Workaround:

      Additional info:

      see also https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/#labels

              rhn-support-ddalvi Dharmit Dalvi
              kpouget2 Kevin Pouget
              Jorge Garcia Oncins Jorge Garcia Oncins
              Jorge Garcia Oncins Jorge Garcia Oncins
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: