You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
630 B
26 lines
630 B
1 month ago
|
apiVersion: networking.k8s.io/v1
|
||
|
kind: Ingress
|
||
|
metadata:
|
||
|
name: openim-ingress
|
||
|
annotations:
|
||
|
nginx.ingress.kubernetes.io/rewrite-target: /
|
||
|
spec:
|
||
|
ingressClassName: openim-nginx
|
||
|
rules:
|
||
|
- http:
|
||
|
paths:
|
||
|
- path: /openim-api
|
||
|
pathType: Prefix
|
||
|
backend:
|
||
|
service:
|
||
|
name: openim-api-service
|
||
|
port:
|
||
|
number: 10002
|
||
|
- path: /openim-msggateway
|
||
|
pathType: Prefix
|
||
|
backend:
|
||
|
service:
|
||
|
name: openim-msggateway-service
|
||
|
port:
|
||
|
number: 10001
|