You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8f96d89
Browse filesBrowse the repository at this point in the historyBrowse files
[SSH] Enable agent shims on dedicated clusters (#7190)
## Changes
Install agent shims on dedicated clusters too
## Why
To allow customers to use agents on dedicated clusters
## Tests
updated/added tests
---------
Co-authored-by: Isaac <no-reply@databricks.com>
userHomePart=" The user's Databricks workspace home directory is "+wsHome+"."
830
831
}
832
+
computePart:="dedicated cluster"
833
+
persistencePart:="Local files persist across sessions until the cluster restarts or terminates; only paths under /Workspace and /Volumes persist beyond that."
834
+
ifserverless {
835
+
computePart="serverless cluster"
836
+
persistencePart="This container is ephemeral; only paths under /Workspace and /Volumes persist across sessions."
837
+
}
831
838
returnfmt.Sprintf(`You are running inside a "databricks ssh connect" session on the driver node of a
832
-
Databricks serverless cluster.
839
+
Databricks %s.
833
840
- The "databricks" CLI is installed and already authenticated: DATABRICKS_HOST and DATABRICKS_TOKEN are set in the environment, so "databricks ..." commands work with no "databricks auth login". The same token governs Unity Catalog and serving-endpoint access.
834
-
- This container is ephemeral; only paths under /Workspace and /Volumes persist across sessions.%s
835
-
- You can run shell commands and use the "databricks" CLI to explore the workspace.`, userHomePart)
841
+
- %s%s
842
+
- You can run shell commands and use the "databricks" CLI to explore the workspace.`, computePart, persistencePart, userHomePart)
0 commit comments