You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexandr Shapkin (Jira)" <ji...@apache.org> on 2021/07/27 14:12:00 UTC
[jira] [Created] (IGNITE-15197) Incorrect code snippet for Azure
Kubernetes Deployment
Alexandr Shapkin created IGNITE-15197:
-----------------------------------------
Summary: Incorrect code snippet for Azure Kubernetes Deployment
Key: IGNITE-15197
URL: https://issues.apache.org/jira/browse/IGNITE-15197
Project: Ignite
Issue Type: Bug
Components: documentation
Reporter: Alexandr Shapkin
Assignee: Nikita Safonov
See the docs: [ https://ignite.apache.org/docs/latest/installation/kubernetes/azure-deployment|https://ignite.apache.org/docs/latest/installation/kubernetes/azure-deployment]
h3. Creating ConfigMap for Node Configuration File
Two tabs: Configuration without persistence and Configuration with persistence
Need to fix "node-configuration.xml" to be a valid XML file, like this one for "Configuration without persistence"
{code:java}
<?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">
<bean class="org.apache.ignite.configuration.IgniteConfiguration">
<property name="discoverySpi">
<bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
<property name="ipFinder">
<bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder">
<property name="namespace" value="degault"/>
<property name="serviceName" value="ignite"/>
</bean>
</property>
</bean>
</property>
</bean>
</beans>
{code}
I.e. all code samples have to include
{code:java}
<?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">
...
</beans>{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)