Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[k8s] Remove SSH jump pod for port-forward mode #3657

Merged
merged 16 commits into from
Jun 30, 2024
Merged
Prev Previous commit
lint
  • Loading branch information
romilbhardwaj committed Jun 29, 2024
commit 17b4519b65d3454b9b86b78b3501391a7a0b3862
4 changes: 1 addition & 3 deletions sky/authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,9 +467,7 @@ def setup_kubernetes_authentication(config: Dict[str, Any]) -> Dict[str, Any]:
# on GKE.
ssh_target = config['cluster_name'] + '-head'
ssh_proxy_cmd = kubernetes_utils.get_ssh_proxy_command(
ssh_target,
port_forward_mode,
private_key_path=private_key_path)
ssh_target, port_forward_mode, private_key_path=private_key_path)
else:
# This should never happen because we check for this in from_str above.
raise ValueError(f'Unsupported networking mode: {network_mode_str}')
Expand Down
Loading