konduktor-nightly 0.1.0.dev20250919104536__py3-none-any.whl → 0.1.0.dev20250921104307__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 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 = '5beb52b28b01054af032813e670311b459b932b3'
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.dev20250919104536'
48
+ __version__ = '1.0.0.dev0.1.0.dev20250921104307'
49
49
  __root_dir__ = os.path.dirname(os.path.abspath(__file__))
@@ -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
- deployment_utils.create_autoscaler(
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
- # Apoxy resources for general deployments only when endpoint: trainy
167
- if deployment_utils.get_endpoint_type_from_config() == 'trainy':
168
- deployment_utils.create_apoxy_resources(
169
- namespace=namespace,
170
- task=task,
171
- dryrun=dryrun,
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():