build: update kubernetes deployment Run. (#2919)
* build: k8s improve. * refactor: update docker image contents. * rename seq file. * build: update k8s origin deploys. * update check logic. * update magefile * update image name. * update readme * update Kubernetes Discovery. * revert pkg. * update create in k8s * update service image release CI. * update deployment image source. * update mage contents. * update pkg source. * update go get pkg. * fix test file. * update discovery register. * update * update deploy yaml. * update replica. * update deployment. * remove notfication config. * remove notification and zookeeper. * update discovery in kubernetes. * build: improve kubernetes deployment. * update config field in discovery. * update ReadMe in deployments. * update go mod. * update const quote. * fix test fields. * remove unused method. * remove unused contents.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
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
|
||||
Reference in New Issue
Block a user