小编bla*_*512的帖子

如何在Ignite XML配置中为Kubernetes IPFinder设置MasterUrl

使用带有Ignite 2.4和k8s 1.9的测试配置:

<?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xmlns:util="http://www.springframework.org/schema/util"
           xsi:schemaLocation="
            http://www.springframework.org/schema/beans
            http://www.springframework.org/schema/beans/spring-beans.xsd
            http://www.springframework.org/schema/util
            http://www.springframework.org/schema/util/spring-util.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>
        </bean>
      </property>
    </bean>
</beans>
Run Code Online (Sandbox Code Playgroud)

无法在https://kubernetes.default.svc.cluster.local找到Kubernetes API服务器:443 我可以在XML配置文件中设置API服务器URL吗?怎么样?

kubernetes ignite

4
推荐指数
2
解决办法
1301
查看次数

标签 统计

ignite ×1

kubernetes ×1