This is an automated email from the ASF dual-hosted git repository.

ptupitsyn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/master by this push:
     new 73593d1fc01 IGNITE-17270 Fix issues with Kubernetes docs (#10121)
73593d1fc01 is described below

commit 73593d1fc01e3a2335f5c25b49b0ef6fcb385b0a
Author: IgGusev <[email protected]>
AuthorDate: Thu Jun 30 10:29:51 2022 +0400

    IGNITE-17270 Fix issues with Kubernetes docs (#10121)
---
 .../kubernetes/generic-configuration.adoc           | 21 +++++++++++----------
 docs/_docs/thin-clients/java-thin-client.adoc       |  2 +-
 2 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/docs/_docs/installation/kubernetes/generic-configuration.adoc 
b/docs/_docs/installation/kubernetes/generic-configuration.adoc
index 1bce41861bd..67a557c30f9 100644
--- a/docs/_docs/installation/kubernetes/generic-configuration.adoc
+++ b/docs/_docs/installation/kubernetes/generic-configuration.adoc
@@ -388,17 +388,8 @@ Note that we use the external IP address (LoadBalancer 
Ingress) of the service.
 include::{javaFile}[tags=connectThinClient, indent=0]
 ----
 
-=== Connecting to REST API
-
-Connect to the cluster's REST API as follows:
-
-[source,shell,subs="attributes,specialchars"]
-----
-$ curl http://13.86.186.145:8080/ignite?cmd=version
-{"successStatus":0,"error":null,"response":"{version}","sessionToken":null}
-----
 
-== Partition Awareness
+==== Partition Awareness
 
 include::../../includes/partition-awareness.adoc[]
 
@@ -411,4 +402,14 @@ 
include::{javaFile}[tags=connectThinClientWithKubernetesConfiguration, indent=0]
 ----
 
 
+=== Connecting to REST API
+
+Connect to the cluster's REST API as follows:
+
+[source,shell,subs="attributes,specialchars"]
+----
+$ curl http://13.86.186.145:8080/ignite?cmd=version
+{"successStatus":0,"error":null,"response":"{version}","sessionToken":null}
+----
+
 //end::kubernetes-config[]
diff --git a/docs/_docs/thin-clients/java-thin-client.adoc 
b/docs/_docs/thin-clients/java-thin-client.adoc
index cfa9f835786..f430c301c34 100644
--- a/docs/_docs/thin-clients/java-thin-client.adoc
+++ b/docs/_docs/thin-clients/java-thin-client.adoc
@@ -100,7 +100,7 @@ The code snippet shows how an example implementation might 
look like if you want
 * The `fetchServerAddress()` is a custom function that dynamically provides 
server addresses.
 * Configure client with `ClientConfiguration.setAddressFinder(finder)`.
 
-Also, you can check a real example of the interface implementation. 
`ThinClientKubernetesAddressFinder` is created to handle scalable Kubernetes 
environment.
+Also, you can check a 
link:https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/client/ClientKubernetesPutGetExample.java#L50[real
 example] of the interface implementation. `ThinClientKubernetesAddressFinder` 
is created to handle scalable Kubernetes environment.
 
 == Using Key-Value API
 

Reply via email to