mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-14 22:15:59 +08:00
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,17 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: openim-api-service
|
||||
spec:
|
||||
selector:
|
||||
app: openim-api
|
||||
ports:
|
||||
- name: http-10002
|
||||
protocol: TCP
|
||||
port: 10002
|
||||
targetPort: 10002
|
||||
- name: prometheus-12002
|
||||
protocol: TCP
|
||||
port: 12002
|
||||
targetPort: 12002
|
||||
type: NodePort
|
||||
Reference in New Issue
Block a user