Uploaded image for project: 'Knative Serving'
  1. Knative Serving
  2. SRVKS-1313

Labels are not propagated to k8s Service on update events

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • 1.38.0
    • 1.35.0, 1.38.0
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      Per the support case: https://access.redhat.com/support/cases/#/case/04138282

      This seems like a bug in propagating the labels upon updates.

      When a custom label is added to a Knative Service, it is propagated immediately though to the corresponding Knative Route but not immediately to the corresponding k8s Service which points to the Kourier ingress service at kourier-internal.knative-serving-ingress.svc.cluster.local:80.

      For the label to be applied to the k8s Service it has to be deleted, then when it is automatically recreated it has the label applied.

      Steps to reproduce:

      1. Create a Knative Service
      2. Edit the Knative Service so that it has a custom label
      3. Observe that the label has been applied to the corresponding Knative Route
      4. Observe the label has not been applied to the k8s Service which points to the Kourier ingress service
      5. Delete the k8s Service which points to the Kourier ingress service
      6. Observe that the k8s Service is recreated with the label applied

      Describe the impact to you or the business
      Unable to add or make changes to custom labelling in k8s Service

      In what environment are you experiencing this behavior?
      All environment

      How frequently does this behavior occur? Does it occur repeatedly or at certain times?
      Repeatable issue

              dsimansk@redhat.com David Simansky
              dsimansk@redhat.com David Simansky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: