You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ns...@apache.org on 2022/01/11 14:41:49 UTC
[ignite] branch master updated: IGNITE-15197 Incorrect code snippet for Azure Kubernetes Deployment (#9726)
This is an automated email from the ASF dual-hosted git repository.
nsafonov 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 770a22d IGNITE-15197 Incorrect code snippet for Azure Kubernetes Deployment (#9726)
770a22d is described below
commit 770a22d7d18562eee138c3a46dba3e6952d30023
Author: Nikita Safonov <73...@users.noreply.github.com>
AuthorDate: Tue Jan 11 17:41:29 2022 +0300
IGNITE-15197 Incorrect code snippet for Azure Kubernetes Deployment (#9726)
---
.../code-snippets/k8s/stateful/node-configuration.xml | 16 +++++++++-------
.../code-snippets/k8s/stateless/node-configuration.xml | 9 +++++----
2 files changed, 14 insertions(+), 11 deletions(-)
diff --git a/docs/_docs/code-snippets/k8s/stateful/node-configuration.xml b/docs/_docs/code-snippets/k8s/stateful/node-configuration.xml
index e36765d..bf7c07e 100644
--- a/docs/_docs/code-snippets/k8s/stateful/node-configuration.xml
+++ b/docs/_docs/code-snippets/k8s/stateful/node-configuration.xml
@@ -15,12 +15,14 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<!-- tag::config-block[] -->
+<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.springframework.org/schema/beans
- http://www.springframework.org/schema/beans/spring-beans.xsd">
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
+ http://www.springframework.org/schema/beans
+ http://www.springframework.org/schema/beans/spring-beans.xsd">
+ <!-- tag::config-block[] -->
<bean class="org.apache.ignite.configuration.IgniteConfiguration">
<property name="workDirectory" value="/ignite/work"/>
@@ -45,8 +47,8 @@
<bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder">
<constructor-arg>
<bean class="org.apache.ignite.kubernetes.configuration.KubernetesConnectionConfiguration">
- <property name="namespace" value="ignite" />
- <property name="serviceName" value="ignite-service" />
+ <property name="namespace" value="default" />
+ <property name="serviceName" value="ignite" />
</bean>
</constructor-arg>
</bean>
@@ -55,5 +57,5 @@
</property>
</bean>
+ <!-- end::config-block[] -->
</beans>
-<!-- end::config-block[] -->
diff --git a/docs/_docs/code-snippets/k8s/stateless/node-configuration.xml b/docs/_docs/code-snippets/k8s/stateless/node-configuration.xml
index a694f28..a9b24b6 100644
--- a/docs/_docs/code-snippets/k8s/stateless/node-configuration.xml
+++ b/docs/_docs/code-snippets/k8s/stateless/node-configuration.xml
@@ -15,13 +15,14 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<!-- tag::config-block[] -->
+<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
+ <!-- tag::config-block[] -->
<bean class="org.apache.ignite.configuration.IgniteConfiguration">
<property name="discoverySpi">
@@ -30,8 +31,8 @@
<bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder">
<constructor-arg>
<bean class="org.apache.ignite.kubernetes.configuration.KubernetesConnectionConfiguration">
- <property name="namespace" value="ignite" />
- <property name="serviceName" value="ignite-service" />
+ <property name="namespace" value="default" />
+ <property name="serviceName" value="ignite" />
</bean>
</constructor-arg>
</bean>
@@ -39,5 +40,5 @@
</bean>
</property>
</bean>
+ <!-- end::config-block[] -->
</beans>
-<!-- end::config-block[] -->