camel-k
camel-k copied to clipboard
Simple KameletBinding created with Errors
In Camel-k 1.8.2/1.9.2 on Openshift when I try to create a simple KameletBinding it is created unsuccessfully and keeps respawning pods with errors, this looks some kind of a race condition (it is inconsistently happening - sometimes it happens all the time and sometimes it doesnt happen at all) The Kamelet I am using as the source is a clone of the Webhook Source Kamelet
The KameletBinding:
apiVersion: camel.apache.org/v1alpha1
kind: KameletBinding
metadata:
name: auto-remediation-platform
annotations:
trait.camel.apache.org/logging.level: DEBUG
trait.camel.apache.org/logging.color: "false"
spec:
source:
ref:
apiVersion: camel.apache.org/v1alpha1
kind: Kamelet
name: auto-remediation-entrypoint
sink:
ref:
kind: Broker
apiVersion: eventing.knative.dev/v1
name: default
The Kamelet:
apiVersion: camel.apache.org/v1alpha1
kind: Kamelet
metadata:
name: auto-remediation-entrypoint
annotations:
camel.apache.org/kamelet.group: "Webhook"
labels:
camel.apache.org/kamelet.type: "source"
spec:
definition:
title: "Webhook Source"
description: |-
Test
type: object
properties:
subpath:
title: Subpath
description: |
The subpath where the webhook is registered
type: string
default: "webhook"
dependencies:
- "camel:platform-http"
- "camel:kamelet"
template:
from:
uri: "platform-http:///{{subpath}}"
steps:
- to: "kamelet:sink"
Steps to reproduce:
- Create a new project**(Important)**
- Install serverless-operator.v1.22.0
- Install Camel K operator 1.8.2
- Create knative default broker
- Create the Kamelet
- Create the KameletBinding
Attached Screenshots & error log
auto-remediation-platform-00001-deployment-65c7f5646d-vqqhx-integration.log
Install serverless-operator.v1.22.0
In 1.8.2
community version we're aligned with Knative 1.1.0
version. Please, make sure to use that version of the community Knative operator and confirm if it's still an error.
Install serverless-operator.v1.22.0
In
1.8.2
community version we're aligned with Knative1.1.0
version. Please, make sure to use that version of the community Knative operator and confirm if it's still an error.
Do you mean this: https://knative.dev/v1.1-docs/install/operator/knative-with-operators/ Is it ok to install 1.1.2 ? What version the knative-serving and knative-eventing need to be ?
If you can recover the operator for 1.1.0 would be better, though the patch release should not be a problem in terms of compatibility.
The issue can be closed, it doesn't happen with Knative 1.1.0
I guess we need to update Knative anyway.
Please reopen, it still happening with Camel-k 1.8.2/1.9.2 community version and with community Knative version 1.1.0 and 1.2.0.
This issue has been automatically marked as stale due to 90 days of inactivity. It will be closed if no further activity occurs within 15 days. If you think that’s incorrect or the issue should never stale, please simply write any comment. Thanks for your contributions!