From 03a8f3be0dd7458932835ee45cd7f7f00869ffb6 Mon Sep 17 00:00:00 2001 From: Helber Belmiro Date: Mon, 21 Aug 2023 11:02:11 -0300 Subject: [PATCH 1/4] KOGITO-9145 Added information about kogito-addons-quarkus-microprofile-config-service-catalog Signed-off-by: Helber Belmiro --- .../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 8f502e683..44d4abda3 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: +==== `org.kie.kogito:kogito-addons-quarkus-fabric8-kubernetes-service-catalog` + +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-kubernetes + + org.kie.kogito kogito-addons-quarkus-fabric8-kubernetes-service-catalog ---- -=== Available service discovery implementations +==== `org.kie.kogito:kogito-addons-quarkus-microprofile-config-service-catalog` + +This implementation retrieves information from the application's configuration, making it valuable in scenarios where the platform hosting the application already have the information needed. -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 From 38480e4d8857318ef6db45caadbd07893c63070a Mon Sep 17 00:00:00 2001 From: Helber Belmiro Date: Mon, 21 Aug 2023 11:22:38 -0300 Subject: [PATCH 2/4] KOGITO-9145 Replaced the artifact id with the add-on's names on titles Signed-off-by: Helber Belmiro --- .../pages/cloud/quarkus/kubernetes-service-discovery.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 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 44d4abda3..a2f620d48 100644 --- a/serverlessworkflow/modules/ROOT/pages/cloud/quarkus/kubernetes-service-discovery.adoc +++ b/serverlessworkflow/modules/ROOT/pages/cloud/quarkus/kubernetes-service-discovery.adoc @@ -279,7 +279,7 @@ 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: -==== `org.kie.kogito:kogito-addons-quarkus-fabric8-kubernetes-service-catalog` +==== Fabric8 Kubernetes Service Catalog When enabled, it uses the Kubernetes Java API to discover the services. @@ -296,7 +296,7 @@ When enabled, it uses the Kubernetes Java API to discover the services. ---- -==== `org.kie.kogito:kogito-addons-quarkus-microprofile-config-service-catalog` +==== MicroProfile Config Kubernetes Service Catalog This implementation retrieves information from the application's configuration, making it valuable in scenarios where the platform hosting the application already have the information needed. From fca3266cd9c94ba656cda09f25aff89733833214 Mon Sep 17 00:00:00 2001 From: Helber Belmiro Date: Mon, 21 Aug 2023 11:28:12 -0300 Subject: [PATCH 3/4] KOGITO-9145 Improved descriptions Signed-off-by: Helber Belmiro --- .../pages/cloud/quarkus/kubernetes-service-discovery.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 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 a2f620d48..b7d0dd36b 100644 --- a/serverlessworkflow/modules/ROOT/pages/cloud/quarkus/kubernetes-service-discovery.adoc +++ b/serverlessworkflow/modules/ROOT/pages/cloud/quarkus/kubernetes-service-discovery.adoc @@ -281,7 +281,7 @@ You can enable the Kubernetes service discovery by adding a service discovery im ==== Fabric8 Kubernetes Service Catalog -When enabled, it uses the Kubernetes Java API to discover the services. +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] @@ -298,7 +298,7 @@ When enabled, it uses the Kubernetes Java API to discover the services. ==== MicroProfile Config Kubernetes Service Catalog -This implementation retrieves information from the application's configuration, making it valuable in scenarios where the platform hosting the application already have the information needed. +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." .Example Maven dependencies [source,xml] From ab2e7adac0ab525be8e601fc92f345527a7dd319 Mon Sep 17 00:00:00 2001 From: Helber Belmiro Date: Wed, 23 Aug 2023 09:28:31 -0300 Subject: [PATCH 4/4] Update serverlessworkflow/modules/ROOT/pages/cloud/quarkus/kubernetes-service-discovery.adoc Co-authored-by: Kalyani Desai <43639538+kaldesai@users.noreply.github.com> --- .../ROOT/pages/cloud/quarkus/kubernetes-service-discovery.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 b7d0dd36b..bf20a10c6 100644 --- a/serverlessworkflow/modules/ROOT/pages/cloud/quarkus/kubernetes-service-discovery.adoc +++ b/serverlessworkflow/modules/ROOT/pages/cloud/quarkus/kubernetes-service-discovery.adoc @@ -298,7 +298,7 @@ When activated, it leverages the Kubernetes Java API for service discovery, maki ==== 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." +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. .Example Maven dependencies [source,xml]