Skip to content

Comments

Kubernetes: rework jump pod provisioning#3561

Merged
un-def merged 3 commits intomasterfrom
issue_3559_kubernetes_rework_jump_pod_provisioning
Feb 12, 2026
Merged

Kubernetes: rework jump pod provisioning#3561
un-def merged 3 commits intomasterfrom
issue_3559_kubernetes_rework_jump_pod_provisioning

Conversation

@un-def
Copy link
Collaborator

@un-def un-def commented Feb 10, 2026

With these changes, run_job() only creates a jump pod, and it is provisioned in update_provisioning_data() as follows:

  • check if the pod is running, try again later if not
  • collect all cluster external IPs, prefer the pod's node IP, fall back to a random IP if the pod's node has no external IP
  • connect to the jump pod, add the user's public SSH key

This patch also fixes a bug introduced in
#3273 where it was not possible to add another user's public key due to ForceCommand /bin/false.

Fixes: #3559

Base automatically changed from issue_3481_imporve_k8s_offers to master February 11, 2026 12:30
With these changes, run_job() only creates a jump pod,
and it is provisioned in update_provisioning_data() as follows:

- check if the pod is running, try again later if not
- collect all cluster external IPs, prefer the pod's node IP, fall back
  to a random IP if the pod's node has no external IP
- connect to the jump pod, add the user's public SSH key

This patch also fixes a bug introduced in
#3273 where it was not possible
to add another user's public key due to `ForceCommand /bin/false`.

Fixes: #3559
@un-def un-def force-pushed the issue_3559_kubernetes_rework_jump_pod_provisioning branch from 064b628 to 244b188 Compare February 11, 2026 12:31
@un-def un-def marked this pull request as ready for review February 11, 2026 12:39
@un-def un-def requested a review from r4victor February 11, 2026 12:39
@un-def un-def merged commit 7729127 into master Feb 12, 2026
28 checks passed
@un-def un-def deleted the issue_3559_kubernetes_rework_jump_pod_provisioning branch February 12, 2026 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Kubernetes: Jump pod's NodePort is not accessible via ExternalIP of other nodes on some backends

2 participants