pull/354/head
wangchuxiao 2 years ago
parent 7a9506f616
commit 1c724aa89b

@ -23,7 +23,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
mountPath: /Open-IM-Server/config
readOnly: true
env:
@ -34,10 +34,10 @@ spec:
volumes:
- name: config
configMap:
name: openim-config
- name: usualConfig
name: config
- name: usualconfig
configMap:
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新

@ -23,7 +23,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
mountPath: /Open-IM-Server/config
readOnly: true
env:
@ -35,9 +35,9 @@ spec:
- name: config
configMap:
name: openim-config
- name: usualConfig
- name: usualconfig
configMap:
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新
---

@ -23,7 +23,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
mountPath: /Open-IM-Server/config
readOnly: true
env:
@ -34,9 +34,9 @@ spec:
volumes:
- name: config
configMap:
name: openim-config
- name: usualConfig
name: config
- name: usualconfig
configMap:
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新

@ -23,7 +23,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
mountPath: /Open-IM-Server/config
readOnly: true
env:
@ -35,7 +35,7 @@ spec:
- name: config
configMap:
name: openim-config
- name: usualConfig
- name: usualconfig
configMap:
name: openim-usualConfig
strategy: #更新策略

@ -23,7 +23,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
mountPath: /Open-IM-Server/config
readOnly: true
env:
@ -34,10 +34,10 @@ spec:
volumes:
- name: config
configMap:
name: openim-config
- name: usualConfig
name: config
- name: usualconfig
configMap:
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新
---

@ -23,7 +23,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
mountPath: /Open-IM-Server/config
readOnly: true
env:
@ -35,10 +35,10 @@ spec:
volumes:
- name: config
configMap:
name: openim-config
- name: usualConfig
name: config
- name: usualconfig
configMap:
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新

@ -23,7 +23,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
mountPath: /Open-IM-Server/config
readOnly: true
env:
@ -34,10 +34,10 @@ spec:
volumes:
- name: config
configMap:
name: openim-config
- name: usualConfig
name: config
- name: usualconfig
configMap:
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新
---

@ -23,7 +23,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
mountPath: /Open-IM-Server/config
readOnly: true
env:
@ -34,10 +34,10 @@ spec:
volumes:
- name: config
configMap:
name: openim-config
- name: usualConfig
name: config
- name: usualconfig
configMap:
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新

@ -23,7 +23,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
mountPath: /Open-IM-Server/config
readOnly: true
env:
@ -34,9 +34,9 @@ spec:
volumes:
- name: config
configMap:
name: openim-config
- name: usualConfig
name: config
- name: usualconfig
configMap:
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新

@ -20,7 +20,7 @@
2. 在项目根目录通过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
```

@ -23,7 +23,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
mountPath: /Open-IM-Server/config
readOnly: true
env:
@ -34,9 +34,9 @@ spec:
volumes:
- name: config
configMap:
name: openim-config
name: config
- name: usualConfig
configMap:
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新

@ -26,7 +26,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
mountPath: /Open-IM-Server/config
readOnly: true
env:
@ -37,10 +37,10 @@ spec:
volumes:
- name: config
configMap:
name: openim-config
- name: usualConfig
name: config
- name: usualconfig
configMap:
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新
---

@ -21,7 +21,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
mountPath: /Open-IM-Server/config
readOnly: true
env:
@ -32,9 +32,9 @@ spec:
volumes:
- name: config
configMap:
name: openim-config
- name: usualConfig
name: config
- name: usualconfig
configMap:
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新

@ -23,7 +23,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
mountPath: /Open-IM-Server/config
readOnly: true
env:
@ -34,9 +34,9 @@ spec:
volumes:
- name: config
configMap:
name: openim-config
- name: usualConfig
name: config
- name: usualconfig
configMap:
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新

@ -23,7 +23,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
mountPath: /Open-IM-Server/config
readOnly: true
env:
@ -34,9 +34,9 @@ spec:
volumes:
- name: config
configMap:
name: openim-config
- name: usualConfig
name: config
- name: usualconfig
configMap:
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新

@ -34,9 +34,9 @@ spec:
volumes:
- name: config
configMap:
name: openim-config
- name: usualConfig
name: config
- name: usualconfig
configMap:
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新

@ -21,7 +21,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
mountPath: /Open-IM-Server/config
readOnly: true
env:
@ -32,9 +32,9 @@ spec:
volumes:
- name: config
configMap:
name: openim-config
- name: usualConfig
name: config
- name: usualconfig
configMap:
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新

Loading…
Cancel
Save