oEscal commented on issue #4051:
URL: 
https://github.com/apache/incubator-kie-kogito-runtimes/issues/4051#issuecomment-3249813459

   Kubernetes objects for reproducibility:
   - `kubernetes.yaml`:
   ```
   apiVersion: v1
   kind: Namespace
   metadata:
     name: test-parallel-problem
   ---
   apiVersion: serving.knative.dev/v1
   kind: Service
   metadata:
     name: entry-point
     namespace: test-parallel-problem
   spec:
     template: 
       spec:
         containers:
           - image: ghcr.io/oescal/test-parallel-problem/entry-point
   ---
   apiVersion: serving.knative.dev/v1
   kind: Service
   metadata:
     name: function-a
     namespace: test-parallel-problem
     labels:
       networking.knative.dev/visibility: cluster-local
   spec:
     template:
       spec:
         containers:
           - image: ghcr.io/oescal/test-parallel-problem/function
   ---
   apiVersion: serving.knative.dev/v1
   kind: Service
   metadata:
     name: function-b
     namespace: test-parallel-problem
     labels:
       networking.knative.dev/visibility: cluster-local
   spec:
     template: 
       spec:
         containers:
           - image: ghcr.io/oescal/test-parallel-problem/function
   ---
   apiVersion: serving.knative.dev/v1
   kind: Service
   metadata:
     name: function-c
     namespace: test-parallel-problem
     labels:
       networking.knative.dev/visibility: cluster-local
   spec:
     template:
       spec:
         containers:
           - image: ghcr.io/oescal/test-parallel-problem/function
   ---
   apiVersion: sources.knative.dev/v1
   kind: SinkBinding
   metadata:
     generation: 1
     name: bind-entry-point
     namespace: test-parallel-problem
   spec:
     sink: 
       ref:
         apiVersion: eventing.knative.dev/v1
         kind: Broker
         name: broker
         namespace: test-parallel-problem
     subject:
       apiVersion: serving.knative.dev/v1
       kind: Service
       name: entry-point
       namespace: test-parallel-problem
   ```
   
   - `knative.yml`:
   ```
   ---
   apiVersion: v1
   kind: ServiceAccount
   metadata:
     annotations:
       app.quarkus.io/quarkus-version: 3.8.4
       app.quarkus.io/commit-id: 5381217edafaa3e6016ac5411ae8ab203fe98662
       app.quarkus.io/build-timestamp: 2025-05-14 - 13:25:57 +0000
     labels:
       app.kubernetes.io/version: 1.0.0-SNAPSHOT
       app.kubernetes.io/name: workflow
     name: workflow
     namespace: test-parallel-problem
   ---
   apiVersion: rbac.authorization.k8s.io/v1
   kind: RoleBinding
   metadata:
     name: workflow-view
     namespace: test-parallel-problem
   roleRef:
     kind: ClusterRole
     apiGroup: rbac.authorization.k8s.io
     name: view
   subjects:
     - kind: ServiceAccount
       name: workflow
       namespace: test-parallel-problem
   ---
   apiVersion: serving.knative.dev/v1
   kind: Service
   metadata:
     annotations:
       app.quarkus.io/quarkus-version: 3.8.4
       app.quarkus.io/commit-id: 5381217edafaa3e6016ac5411ae8ab203fe98662
       app.quarkus.io/build-timestamp: 2025-05-14 - 13:25:57 +0000
     labels:
       app.kubernetes.io/version: 1.0.0-SNAPSHOT
       app.kubernetes.io/name: workflow
     name: workflow
     namespace: test-parallel-problem
   spec:
     template:
       spec:
         serviceAccountName: workflow
         containers:
           - image: ghcr.io/oescal/test-parallel-problem/workflow:latest
             imagePullPolicy: Always
             name: workflow
             ports:
               - containerPort: 8080
                 name: http1
                 protocol: TCP
   ```
   
   - `kogito.yml`:
   ```
   ---
   apiVersion: eventing.knative.dev/v1
   kind: Trigger
   metadata:
     name: http-request-received-trigger-workflow
     namespace: test-parallel-problem
   spec:
     broker: broker
     filter:
       attributes:
         type: http.request.received
     subscriber:
       ref:
         apiVersion: serving.knative.dev/v1
         kind: Service
         name: workflow
   ---
   apiVersion: eventing.knative.dev/v1
   kind: Broker
   metadata:
     annotations:
       eventing.knative.dev/broker.class: Kafka
     name: broker
     namespace: test-parallel-problem
   spec:
     config:
       apiVersion: v1
       kind: ConfigMap
       name: kafka-broker-config
       namespace: knative-eventing
   
   ```
   
   All container images can be publicly accessed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to