Update deployment-gz.yaml

This commit is contained in:
韩曦锐
2021-04-10 11:10:19 +08:00
parent 42288fc004
commit 4f3b72a2a1

View File

@ -57,7 +57,11 @@ spec:
env: env:
# Apollo 配置中心变量设置 # Apollo 配置中心变量设置
- name: APOLLO_CONFIGSERVICE - 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 kind: Service
apiVersion: v1 apiVersion: v1
@ -67,7 +71,7 @@ metadata:
labels: labels:
app: biz-service-ebtp-extend app: biz-service-ebtp-extend
annotations: annotations:
lb.cke.tg.unicom/target-vports: 18018-18018 # lb.cke.tg.unicom/target-vports: 18018-18018
prometheus.io/port: '18018' prometheus.io/port: '18018'
prometheus.io/jl-svc: 'true' prometheus.io/jl-svc: 'true'
spec: spec: