修改代码,增加普罗米修斯配置文件
This commit is contained in:
@ -29,6 +29,9 @@ spec:
|
||||
labels:
|
||||
# 模板名称
|
||||
app: biz-service-ebtp-extend
|
||||
annotations:
|
||||
prometheus.io/port: '18018'
|
||||
prometheus.io/jl-pod: 'true'
|
||||
|
||||
# 定义容器模板,该模板可以包含多个容器
|
||||
spec:
|
||||
@ -71,6 +74,8 @@ metadata:
|
||||
app: biz-service-ebtp-extend
|
||||
annotations:
|
||||
lb.cke.tg.unicom/target-vports: 18018-18018
|
||||
prometheus.io/port: '18018'
|
||||
prometheus.io/jl-svc: 'true'
|
||||
spec:
|
||||
ports:
|
||||
- port: 18018
|
||||
|
Reference in New Issue
Block a user