修改天宫配置文件

This commit is contained in:
zhangyx
2021-04-10 12:04:34 +08:00
parent eaa4764c5c
commit 251cdf4e41
4 changed files with 15 additions and 51 deletions

View File

@ -57,7 +57,11 @@ spec:
env:
# Apollo 配置中心变量设置
- name: APOLLO_CONFIGSERVICE
value: http://10.242.31.158:6001
value: http://apollo-configservice:8080
- name: MY_POD_IP #自动获取pod ip作为agent id
valueFrom:
fieldRef:
fieldPath: status.podIP
---
kind: Service
apiVersion: v1
@ -67,7 +71,7 @@ metadata:
labels:
app: biz-service-ebtp-project
annotations:
lb.cke.tg.unicom/target-vports: 18012-18012
# lb.cke.tg.unicom/target-vports: 18012-18012
prometheus.io/port: '18012'
prometheus.io/jl-svc: 'true'
spec: