mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-10-27 05:52:29 +08:00
update deployment.
This commit is contained in:
parent
66b27b60e2
commit
0a10fa2540
@ -10,7 +10,6 @@ rpc:
|
|||||||
# It will only take effect when autoSetPorts is set to false.
|
# It will only take effect when autoSetPorts is set to false.
|
||||||
ports: [ 10200 ]
|
ports: [ 10200 ]
|
||||||
|
|
||||||
|
|
||||||
prometheus:
|
prometheus:
|
||||||
# Enable or disable Prometheus monitoring
|
# Enable or disable Prometheus monitoring
|
||||||
enable: true
|
enable: true
|
||||||
|
|||||||
@ -22,6 +22,10 @@ spec:
|
|||||||
- name: openim-config
|
- name: openim-config
|
||||||
mountPath: "/config"
|
mountPath: "/config"
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
- name: notification-config
|
||||||
|
mountPath: "/config/notification.yml"
|
||||||
|
subPath: notification.yml
|
||||||
|
readOnly: true
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 10002
|
- containerPort: 10002
|
||||||
- containerPort: 12002
|
- containerPort: 12002
|
||||||
@ -29,3 +33,6 @@ spec:
|
|||||||
- name: openim-config
|
- name: openim-config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: openim-config
|
||||||
|
- name: notification-config
|
||||||
|
configMap:
|
||||||
|
name: notification-config
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -18,6 +18,11 @@ spec:
|
|||||||
env:
|
env:
|
||||||
- name: CONFIG_PATH
|
- name: CONFIG_PATH
|
||||||
value: "/config"
|
value: "/config"
|
||||||
|
- name: IMENV_REDIS_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: redis-secret
|
||||||
|
key: redis-password
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: openim-config
|
- name: openim-config
|
||||||
mountPath: "/config"
|
mountPath: "/config"
|
||||||
|
|||||||
@ -6,10 +6,14 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
app: openim-msggateway-server
|
app: openim-msggateway-server
|
||||||
ports:
|
ports:
|
||||||
- name: http-10001
|
- name: longConnServer-10001
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
port: 10001
|
port: 10001
|
||||||
targetPort: 10001
|
targetPort: 10001
|
||||||
|
- name: http-12001
|
||||||
|
protocol: TCP
|
||||||
|
port: 12001
|
||||||
|
targetPort: 12001
|
||||||
- name: prometheus-12001
|
- name: prometheus-12001
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
port: 12001
|
port: 12001
|
||||||
|
|||||||
@ -18,12 +18,21 @@ spec:
|
|||||||
env:
|
env:
|
||||||
- name: CONFIG_PATH
|
- name: CONFIG_PATH
|
||||||
value: "/config"
|
value: "/config"
|
||||||
|
- name: IMENV_REDIS_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: redis-secret
|
||||||
|
key: redis-password
|
||||||
|
- name: IMENV_MONGODB_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: mongo-secret
|
||||||
|
key: mongo_openim_password
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: openim-config
|
- name: openim-config
|
||||||
mountPath: "/config"
|
mountPath: "/config"
|
||||||
readOnly: true
|
readOnly: true
|
||||||
ports:
|
ports:
|
||||||
# - containerPort: 15200
|
|
||||||
- containerPort: 12020
|
- containerPort: 12020
|
||||||
volumes:
|
volumes:
|
||||||
- name: openim-config
|
- name: openim-config
|
||||||
|
|||||||
@ -6,7 +6,6 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
app: openim-msgtransfer-server
|
app: openim-msgtransfer-server
|
||||||
ports:
|
ports:
|
||||||
# TODO Need check port!!!
|
|
||||||
- name: prometheus-12020
|
- name: prometheus-12020
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
port: 12020
|
port: 12020
|
||||||
|
|||||||
@ -18,6 +18,11 @@ spec:
|
|||||||
env:
|
env:
|
||||||
- name: CONFIG_PATH
|
- name: CONFIG_PATH
|
||||||
value: "/config"
|
value: "/config"
|
||||||
|
- name: IMENV_REDIS_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: redis-secret
|
||||||
|
key: redis-password
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: openim-config
|
- name: openim-config
|
||||||
mountPath: "/config"
|
mountPath: "/config"
|
||||||
|
|||||||
@ -19,6 +19,11 @@ spec:
|
|||||||
env:
|
env:
|
||||||
- name: CONFIG_PATH
|
- name: CONFIG_PATH
|
||||||
value: "/config"
|
value: "/config"
|
||||||
|
- name: IMENV_REDIS_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: redis-secret
|
||||||
|
key: redis-password
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: openim-config
|
- name: openim-config
|
||||||
mountPath: "/config"
|
mountPath: "/config"
|
||||||
|
|||||||
@ -19,6 +19,16 @@ spec:
|
|||||||
env:
|
env:
|
||||||
- name: CONFIG_PATH
|
- name: CONFIG_PATH
|
||||||
value: "/config"
|
value: "/config"
|
||||||
|
- name: IMENV_REDIS_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: redis-secret
|
||||||
|
key: redis-password
|
||||||
|
- name: IMENV_MONGODB_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: mongo-secret
|
||||||
|
key: mongo_openim_password
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: openim-config
|
- name: openim-config
|
||||||
mountPath: "/config"
|
mountPath: "/config"
|
||||||
|
|||||||
@ -15,9 +15,7 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: friend-rpc-server-container
|
- name: friend-rpc-server-container
|
||||||
image: openim/openim-rpc-friend:v3.8.3
|
image: openim/openim-rpc-friend:v3.8.3
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
|
||||||
- name: CONFIG_PATH
|
- name: CONFIG_PATH
|
||||||
value: "/config"
|
value: "/config"
|
||||||
- name: IMENV_REDIS_PASSWORD
|
- name: IMENV_REDIS_PASSWORD
|
||||||
@ -25,6 +23,11 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: redis-secret
|
name: redis-secret
|
||||||
key: redis-password
|
key: redis-password
|
||||||
|
- name: IMENV_MONGODB_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: mongo-secret
|
||||||
|
key: mongo_openim_password
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: openim-config
|
- name: openim-config
|
||||||
mountPath: "/config"
|
mountPath: "/config"
|
||||||
|
|||||||
@ -19,6 +19,16 @@ spec:
|
|||||||
env:
|
env:
|
||||||
- name: CONFIG_PATH
|
- name: CONFIG_PATH
|
||||||
value: "/config"
|
value: "/config"
|
||||||
|
- name: IMENV_REDIS_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: redis-secret
|
||||||
|
key: redis-password
|
||||||
|
- name: IMENV_MONGODB_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: mongo-secret
|
||||||
|
key: mongo_openim_password
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: openim-config
|
- name: openim-config
|
||||||
mountPath: "/config"
|
mountPath: "/config"
|
||||||
|
|||||||
@ -15,10 +15,19 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: msg-rpc-server-container
|
- name: msg-rpc-server-container
|
||||||
image: openim/openim-rpc-msg:v3.8.3
|
image: openim/openim-rpc-msg:v3.8.3
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- name: CONFIG_PATH
|
- name: CONFIG_PATH
|
||||||
value: "/config"
|
value: "/config"
|
||||||
|
- name: IMENV_REDIS_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: redis-secret
|
||||||
|
key: redis-password
|
||||||
|
- name: IMENV_MONGODB_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: mongo-secret
|
||||||
|
key: mongo_openim_password
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: openim-config
|
- name: openim-config
|
||||||
mountPath: "/config"
|
mountPath: "/config"
|
||||||
|
|||||||
@ -15,16 +15,25 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: third-rpc-server-container
|
- name: third-rpc-server-container
|
||||||
image: openim/openim-rpc-third:v3.8.3
|
image: openim/openim-rpc-third:v3.8.3
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- name: CONFIG_PATH
|
- name: CONFIG_PATH
|
||||||
value: "/config"
|
value: "/config"
|
||||||
- name: MINIO_ACCESS_KEY
|
- name: IMENV_REDIS_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: redis-secret
|
||||||
|
key: redis-password
|
||||||
|
- name: IMENV_MONGODB_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: mongo-secret
|
||||||
|
key: mongo_openim_password
|
||||||
|
- name: IMENV_MINIO_ACCESSKEYID
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: minio-secret
|
name: minio-secret
|
||||||
key: minio-root-user
|
key: minio-root-user
|
||||||
- name: MINIO_SECRET_KEY
|
- name: IMENV_MINIO_SECRETACCESSKEY
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: minio-secret
|
name: minio-secret
|
||||||
|
|||||||
@ -15,10 +15,19 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: user-rpc-server-container
|
- name: user-rpc-server-container
|
||||||
image: openim/openim-rpc-user:v3.8.3
|
image: openim/openim-rpc-user:v3.8.3
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- name: CONFIG_PATH
|
- name: CONFIG_PATH
|
||||||
value: "/config"
|
value: "/config"
|
||||||
|
- name: IMENV_REDIS_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: redis-secret
|
||||||
|
key: redis-password
|
||||||
|
- name: IMENV_MONGODB_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: mongo-secret
|
||||||
|
key: mongo_openim_password
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: openim-config
|
- name: openim-config
|
||||||
mountPath: "/config"
|
mountPath: "/config"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user