<commit_before>= Hazelcast Discovery Plugin for Kubernetes
// Settings:
:compat-mode!:
:idseparator: -
// Aliases:
:project-name: hazelcast-kubernetes-discovery README
:project-handle: hazelcast-kubernetes-discovery-readme
:toc:

This link:https://hazelcast.org/[Hazelcast] Discovery Plugin provides the possibility to lookup IP addresses of other members
by resolving those requests against a link:http://kubernetes.io/[Kubernetes] Service Discovery system.

This plugin supports two different options of resolving against the discovery registry.

 - A request to the REST API
 - DNS Lookup against a given DNS service name

== Hazelcast Discovery SPI

Hazelcast, since 3.6, offers a, so called, Discovery SPI to integrate external discovery mechanisms into the system. For more
information please rely on the official documentation, available
link:http://docs.hazelcast.org/docs/3.6-EA2/manual/html-single/index.html#discovery-spi[here].

== Configuration Property Documentation

The available configuration properties are documented inside the Javadoc of this plugin:
link:http://hazelcast.github.io/hazelcast-kubernetes/com/hazelcast/kubernetes/KubernetesProperties.html#field_summary[Configuration Properties]

== Configuration
=== REST API Request

To configure the Kubernetes Service Discovery REST API, you first need to add the plugin to the applications classpath. If using
maven, Gradle, sbt or similar tools, this is as easy as adding it to the build configuration.

[source,xml]<commit_msg>Reviewed.<commit_after>= Hazelcast Discovery Plugin for Kubernetes
// Settings:
:compat-mode!:
:idseparator: -
// Aliases:
:project-name: hazelcast-kubernetes-discovery README
:project-handle: hazelcast-kubernetes-discovery-readme
:toc:

This link:https://hazelcast.org/[Hazelcast] Discovery Plugin provides the possibility to lookup IP addresses of other members
by resolving those requests against a link:http://kubernetes.io/[Kubernetes] Service Discovery system.

This plugin supports two different options of resolving against the discovery registry:

 - A request to the REST API
 - DNS Lookup against a given DNS service name

== Hazelcast Discovery SPI

Hazelcast, since 3.6, offers Discovery SPI to integrate external discovery mechanisms into the system. For more
information please rely on the official documentation, available
link:http://docs.hazelcast.org/docs/latest/manual/html-single/index.html#discovery-spi[here].

== Configuration Property Documentation

The available configuration properties are documented inside the Javadoc of this plugin:
link:http://hazelcast.github.io/hazelcast-kubernetes/com/hazelcast/kubernetes/KubernetesProperties.html#field_summary[Configuration Properties]

== Configuration

=== REST API Request

To configure the Kubernetes Service Discovery REST API, you first need to add the plugin to the applications classpath. If using
maven, Gradle, sbt or similar tools, this is as easy as adding it to the build configuration:

[source,xml]
{'fraction_non_alphanumeric': 0.07396251673360107, 'fraction_numerical': 0.0023427041499330657, 'mean_word_length': 5.497826086956522, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2035361', 'n_tokens_mistral': 820, 'n_tokens_neox': 751, 'n_words': 310}