<p>I try to build Apache Ignite on Azure Kubernetes Service. AKS version is 1.19.</p>
<p>I followed the below instructions from the official apache page.</p>
<p><a href="https://ignite.apache.org/docs/latest/installation/kubernetes/azure-deployment" rel="nofollow noreferrer">Microsoft Azure Kubernetes Service Deployment</a></p>
<p>But when I check the status of my pods, they seem failed. The status of pods is CrashLoopBackOff.</p>
<p><a href="https://i.stack.imgur.com/4BdD3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4BdD3.png" alt="status of pods" /></a></p>
<p>When I check the logs, It says the problem is node-configuration.xml
Here is the XML of the node configuration.</p>
<pre><code>    &lt;bean class=&quot;org.apache.ignite.configuration.IgniteConfiguration&quot;&gt;

    &lt;property name=&quot;discoverySpi&quot;&gt;
        &lt;bean class=&quot;org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi&quot;&gt;
            &lt;property name=&quot;ipFinder&quot;&gt;
                &lt;bean class=&quot;org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder&quot;&gt;
                    &lt;constructor-arg&gt;
                        &lt;bean class=&quot;org.apache.ignite.kubernetes.configuration.KubernetesConnectionConfiguration&quot;&gt;
                            &lt;property name=&quot;namespace&quot; value=&quot;default&quot; /&gt;
                            &lt;property name=&quot;serviceName&quot; value=&quot;ignite&quot; /&gt;
                        &lt;/bean&gt;
                    &lt;/constructor-arg&gt;
                &lt;/bean&gt;
            &lt;/property&gt;
        &lt;/bean&gt;
    &lt;/property&gt;
&lt;/bean&gt;
</code></pre>
<p>Also, here is the output of the log.</p>
<pre><code>PS C:\Users\kaan.akyalcin\ignite&gt; kubectl logs ignite-cluster-755f6665c8-djdcn -n ignite
class org.apache.ignite.IgniteException: **Failed to instantiate Spring XML application context [springUrl=file:/ignite/config/node-configuration.xml, err=Line 1 in XML document from URL** [file:/ignite/config/node-configuration.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 71; cvc-elt.1: Cannot find the declaration of element 'bean'.]
        at org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:1098)
        at org.apache.ignite.Ignition.start(Ignition.java:356)
        at org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:367)
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to instantiate Spring XML application context [springUrl=file:/ignite/config/node-configuration.xml, err=Line 1 in XML document from URL [file:/ignite/config/node-configuration.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 71; cvc-elt.1: Cannot find the declaration of element 'bean'.]
        at org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:392)
        at org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:104)
        at org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:98)
        at org.apache.ignite.internal.IgnitionEx.loadConfigurations(IgnitionEx.java:736)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:937)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:846)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:716)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:685)
        at org.apache.ignite.Ignition.start(Ignition.java:353)
</code></pre>
<p>I didn't find the solution. How can I fix this problem?</p>

OguzKaanAkyalcin
<p>You have to pass a valid XML file, looks like the docs need to be adjusted accordingly:</p>
<pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;beans xmlns=&quot;http://www.springframework.org/schema/beans&quot;
       xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
       xsi:schemaLocation=&quot;
        http://www.springframework.org/schema/beans
        http://www.springframework.org/schema/beans/spring-beans.xsd&quot;&gt;

    &lt;bean class=&quot;org.apache.ignite.configuration.IgniteConfiguration&quot;&gt;

        &lt;property name=&quot;discoverySpi&quot;&gt;
            &lt;bean class=&quot;org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi&quot;&gt;
                &lt;property name=&quot;ipFinder&quot;&gt;
                    &lt;bean class=&quot;org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder&quot;&gt;
                        &lt;property name=&quot;namespace&quot; value=&quot;degault&quot;/&gt;
                        &lt;property name=&quot;serviceName&quot; value=&quot;ignite&quot;/&gt;
                    &lt;/bean&gt;
                &lt;/property&gt;
            &lt;/bean&gt;
        &lt;/property&gt;
    &lt;/bean&gt;
&lt;/beans&gt;
</code></pre>
