Commit 9c81483
authored
fix: add sealed secrets (#503)
* fix: db password & milvus secret
* fix: milvus start error
* fix: node isolation tolerations for all scenarios
- Makefile: move args file cleanup from datamate target to install target
- Makefile: milvus can now source /tmp/datamate-helm-args.sh before cleanup
- scripts/k8s/node-setup.sh: export HELM_MILVUS_TOLERATIONS in skip path
- deployment/helm/milvus/values.yaml: default tolerations to [] (no isolation)
Root cause: /tmp/datamate-helm-args.sh deleted in datamate-k8s-install,
before milvus-k8s-install could source it. When node isolation was active,
milvus received no tolerations and pods couldn't schedule on tainted nodes.
Also: Milvus chart had hardcoded tolerations (anchored YAML reference),
causing SchedulingDisabled even without node isolation configured.
Now supports all 4 scenarios:
- Open source + no isolation → no tolerations, any node (default) ✅
- Open source + isolation → tolerations applied to datamate + milvus ✅
- Commercial + no isolation → no tolerations ✅
- Commercial + isolation → tolerations for sealed-secrets + datamate + milvus ✅
Args file lifecycle:
node-setup.sh creates → sealed-secrets sources → datamate sources →
milvus sources → install target cleans up
* fix: add milvus sub-chart tolerations for etcd and minio
- scripts/k8s/node-setup.sh: add etcd.tolerations and minio.tolerations
- Sub-charts don't inherit parent chart tolerations in Helm
Symptom: milvus-etcd and milvus-minio stuck Pending with
'0/1 nodes are available: 1 node(s) had untolerated taint(s)'
when node isolation is active
Root cause: --set-string tolerations[0]... only sets milvus main chart,
but etcd and minio are sub-charts with their own tolerations: []
Fix: generate --set-string etcd.tolerations[0]... and
--set-string minio.tolerations[0]... alongside milvus tolerations
Note: milvus-standalone CrashLoopBackOff is a Milvus v2.6.5 ARM64 bug
(goroutine deadlock in streaming_node_manager), NOT node isolation
* fix: remove label by default1 parent ce3ab33 commit 9c81483
9 files changed
Lines changed: 343 additions & 111 deletions
File tree
- deployment
- helm
- datamate
- label-studio/templates
- milvus
- kubernetes/sealed-secrets
- scripts/k8s
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| 236 | + | |
236 | 237 | | |
237 | 238 | | |
238 | 239 | | |
| |||
357 | 358 | | |
358 | 359 | | |
359 | 360 | | |
360 | | - | |
361 | | - | |
| 361 | + | |
| 362 | + | |
362 | 363 | | |
363 | 364 | | |
364 | 365 | | |
| |||
370 | 371 | | |
371 | 372 | | |
372 | 373 | | |
373 | | - | |
374 | | - | |
375 | | - | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
376 | 388 | | |
377 | | - | |
| 389 | + | |
378 | 390 | | |
379 | | - | |
| 391 | + | |
380 | 392 | | |
381 | 393 | | |
382 | 394 | | |
383 | 395 | | |
384 | 396 | | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
398 | 403 | | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
399 | 409 | | |
400 | 410 | | |
401 | 411 | | |
| |||
416 | 426 | | |
417 | 427 | | |
418 | 428 | | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | 429 | | |
| 430 | + | |
426 | 431 | | |
427 | 432 | | |
428 | 433 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
| 54 | + | |
54 | 55 | | |
55 | | - | |
56 | | - | |
| 56 | + | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
59 | 63 | | |
60 | 64 | | |
61 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
94 | 106 | | |
95 | 107 | | |
96 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
| |||
39 | 37 | | |
40 | 38 | | |
41 | 39 | | |
42 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
| 222 | + | |
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| |||
617 | 617 | | |
618 | 618 | | |
619 | 619 | | |
620 | | - | |
| 620 | + | |
621 | 621 | | |
622 | 622 | | |
623 | 623 | | |
| |||
645 | 645 | | |
646 | 646 | | |
647 | 647 | | |
648 | | - | |
| 648 | + | |
649 | 649 | | |
650 | 650 | | |
651 | 651 | | |
| |||
1297 | 1297 | | |
1298 | 1298 | | |
1299 | 1299 | | |
1300 | | - | |
| 1300 | + | |
1301 | 1301 | | |
1302 | 1302 | | |
1303 | 1303 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments