Replies: 2 comments 1 reply
-
|
This is a good improvement for usability. How long would this take to implement? On another note: is there a nicer way to display this in the docs, to serve it even better to users? Optimizing the docs on CLI commands for usability could be an viable fix for now. What do you think @aronchick & @seanmtracey ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I like this a LOT. I think @MichaelHoepler's question is the key one, how long? Questions:
Other than that, this is cool! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Background
At present there are different types of nodes, requester and compute. These types are best described as additive, where functionalities are combined, and commutative, where the order of combination does not change the outcome. Users select which type of node to run by passing a value to the
--node-typeflag. If the flag is not provided, its default value isrequester.bacalhau serve --node-type=requester/bacalhau servebacalhau serve --node-type=computebacalhau serve --node-type=requester,compute/bacalhau serve --node-type=compute,requesterProblem
While Compute and Requester nodes share some configuration, they also have configuration unique to their respective types. This leads to the
servecommand have over 60 flags!! Some of the flags configure compute nodes, others requesters, while other apply to both. From the perspective of a user it's not easy to identify which flags go with which node types.Proposal
Introduce a
bacalhau serve computeandbacalhau serve requestercommand with the following criteriaservecommand. For example:--labels--port--host--name--name-provider--tls-*serve computecommand:--allow-listed-local-paths--default-publisher/engine/storages--local-publisher-*--orchestrators--max-job-execution-timeout--min-job-execution-timeoutserve requestercommand:--advertised-address--job-negotiation-timeout--network-portservecommand.bacalhau serve computeandbacalhau serve requestercommands.The result should look similar to:
Beta Was this translation helpful? Give feedback.
All reactions