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
In order for brev to connect to workspaces, there needs to be background daemons
10
-
running to manage some things on your local machines environment. Currently, the
11
-
one that is being launched by run-tasks is an ssh config file configuration
12
-
daemon that periodically udpates a ssh config file with connection information
13
-
in order to access you workspaces.
14
-
15
-
This command has to be run at every boot, see [Configuring SSH Proxy Daemon at Boot](https://docs.brev.dev/howto/configure-ssh-proxy-daemon-at-boot/) to
16
-
configure this command to be run at boot.
17
-
18
-
This command is set to be deprecated in favor of `brev configure`.
19
-
20
-
##### Examples
21
-
22
-
to run tasks in the background
23
-
24
-
```
25
-
$ brev run-tasks -d
26
-
PID File: /home/f/.brev/task_daemon.pid
27
-
Log File: /home/f/.brev/task_daemon.log
28
-
```
29
-
30
-
to run tasks in the foreground
31
-
32
-
```
33
-
$ brev run-tasks
34
-
2022/07/11 15:28:44 creating new ssh config
35
-
2022/07/11 15:28:48 creating new ssh config
36
-
37
-
```
38
-
39
-
##### See Also
40
-
41
-
-[Configuring SSH Proxy Daemon at Boot](https://docs.brev.dev/howto/configure-ssh-proxy-daemon-at-boot/)
err:=fmt.Errorf("invalid GPU instance type: %s, see https://brev.dev/docs/reference/gpu for a list of valid GPU instance types", gpu)
76
+
err:=fmt.Errorf("invalid GPU instance type: %s, more information can be found on https://docs.nvidia.com/brev/latest/quick-start.html#select-your-compute", gpu)
cmd.Flags().BoolVarP(&detached, "detached", "d", false, "run the command in the background instead of blocking the shell")
104
104
cmd.Flags().BoolVarP(&empty, "empty", "e", false, "create an empty workspace")
105
105
cmd.Flags().StringVarP(&name, "name", "n", "", "name your workspace when creating a new one")
106
-
cmd.Flags().StringVarP(&cpu, "cpu", "c", "", "CPU instance type. Defaults to 2x8 [2x8, 4x16, 8x32, 16x32]. See docs.brev.dev/cpu for details")
106
+
// TODO: update doc links if re-adding cpu flag and support.
107
+
// cmd.Flags().StringVarP(&cpu, "cpu", "c", "", "CPU instance type. Defaults to 2x8 [2x8, 4x16, 8x32, 16x32]. See docs for details")
107
108
cmd.Flags().StringVarP(&setupScript, "setup-script", "s", "", "takes a raw gist url to an env setup script")
108
109
cmd.Flags().StringVarP(&setupRepo, "setup-repo", "r", "", "repo that holds env setup script. you must pass in --setup-path if you use this argument")
109
110
cmd.Flags().StringVarP(&setupPath, "setup-path", "p", "", "path to env setup script. If you include --setup-repo we will apply this argument to that repo")
110
111
cmd.Flags().StringVarP(&org, "org", "o", "", "organization (will override active org if creating a workspace)")
111
112
// GPU options
112
-
cmd.Flags().StringVarP(&gpu, "gpu", "g", "n1-highmem-4:nvidia-tesla-t4:1", "GPU instance type. See https://brev.dev/docs/reference/gpu for details")
113
+
cmd.Flags().StringVarP(&gpu, "gpu", "g", "n1-highmem-4:nvidia-tesla-t4:1", "GPU instance type. Refer to https://docs.nvidia.com/brev/latest/quick-start.html#select-your-compute for more information")
0 commit comments