Merge pull request #28555 from taosdata/doc/contrib

fix: add distributed deployment configuration for pod nodes.
This commit is contained in:
Shengliang Guan 2024-10-30 15:33:56 +08:00 committed by GitHub
commit fcd2a6f797
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 13 additions and 1 deletions

View File

@ -368,6 +368,18 @@ spec:
labels:
app: "tdengine"
spec:
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: app
operator: In
values:
- tdengine
topologyKey: kubernetes.io/hostname
containers:
- name: "tdengine"
image: "tdengine/tdengine:3.2.3.0"
@ -837,4 +849,4 @@ Helm 管理下,清理操作也变得简单:
helm uninstall tdengine
```
但 Helm 也不会自动移除 PVC需要手动获取 PVC 然后删除掉。
但 Helm 也不会自动移除 PVC需要手动获取 PVC 然后删除掉。