| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 0.22.7 source code.tar.gz | 2026-11-04 | 21.2 MB | |
| 0.22.7 source code.zip | 2026-11-04 | 22.3 MB | |
| README.md | 2026-11-04 | 4.0 kB | |
| Totals: 3 Items | 43.5 MB | 0 | |
Kubernetes
Orphaned resources
Orphan cleanup, introduced in 0.22.6, now supports the kubernetes backend. It finds pods, services, and secrets left behind by dstack and reports or deletes them, depending on DSTACK_SERVER_ORPHAN_CLEANUP_MODE.
Jump pod placement
The new proxy_jump.node_selector and proxy_jump.tolerations properties let you run the jump pod only on specific nodes, e.g. nodes with an ExternalIP or CPU-only nodes:
:::yaml
type: kubernetes
kubeconfig:
filename: ~/.kube/config
proxy_jump:
node_selector:
- example.com/jump-host
tolerations:
- example.com/dedicated=jump-host:NoSchedule
tolerations uses the kubectl taint format. See Kubernetes for details.
Jump pod resilience
The jump pod that dstack uses for SSH access to Kubernetes runs is now managed by a ReplicaSet. Previously, once the jump pod was evicted, e.g. due to node pressure, it was never recreated, and every new job in the project failed until someone deleted the pod by hand. Now Kubernetes replaces it automatically after an eviction or a node removal.
The jump pod also runs with the Guaranteed QoS class, with equal CPU and memory requests and limits, which makes it less likely to be evicted under node pressure. A jump pod created by an earlier version is adopted by the ReplicaSet as is and keeps its QoS class until it's recreated.
Required permissions
[!IMPORTANT] If
dstackuses a Kubernetes user or service account with a custom Role, update the Role before upgrading the server.dstacknow needsgetandcreateonreplicasets(API groupapps) andlistonpods. Without them, provisioning fails with403 Forbidden.
If list on services or secrets is not granted, orphan cleanup skips those resources and logs a warning. See Required permissions for the full Role.
Gateways
Python 3.12
Gateways now run on Python 3.12 managed by uv instead of the OS Python. When the server is upgraded, it updates existing gateways in place, as on every server update. Services served through a gateway are unavailable for a few seconds while the gateway restarts.
Gateway hosts now download uv and Python from GitHub when the gateway is installed or updated, so they need outbound access to github.com, in addition to PyPI.
What's Changed
- Re-creating failed gateways with a single
applyby @jvstme in https://github.com/dstackai/dstack/pull/4442 - Install gateway app with uv-managed Python 3.12 by @r4victor in https://github.com/dstackai/dstack/pull/4439
- [Docs] Fix outdated facts, broken links, and examples by @peterschmidt85 in https://github.com/dstackai/dstack/pull/4446
- Kubernetes: manage the jump pod with a ReplicaSet by @un-def in https://github.com/dstackai/dstack/pull/4447
- Avoid fetching all projects in the UI by @r4victor in https://github.com/dstackai/dstack/pull/4449
- Kubernetes: run the jump pod with Guaranteed QoS by @un-def in https://github.com/dstackai/dstack/pull/4451
- Support orphan cleanup in the Kubernetes backend by @r4victor in https://github.com/dstackai/dstack/pull/4455
- [Docs] Fix head-node key requirements with the SSH proxy by @peterschmidt85 in https://github.com/dstackai/dstack/pull/4457
- Kubernetes: add proxy_jump.node_selector and tolerations by @un-def in https://github.com/dstackai/dstack/pull/4459
- Close Nebius SDKs and lease cached backends by @r4victor in https://github.com/dstackai/dstack/pull/4460
- [UX] Grouped GPU prices are hard to compare by @peterschmidt85 in https://github.com/dstackai/dstack/pull/4456
Full Changelog: https://github.com/dstackai/dstack/compare/0.22.6...0.22.7