konduktor-nightly 0.1.0.dev20250707105121__py3-none-any.whl → 0.1.0.dev20250709105137__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.
konduktor/__init__.py CHANGED
@@ -14,7 +14,7 @@ __all__ = [
14
14
  ]
15
15
 
16
16
  # Replaced with the current commit when building the wheels.
17
- _KONDUKTOR_COMMIT_SHA = 'b5c9d6f445c05e1470c2f618f02dfb0257b68de2'
17
+ _KONDUKTOR_COMMIT_SHA = '5760f2c18ed487270e9244d22c7209eee12821c1'
18
18
  os.makedirs(os.path.expanduser('~/.konduktor'), exist_ok=True)
19
19
 
20
20
 
@@ -48,5 +48,5 @@ def _get_git_commit():
48
48
 
49
49
 
50
50
  __commit__ = _get_git_commit()
51
- __version__ = '1.0.0.dev0.1.0.dev20250707105121'
51
+ __version__ = '1.0.0.dev0.1.0.dev20250709105137'
52
52
  __root_dir__ = os.path.dirname(os.path.abspath(__file__))
@@ -168,6 +168,18 @@ kubernetes:
168
168
  fi;
169
169
  end_epoch=$(date +%s);
170
170
 
171
+ echo "Exposing ENV variables"
172
+ $(prefix_cmd) env -0 | awk -v RS='\0' '
173
+ {
174
+ gsub(/\\/,"\\\\"); # escape existing backslashes first
175
+ gsub(/"/,"\\\""); # escape any double quotes
176
+ gsub(/\n/,"\\n"); # turn real newlines into the two characters \n
177
+ sub(/=/,"=\""); # open the value-quoting
178
+ print $0 "\""; # close the quote and add a newline record separator
179
+ }
180
+ ' > /etc/environment
181
+ $(prefix_cmd) echo "set -a; source /etc/environment; set +a;" >> $HOME/.bashrc
182
+
171
183
  {% if enable_ssh %}
172
184
 
173
185
  function InstallSSH {
@@ -239,24 +251,12 @@ kubernetes:
239
251
  $(prefix_cmd) service ssh start
240
252
  $(prefix_cmd) echo "sshd service started"
241
253
  }
242
- export TS_HOSTNAME=$(echo "$POD_NAME" | sed 's/-[^-]*$//')
243
- echo "Exposing ENV variables"
244
- $(prefix_cmd) env -0 | awk -v RS='\0' '
245
- {
246
- gsub(/\\/,"\\\\"); # escape existing backslashes first
247
- gsub(/"/,"\\\""); # escape any double quotes
248
- gsub(/\n/,"\\n"); # turn real newlines into the two characters \n
249
- sub(/=/,"=\""); # open the value-quoting
250
- print $0 "\""; # close the quote and add a newline record separator
251
- }
252
- ' > /etc/environment
253
-
254
- $(prefix_cmd) echo "TS_HOSTNAME=${TS_HOSTNAME}" >> /etc/environment
255
- $(prefix_cmd) echo "set -a; source /etc/environment; set +a;" >> $HOME/.bashrc
256
254
 
257
255
  InstallSSH
258
256
  {% endif %}
259
257
  {% if tailscale_secret %}
258
+ export TS_HOSTNAME=$(echo "$POD_NAME" | sed 's/-[^-]*$//')
259
+ $(prefix_cmd) echo "TS_HOSTNAME=${TS_HOSTNAME}" >> /etc/environment
260
260
  function InstallTailscale {
261
261
  while ! tailscale status >/dev/null 2>&1; do
262
262
  $(prefix_cmd) mkdir -p /var/run/tailscale /var/cache/tailscale /var/lib/tailscale
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: konduktor-nightly
3
- Version: 0.1.0.dev20250707105121
3
+ Version: 0.1.0.dev20250709105137
4
4
  Summary: GPU Cluster Health Management
5
5
  Author: Andrew Aikawa
6
6
  Author-email: asai@berkeley.edu
@@ -1,4 +1,4 @@
1
- konduktor/__init__.py,sha256=YJMhpNug-8DnRsq2CXikowdplR4JVmEtQUFKIL1jNLE,1540
1
+ konduktor/__init__.py,sha256=3jhgFIcJ12JaXpWcrtMZpzTp55tABU7-7b-FoNhYPpc,1540
2
2
  konduktor/adaptors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  konduktor/adaptors/aws.py,sha256=s47Ra-GaqCQibzVfmD0pmwEWHif1EGO5opMbwkLxTCU,8244
4
4
  konduktor/adaptors/common.py,sha256=ZIqzjx77PIHUwpjfAQ1uX8B2aX78YMuGj4Bppd-MdyM,4183
@@ -71,7 +71,7 @@ konduktor/manifests/pod_cleanup_controller.yaml,sha256=hziL1Ka1kCAEL9R7Tjvpb80iw
71
71
  konduktor/resource.py,sha256=nHgPWXCbWj5sWyslNngrFypMN1K0Dksb0yHbJqWaei8,19612
72
72
  konduktor/task.py,sha256=ofwd8WIhfD6C3ThLcv6X3GUzQHyZ6ddjUagE-umF4K0,35207
73
73
  konduktor/templates/jobset.yaml.j2,sha256=rdURknodtgLp4zoA2PX86Nn4wPpi3tr5l4IG55aWBRg,1059
74
- konduktor/templates/pod.yaml.j2,sha256=SlK6XKSwjuFJtBimlrUiFTcx7G_00XDtEopIKXBg5SI,16635
74
+ konduktor/templates/pod.yaml.j2,sha256=7512UVJHv_8mQu0WO9yuOR3HGjWYtHOLe2IsatKeDH0,16635
75
75
  konduktor/usage/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
76
76
  konduktor/usage/constants.py,sha256=gCL8afIHZhO0dcxbJGpESE9sCC1cBSbeRnQ8GwNOY4M,612
77
77
  konduktor/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -91,8 +91,8 @@ konduktor/utils/schemas.py,sha256=VGPERAso2G4sVAznsJ80qT2Q-I_EFxXw6Rfcw-vkYgQ,16
91
91
  konduktor/utils/subprocess_utils.py,sha256=WoFkoFhGecPR8-rF8WJxbIe-YtV94LXz9UG64SDhCY4,9448
92
92
  konduktor/utils/ux_utils.py,sha256=czCwiS1bDqgeKtzAJctczpLwFZzAse7WuozdvzEFYJ4,7437
93
93
  konduktor/utils/validator.py,sha256=uCRlScO1NYxsbTNKY9dkoqvlO8S0ISIIB8XmX2ItcO8,2793
94
- konduktor_nightly-0.1.0.dev20250707105121.dist-info/LICENSE,sha256=MuuqTZbHvmqXR_aNKAXzggdV45ANd3wQ5YI7tnpZhm0,6586
95
- konduktor_nightly-0.1.0.dev20250707105121.dist-info/METADATA,sha256=NjHZNUmNoUR4xW-tzmsC3qObH6i5hTpTfY2GmhN3bcY,4247
96
- konduktor_nightly-0.1.0.dev20250707105121.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
97
- konduktor_nightly-0.1.0.dev20250707105121.dist-info/entry_points.txt,sha256=k3nG5wDFIJhNqsZWrHk4d0irIB2Ns9s47cjRWYsTCT8,48
98
- konduktor_nightly-0.1.0.dev20250707105121.dist-info/RECORD,,
94
+ konduktor_nightly-0.1.0.dev20250709105137.dist-info/LICENSE,sha256=MuuqTZbHvmqXR_aNKAXzggdV45ANd3wQ5YI7tnpZhm0,6586
95
+ konduktor_nightly-0.1.0.dev20250709105137.dist-info/METADATA,sha256=8NeyGcdvm0aIn2n9X4CIwrxRfBbNVGjzveVPJT5iwck,4247
96
+ konduktor_nightly-0.1.0.dev20250709105137.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
97
+ konduktor_nightly-0.1.0.dev20250709105137.dist-info/entry_points.txt,sha256=k3nG5wDFIJhNqsZWrHk4d0irIB2Ns9s47cjRWYsTCT8,48
98
+ konduktor_nightly-0.1.0.dev20250709105137.dist-info/RECORD,,