新增生产配置文件

This commit is contained in:
zhangyx
2021-03-23 10:13:54 +08:00
parent 71a0fcdc18
commit efe7fefcd3
3 changed files with 170 additions and 2 deletions

View File

@ -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: