Commit dfa30ce1 authored by fangxinjiang's avatar fangxinjiang

auth & upms dapr 调整

parent 79834276
......@@ -11,6 +11,9 @@ spec: # 资源规范字段
protocol: TCP # 协议
targetPort: 3000 # 容器暴露的端口
#name: http # 端口名称
- port: 3500 # service 端口
protocol: TCP # 协议
targetPort: 3500 # 容器暴露的端口
selector: # 选择器
app: yifu-auth # 资源名称
type: ClusterIP # ClusterIP 类型
\ No newline at end of file
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: qas-mvp-yifu-auth
namespace: qas-mvp
spec:
gateways:
- istio-system/qas-yifu-gateway
hosts:
- qas-mvp-yifu-auth.yifucenter.com
http:
- match:
- uri:
prefix: /
rewrite:
uri: /
route:
- destination:
host: yifu-auth.qas-mvp.svc.cluster.local
port:
number: 3500
\ No newline at end of file
......@@ -11,6 +11,9 @@ spec: # 资源规范字段
protocol: TCP # 协议
targetPort: 4000 # 容器暴露的端口
#name: http # 端口名称
- port: 3500 # service 端口
protocol: TCP # 协议
targetPort: 3500 # 容器暴露的端口
selector: # 选择器
app: yifu-upms # 资源名称
type: ClusterIP # ClusterIP 类型
\ No newline at end of file
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: qas-mvp-yifu-upms
namespace: qas-mvp
spec:
gateways:
- istio-system/qas-yifu-gateway
hosts:
- qas-mvp-yifu-upms.yifucenter.com
http:
- match:
- uri:
prefix: /
rewrite:
uri: /
route:
- destination:
host: yifu-upms.qas-mvp.svc.cluster.local
port:
number: 3500
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment