konduktor-nightly 0.1.0.dev20250919104536__py3-none-any.whl → 0.1.0.dev20250920104330__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of konduktor-nightly might be problematic. Click here for more details.
- konduktor/__init__.py +2 -2
- konduktor/backends/deployment.py +14 -8
- konduktor/backends/deployment_utils.py +594 -358
- konduktor/cli.py +4 -2
- konduktor/manifests/aibrix-setup.yaml +274 -0
- konduktor/manifests/apoxy-setup.yaml +42 -9
- konduktor/manifests/apoxy-setup2.yaml +69 -5
- konduktor/serving.py +10 -6
- konduktor/task.py +7 -0
- konduktor/templates/deployment.yaml.j2 +91 -44
- konduktor/utils/schemas.py +1 -1
- {konduktor_nightly-0.1.0.dev20250919104536.dist-info → konduktor_nightly-0.1.0.dev20250920104330.dist-info}/METADATA +1 -1
- {konduktor_nightly-0.1.0.dev20250919104536.dist-info → konduktor_nightly-0.1.0.dev20250920104330.dist-info}/RECORD +16 -16
- konduktor/templates/apoxy-deployment.yaml.j2 +0 -33
- {konduktor_nightly-0.1.0.dev20250919104536.dist-info → konduktor_nightly-0.1.0.dev20250920104330.dist-info}/LICENSE +0 -0
- {konduktor_nightly-0.1.0.dev20250919104536.dist-info → konduktor_nightly-0.1.0.dev20250920104330.dist-info}/WHEEL +0 -0
- {konduktor_nightly-0.1.0.dev20250919104536.dist-info → konduktor_nightly-0.1.0.dev20250920104330.dist-info}/entry_points.txt +0 -0
konduktor/__init__.py
CHANGED
|
@@ -11,7 +11,7 @@ from konduktor.task import Task
|
|
|
11
11
|
__all__ = ['launch', 'Resources', 'Task', 'Serving']
|
|
12
12
|
|
|
13
13
|
# Replaced with the current commit when building the wheels.
|
|
14
|
-
_KONDUKTOR_COMMIT_SHA = '
|
|
14
|
+
_KONDUKTOR_COMMIT_SHA = '64b5f8b4fef214b8e966ba081f46aeb2e0317c2c'
|
|
15
15
|
os.makedirs(os.path.expanduser('~/.konduktor'), exist_ok=True)
|
|
16
16
|
|
|
17
17
|
|
|
@@ -45,5 +45,5 @@ def _get_git_commit():
|
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
__commit__ = _get_git_commit()
|
|
48
|
-
__version__ = '1.0.0.dev0.1.0.
|
|
48
|
+
__version__ = '1.0.0.dev0.1.0.dev20250920104330'
|
|
49
49
|
__root_dir__ = os.path.dirname(os.path.abspath(__file__))
|
konduktor/backends/deployment.py
CHANGED
|
@@ -144,6 +144,7 @@ class DeploymentBackend(backend.Backend):
|
|
|
144
144
|
namespace = kubernetes_utils.get_kube_config_context_namespace(context)
|
|
145
145
|
|
|
146
146
|
if not dryrun and task.serving:
|
|
147
|
+
logger.debug(f'[DEBUG] Creating deployment for task: {task.name}')
|
|
147
148
|
deployment_utils.create_deployment(
|
|
148
149
|
namespace=namespace,
|
|
149
150
|
task=task,
|
|
@@ -151,25 +152,30 @@ class DeploymentBackend(backend.Backend):
|
|
|
151
152
|
dryrun=dryrun,
|
|
152
153
|
)
|
|
153
154
|
|
|
155
|
+
logger.debug(f'[DEBUG] Creating service for task: {task.name}')
|
|
154
156
|
deployment_utils.create_service(
|
|
155
157
|
namespace=namespace,
|
|
156
158
|
task=task,
|
|
157
159
|
dryrun=dryrun,
|
|
158
160
|
)
|
|
159
161
|
|
|
160
|
-
|
|
162
|
+
# Create podautoscaler for non-general deployments
|
|
163
|
+
logger.debug(f'[DEBUG] Creating podautoscaler for task: {task.name}')
|
|
164
|
+
deployment_utils.create_pod_autoscaler(
|
|
161
165
|
namespace=namespace,
|
|
162
166
|
task=task,
|
|
163
167
|
dryrun=dryrun,
|
|
164
168
|
)
|
|
165
169
|
|
|
166
|
-
#
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
# HTTP Add-on resources for general deployments
|
|
171
|
+
logger.debug(
|
|
172
|
+
f'[DEBUG] Creating HTTP Add-on resources for task: {task.name}'
|
|
173
|
+
)
|
|
174
|
+
deployment_utils.create_http_addon_resources(
|
|
175
|
+
namespace=namespace,
|
|
176
|
+
task=task,
|
|
177
|
+
dryrun=dryrun,
|
|
178
|
+
)
|
|
173
179
|
|
|
174
180
|
if not dryrun and not detach_run:
|
|
175
181
|
with ux_utils.print_exception_no_traceback():
|