使用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>
在https://kubernetes.default.svc.cluster.local:443上找不到Kubernetes API Server我可以在XML配置文件中设置API Server URL吗?多么?
发布于 2018-03-21 15:44:57
403错误的问题可以通过向服务帐户授予更多权限来解决。
发布于 2018-10-23 03:45:20
如果你得到403未经授权,那么你的服务帐户,使你的资源可能没有足够的权限。在确保您的命名空间和服务帐户以及部署/副本集完全符合您的期望之后,您应该更新权限。
此链接对设置服务帐户的权限非常有用:https://kubernetes.io/docs/reference/access-authn-authz/rbac/#service-account-permissions
https://stackoverflow.com/questions/49395481
复制相似问题