From 37596dff0b684e34166b9c9f063ffc210b2e8ad4 Mon Sep 17 00:00:00 2001 From: Helber Belmiro Date: Mon, 28 Aug 2023 10:11:09 -0300 Subject: [PATCH] KOGITO-9145 Added information about kogito-addons-quarkus-microprofile-config-service-catalog (#462) * KOGITO-9145 Added information about kogito-addons-quarkus-microprofile-config-service-catalog Signed-off-by: Helber Belmiro * KOGITO-9145 Replaced the artifact id with the add-on's names on titles Signed-off-by: Helber Belmiro * KOGITO-9145 Improved descriptions Signed-off-by: Helber Belmiro * Update serverlessworkflow/modules/ROOT/pages/cloud/quarkus/kubernetes-service-discovery.adoc Co-authored-by: Kalyani Desai <43639538+kaldesai@users.noreply.github.com> --------- Signed-off-by: Helber Belmiro Co-authored-by: Kalyani Desai <43639538+kaldesai@users.noreply.github.com> --- .../quarkus/kubernetes-service-discovery.adoc | 34 +++++++++++++++---- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/serverlessworkflow/modules/ROOT/pages/cloud/quarkus/kubernetes-service-discovery.adoc b/serverlessworkflow/modules/ROOT/pages/cloud/quarkus/kubernetes-service-discovery.adoc index 8f502e6833..bf20a10c60 100644 --- a/serverlessworkflow/modules/ROOT/pages/cloud/quarkus/kubernetes-service-discovery.adoc +++ b/serverlessworkflow/modules/ROOT/pages/cloud/quarkus/kubernetes-service-discovery.adoc @@ -273,25 +273,45 @@ When using the Kubernetes service discovery feature, you need to balance if your If the URI pattern is not found in the application properties, then discovery is not triggered. However, the scanning is performed anyway. Therefore, a short time is required to go through the startup scan. +=== Available service discovery implementations + +Currently, there are two implementations available. + You can enable the Kubernetes service discovery by adding a service discovery implementation to the application's dependencies as shown in the following Maven dependencies: +==== Fabric8 Kubernetes Service Catalog + +When activated, it leverages the Kubernetes Java API for service discovery, making it ideally suited for self-managed scenarios where users independently construct and deploy workflows. + .Example Maven dependencies [source,xml] ---- - - - org.kie.kogito - kogito-addons-quarkus-kubernetes - + org.kie.kogito + kogito-addons-quarkus-kubernetes + + org.kie.kogito kogito-addons-quarkus-fabric8-kubernetes-service-catalog ---- -=== Available service discovery implementations +==== MicroProfile Config Kubernetes Service Catalog + +This implementation retrieves information from the application's configuration, making it valuable in scenarios where users rely on the operator to provide the necessary information from the hosting platform. -Currently, only `org.kie.kogito:kogito-addons-quarkus-fabric8-kubernetes-service-catalog` is available. When enabled, it uses the Kubernetes Java API to discover the services. +.Example Maven dependencies +[source,xml] +---- + + org.kie.kogito + kogito-addons-quarkus-kubernetes + + + org.kie.kogito + kogito-addons-quarkus-microprofile-config-service-catalog + +---- == Additional resources