Commit 430552b
authored
Kubernetes: request resources according to RequirementsSpec (#3127)
Other fixes and improvements:
* Handle errors in `_create_jump_pod_service_if_not_exists`
* Check both Service and Pod to decide if the jump pod
must be (re)created
* Respect `Node.status.nodeinfo.architecture`
* Add `namespace` option to the backend config
Part-of: #31261 parent d622241 commit 430552b
File tree
11 files changed
+643
-247
lines changed- src
- dstack/_internal
- core/backends
- base
- kubernetes
- server
- background/tasks
- utils
- tests/_internal
- core/backends
- base
- kubernetes
- server/background/tasks
11 files changed
+643
-247
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | | - | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
68 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
69 | 85 | | |
70 | 86 | | |
71 | 87 | | |
| |||
704 | 720 | | |
705 | 721 | | |
706 | 722 | | |
707 | | - | |
| 723 | + | |
708 | 724 | | |
709 | 725 | | |
710 | 726 | | |
711 | 727 | | |
712 | | - | |
| 728 | + | |
713 | 729 | | |
714 | | - | |
| 730 | + | |
715 | 731 | | |
716 | 732 | | |
717 | 733 | | |
| |||
727 | 743 | | |
728 | 744 | | |
729 | 745 | | |
730 | | - | |
731 | | - | |
| 746 | + | |
732 | 747 | | |
733 | 748 | | |
734 | 749 | | |
| |||
743 | 758 | | |
744 | 759 | | |
745 | 760 | | |
746 | | - | |
747 | | - | |
| 761 | + | |
748 | 762 | | |
749 | 763 | | |
750 | 764 | | |
| |||
0 commit comments