Repository navigation
Conversation
The jump pod always ran testcontainers/sshd:1.3.0. proxy_jump.image sets another image, e.g., one built on an approved base, from an internal registry, or with a mandated SSH crypto policy. It defaults to the current image and, like the other proxy_jump fields, is excluded from requests when unset so new clients keep working with older servers. Closes dstackai#4508
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #4508. A draft for discussing the use case in the issue first, as CONTRIBUTING asks.
The jump pod always runs
testcontainers/sshd:1.3.0.proxy_jump.imagesets another image, for clusters that only admit images from an internal registry or an approved base, that gate on vulnerability scans, or that need a specific SSH crypto policy on the hop every session goes through. It sits alongsidecpu,memory,node_selectorandtolerations(following #4451 and #4459).models.py:KubernetesProxyJumpConfig.image. The default,JUMP_POD_DEFAULT_IMAGE, moves here next to the other jump pod defaults. The field's description states what the image must provide:sshdat/usr/sbin/sshdrun as root, plus/bin/shandssh-keygen.compute.py:_create_jump_pod_service_if_not_exists()takes the image (cluster.proxy_jump.image or JUMP_POD_DEFAULT_IMAGE).compatibility/backends.py:imageis excluded from requests when unset, so new clients keep working with older servers.concepts/backends.md, plusimagein the "new values don't apply to an existing jump pod" warning, with thekubectl set imagecommand.Checks:
ruff checkandruff formatare clean.dstack attachandssh <run>worked through it. That image'sssh-keygen -Amakes only ECDSA and RSA host keys in FIPS mode, which_get_jump_pod_commands()accepts.🤖 Generated with Claude Code