Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-15197

Incorrect code snippet for Azure Kubernetes Deployment

    XMLWordPrintableJSON

Details

    • Docs Required, Release Notes Required

    Description

      See the docs:  https://ignite.apache.org/docs/latest/installation/kubernetes/azure-deployment 

      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"

       

      <?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>
      
      

      I.e. all code samples have to include 

       

      <?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>

       

      Attachments

        Issue Links

          Activity

            People

              nsafonov Nikita A. Safonov
              ashapkin Alexandr Shapkin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: