This section shows Knative setup on Ocp4 as part of 4K (K8s-Knative-Kafka-Kamel) demo.
installation docs here https://docs.openshift.com/container-platform/4.4/serverless/installing_serverless/installing-openshift-serverless.html
installation docs here https://docs.openshift.com/container-platform/4.4/serverless/installing_serverless/installing-knative-eventing.html#installing-knative-eventing
installation docs here https://docs.openshift.com/container-platform/4.4/serverless/installing_serverless/installing-knative-serving.html#installing-knative-serving
installation docs here https://docs.openshift.com/container-platform/4.4/serverless/installing_serverless/installing-kn.html#installing-kn
use my sample Quarkus application repository for kafka client: quay.io/efeluzy/tutorial-kafka-quarkus:v2
- Topology > add container image. image url : quay.io/efeluzy/tutorial-kafka-quarkus:v2
- Deploy as knative (Serverless) deployment (min pod 0 max pod 10)
- new knative apps on topology
- Check serverless apps using kn CLI
$ kn service list
result will be something like this
NAME URL LATEST AGE CONDITIONS READY REASON
hello http://hello.default.apps-crc.testing hello-gsdks-1 8m35s 3 OK / 3 True