Skip to content

Commit

Permalink
KOGITO-9145 Added information about kogito-addons-quarkus-microprofil…
Browse files Browse the repository at this point in the history
…e-config-service-catalog (apache#462)

* KOGITO-9145 Added information about kogito-addons-quarkus-microprofile-config-service-catalog

Signed-off-by: Helber Belmiro <[email protected]>

* KOGITO-9145 Replaced the artifact id with the add-on's names on titles

Signed-off-by: Helber Belmiro <[email protected]>

* KOGITO-9145 Improved descriptions

Signed-off-by: Helber Belmiro <[email protected]>

* Update serverlessworkflow/modules/ROOT/pages/cloud/quarkus/kubernetes-service-discovery.adoc

Co-authored-by: Kalyani Desai <[email protected]>

---------

Signed-off-by: Helber Belmiro <[email protected]>
Co-authored-by: Kalyani Desai <[email protected]>
  • Loading branch information
hbelmiro and kaldesai authored Aug 28, 2023
1 parent caaa97d commit 37596df
Showing 1 changed file with 27 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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]
----
<dependency>
<!-- Service Discovery -->
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-addons-quarkus-kubernetes</artifactId>
</dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-addons-quarkus-kubernetes</artifactId>
</dependency>
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-addons-quarkus-fabric8-kubernetes-service-catalog</artifactId>
</dependency>
----

=== 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]
----
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-addons-quarkus-kubernetes</artifactId>
</dependency>
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-addons-quarkus-microprofile-config-service-catalog</artifactId>
</dependency>
----

== Additional resources

Expand Down

0 comments on commit 37596df

Please sign in to comment.