Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
dfa30ce1
Commit
dfa30ce1
authored
Jun 06, 2022
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auth & upms dapr 调整
parent
79834276
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
48 additions
and
0 deletions
+48
-0
yifu-auth-service.yaml
k8s-bash-test/yifu-auth-service.yaml
+3
-0
yifu-auth-virtualservice-yifucenter.yaml
k8s-bash-test/yifu-auth-virtualservice-yifucenter.yaml
+21
-0
yifu-upms-service.yaml
k8s-bash-test/yifu-upms-service.yaml
+3
-0
yifu-upms-virtualservice-yifucenter.yaml
k8s-bash-test/yifu-upms-virtualservice-yifucenter.yaml
+21
-0
No files found.
k8s-bash-test/yifu-auth-service.yaml
View file @
dfa30ce1
...
...
@@ -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
k8s-bash-test/yifu-auth-virtualservice-yifucenter.yaml
0 → 100644
View file @
dfa30ce1
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
k8s-bash-test/yifu-upms-service.yaml
View file @
dfa30ce1
...
...
@@ -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
k8s-bash-test/yifu-upms-virtualservice-yifucenter.yaml
0 → 100644
View file @
dfa30ce1
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment