新增生产配置文件
This commit is contained in:
2
pro.yaml
2
pro.yaml
@ -84,7 +84,7 @@ metadata:
|
||||
labels:
|
||||
app: biz-service-ebtp-extend-svc # [12] service的标签,可与参数[11]相同
|
||||
annotations:
|
||||
lb.cke.tg.unicom/target-vports: 18018-18018 #[13] 内部端口-外部端口映射 内部端口为server.port,即与参数[4]相同
|
||||
# lb.cke.tg.unicom/target-vports: 18018-18018 #[13] 内部端口-外部端口映射 内部端口为server.port,即与参数[4]相同
|
||||
prometheus.io/port: '18018' #[13] prometheus自动发现service的端口,也是该微服务所使用的端口,与参数[4]相同
|
||||
prometheus.io/test-svc: 'true' #[14] 开启prometheus自动发现service的功能,自动发现所带标签为test-svc的service
|
||||
spec:
|
||||
|
Reference in New Issue
Block a user