Skip to content

Commit

Permalink
docs: Include ssh config in demo example
Browse files Browse the repository at this point in the history
Signed-off-by: JiaWei Jiang <[email protected]>
  • Loading branch information
JiangJiaWei1103 committed Dec 31, 2024
1 parent 8229418 commit 9e6d8a6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions plugins/flytekit-slurm/demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ from flytekitplugins.slurm import Slurm, SlurmTask

@task(
task_config=Slurm(
ssh_conf={
"host": "<ssh_host>",
"port": "<ssh_port>",
"username": "<ssh_username>",
"password": "<ssh_password>",
},
srun_conf={
"partition": "debug",
"job-name": "demo-slurm",
Expand Down

0 comments on commit 9e6d8a6

Please sign in to comment.