使用bgp eip的服务一直没有被分配地址 #345
-
基本就是按照这个例子配的环境,其他都还好就是服务始终没有分配地址:
bgp-nginx就是我用来测试的服务,没有直接使用文档里提供的例子,但应该不是这个原因导致的;服务的完整配置如下:
看了一下openelb-manager的日志,也没看到什么明显的错误:
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
检查下 bgpconf、bgppeer 配置是否正确 |
Beta Was this translation helpful? Give feedback.
-
bpgconf配置如下:
Bgp peer配置如下:
|
Beta Was this translation helpful? Give feedback.
-
看起来没什么异常,看看 eip 资源呢 |
Beta Was this translation helpful? Give feedback.
-
EIP信息如下:
|
Beta Was this translation helpful? Give feedback.
-
labels:
lb.kubesphere.io/v1alpha1: openelb
protocol.openelb.kubesphere.io/v1alpha1: bgp
eip.openelb.kubesphere.io/v1alpha2: bgp-eip 这些应当写到 annotation 中不是 labels |
Beta Was this translation helpful? Give feedback.
这些应当写到 annotation 中不是 labels