mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-12 13:05:58 +08:00
deploy
This commit is contained in:
@@ -23,7 +23,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
@@ -34,10 +34,10 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: config
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: usualconfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
@@ -35,9 +35,9 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: openim-config
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: usualconfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
@@ -34,9 +34,9 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: config
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: usualconfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
||||||
Vendored
+2
-2
@@ -23,7 +23,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
@@ -35,7 +35,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: openim-config
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: openim-usualConfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
@@ -34,10 +34,10 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: config
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: usualconfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
@@ -35,10 +35,10 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: config
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: usualconfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
@@ -34,10 +34,10 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: config
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: usualconfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
@@ -34,10 +34,10 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: config
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: usualconfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
@@ -34,9 +34,9 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: config
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: usualconfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
2. 在项目根目录通过config/config.yaml
|
2. 在项目根目录通过config/config.yaml
|
||||||
```
|
```
|
||||||
kubectl -n openim create configmap config --from-file=config/config.yaml
|
kubectl -n openim create configmap config --from-file=config/config.yaml
|
||||||
kubectl -n openim create configmap usualConfig --from-file=config/usualConfig.yaml
|
kubectl -n openim create configmap usualconfig --from-file=config/usualConfig.yaml
|
||||||
```
|
```
|
||||||
查看configmap
|
查看configmap
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
@@ -34,9 +34,9 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: config
|
||||||
- name: usualConfig
|
- name: usualConfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: usualconfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
||||||
@@ -26,7 +26,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
@@ -37,10 +37,10 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: config
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: usualconfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
@@ -32,9 +32,9 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: config
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: usualconfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
@@ -34,9 +34,9 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: config
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: usualconfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
||||||
@@ -23,7 +23,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
@@ -34,9 +34,9 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: config
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: usualconfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
||||||
@@ -34,9 +34,9 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: config
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: usualconfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
||||||
@@ -21,7 +21,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
@@ -32,9 +32,9 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: config
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: usualconfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
||||||
|
|||||||
Reference in New Issue
Block a user