Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-5740

Unnecessary reconciliations triggered for Service

XMLWordPrintable

    • False
    • False
    • undefined
    • Hide

      Install Kogito operator on OCP
      Create a simple basic KogitoRuntime:

      apiVersion: app.kiegroup.org/v1beta1
      kind: KogitoRuntime
      metadata:
        name: process-quarkus-example
      spec:
        image: 'quay.io/kiegroup/examples-process-quarkus-example-nightly:latest'
        replicas: 1
      

      Check Kogito operator log - you can see service related reconciliations like in the description.

      Show
      Install Kogito operator on OCP Create a simple basic KogitoRuntime: apiVersion: app.kiegroup.org/v1beta1 kind: KogitoRuntime metadata: name: process-quarkus-example spec: image: 'quay.io/kiegroup/examples-process-quarkus-example-nightly:latest' replicas: 1 Check Kogito operator log - you can see service related reconciliations like in the description.

      Kogito operator isn't able to properly compare Service resources, triggering unnecessary reconciliations when no change is needed:

      {"level":"info","ts":1629447092.6192625,"logger":"comparator","msg":"Objects are not equal","deployed":{"ports":[{"name":"http","protocol":"TCP","port":80,"targetPort":8080}],"selector":{"app":"process-quarkus-example"},"type":"ClusterIP","ipFamilies":["IPv4"],"ipFamilyPolicy":"SingleStack"},"requested":{"ports":[{"name":"http","protocol":"TCP","port":80,"targetPort":8080}],"selector":{"app":"process-quarkus-example"},"type":"ClusterIP"}}
      

              amgao@redhat.com Amy Gao (Inactive)
              ksuta Karel Suta
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: