|
|
|
@ -3,13 +3,14 @@ apiVersion: networking.k8s.io/v1
|
|
|
|
|
kind: Ingress
|
|
|
|
|
metadata:
|
|
|
|
|
annotations:
|
|
|
|
|
kubernetes.io/ingress.class: "nginx"
|
|
|
|
|
nginx.ingress.kubernetes.io/proxy-http-version: "1.1"
|
|
|
|
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
|
|
|
|
|
nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
|
|
|
|
|
name: sdk-server-ingress
|
|
|
|
|
spec:
|
|
|
|
|
rules:
|
|
|
|
|
- host: k8s.open-im-test.rentsoft.cn
|
|
|
|
|
- host: sdk-server.openim.xxx.com
|
|
|
|
|
http:
|
|
|
|
|
paths:
|
|
|
|
|
- backend:
|
|
|
|
@ -17,20 +18,21 @@ spec:
|
|
|
|
|
name: sdk-server
|
|
|
|
|
port:
|
|
|
|
|
number: 10003
|
|
|
|
|
path: /sdk-server
|
|
|
|
|
path: /
|
|
|
|
|
pathType: Prefix
|
|
|
|
|
---
|
|
|
|
|
apiVersion: networking.k8s.io/v1
|
|
|
|
|
kind: Ingress
|
|
|
|
|
metadata:
|
|
|
|
|
annotations:
|
|
|
|
|
kubernetes.io/ingress.class: "nginx"
|
|
|
|
|
nginx.ingress.kubernetes.io/proxy-http-version: "1.1"
|
|
|
|
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
|
|
|
|
|
nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
|
|
|
|
|
name: msg-gateway-ingress
|
|
|
|
|
spec:
|
|
|
|
|
rules:
|
|
|
|
|
- host: k8s.open-im-test.rentsoft.cn
|
|
|
|
|
- host: msg-gateway.openim.xxx.com
|
|
|
|
|
http:
|
|
|
|
|
paths:
|
|
|
|
|
- backend:
|
|
|
|
@ -38,16 +40,18 @@ spec:
|
|
|
|
|
name: msg-gateway
|
|
|
|
|
port:
|
|
|
|
|
number: 10001
|
|
|
|
|
path: /msg-gateway
|
|
|
|
|
path: /
|
|
|
|
|
pathType: Prefix
|
|
|
|
|
---
|
|
|
|
|
apiVersion: networking.k8s.io/v1
|
|
|
|
|
kind: Ingress
|
|
|
|
|
metadata:
|
|
|
|
|
annotations:
|
|
|
|
|
kubernetes.io/ingress.class: "nginx"
|
|
|
|
|
name: api-ingress
|
|
|
|
|
spec:
|
|
|
|
|
rules:
|
|
|
|
|
- host: k8s.open-im-test.rentsoft.cn
|
|
|
|
|
- host: api.openim.xxx.com
|
|
|
|
|
http:
|
|
|
|
|
paths:
|
|
|
|
|
- backend:
|
|
|
|
@ -55,16 +59,18 @@ spec:
|
|
|
|
|
name: api
|
|
|
|
|
port:
|
|
|
|
|
number: 10002
|
|
|
|
|
path: /api
|
|
|
|
|
path: /
|
|
|
|
|
pathType: Prefix
|
|
|
|
|
---
|
|
|
|
|
apiVersion: networking.k8s.io/v1
|
|
|
|
|
kind: Ingress
|
|
|
|
|
metadata:
|
|
|
|
|
annotations:
|
|
|
|
|
kubernetes.io/ingress.class: "nginx"
|
|
|
|
|
name: demo-ingress
|
|
|
|
|
spec:
|
|
|
|
|
rules:
|
|
|
|
|
- host: k8s.open-im-test.rentsoft.cn
|
|
|
|
|
- host: demo.openim.xxx.com
|
|
|
|
|
http:
|
|
|
|
|
paths:
|
|
|
|
|
- backend:
|
|
|
|
@ -72,16 +78,18 @@ spec:
|
|
|
|
|
name: demo
|
|
|
|
|
port:
|
|
|
|
|
number: 10004
|
|
|
|
|
path: /demo
|
|
|
|
|
path: /
|
|
|
|
|
pathType: Prefix
|
|
|
|
|
---
|
|
|
|
|
apiVersion: networking.k8s.io/v1
|
|
|
|
|
kind: Ingress
|
|
|
|
|
metadata:
|
|
|
|
|
annotations:
|
|
|
|
|
kubernetes.io/ingress.class: "nginx"
|
|
|
|
|
name: cms-api-ingress
|
|
|
|
|
spec:
|
|
|
|
|
rules:
|
|
|
|
|
- host: k8s.open-im-test.rentsoft.cn
|
|
|
|
|
- host: cms-api.openim.xxx.com
|
|
|
|
|
http:
|
|
|
|
|
paths:
|
|
|
|
|
- backend:
|
|
|
|
@ -89,5 +97,5 @@ spec:
|
|
|
|
|
name: cms-api
|
|
|
|
|
port:
|
|
|
|
|
number: 10006
|
|
|
|
|
path: /cms-api
|
|
|
|
|
path: /
|
|
|
|
|
pathType: Prefix
|
|
|
|
|