Download Latest Version 0.22.9 source code.zip (22.4 MB)
Home / 0.22.7
Name Modified Size InfoDownloads / 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 dstack uses a Kubernetes user or service account with a custom Role, update the Role before upgrading the server. dstack now needs get and create on replicasets (API group apps) and list on pods. Without them, provisioning fails with 403 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

Full Changelog: https://github.com/dstackai/dstack/compare/0.22.6...0.22.7

Source: README.md, updated 2026-11-04