Merge pull request #28555 from taosdata/doc/contrib
fix: add distributed deployment configuration for pod nodes.
This commit is contained in:
commit
fcd2a6f797
|
@ -368,6 +368,18 @@ spec:
|
||||||
labels:
|
labels:
|
||||||
app: "tdengine"
|
app: "tdengine"
|
||||||
spec:
|
spec:
|
||||||
|
affinity:
|
||||||
|
podAntiAffinity:
|
||||||
|
preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
- weight: 100
|
||||||
|
podAffinityTerm:
|
||||||
|
labelSelector:
|
||||||
|
matchExpressions:
|
||||||
|
- key: app
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- tdengine
|
||||||
|
topologyKey: kubernetes.io/hostname
|
||||||
containers:
|
containers:
|
||||||
- name: "tdengine"
|
- name: "tdengine"
|
||||||
image: "tdengine/tdengine:3.2.3.0"
|
image: "tdengine/tdengine:3.2.3.0"
|
||||||
|
@ -837,4 +849,4 @@ Helm 管理下,清理操作也变得简单:
|
||||||
helm uninstall tdengine
|
helm uninstall tdengine
|
||||||
```
|
```
|
||||||
|
|
||||||
但 Helm 也不会自动移除 PVC,需要手动获取 PVC 然后删除掉。
|
但 Helm 也不会自动移除 PVC,需要手动获取 PVC 然后删除掉。
|
||||||
|
|
Loading…
Reference in New Issue