lyraproj/lyra

Prototype UX for dual interfaces: CLI & K8s Object Spec

kenazk opened this issue · 5 comments

We will support multiple interfaces for using Lyra, starting with a CLI version and a K8s object spec.

We should do some investigation on how these interfaces will work with each other. Additionally, we may want the CLI options for deploying the controller to Kubernetes.

Supports #37.

I'm interpreting this to mean:

"As a [user of lyra†], I need to apply workflows directly from my workstation to the target infrastructure platform(s) so that
+ The feedback loop is short"
+ I don't need to faff with k8s for 'hello, world'"

"As a [user of lyra‡], I want to apply workflows via kubectl so that
* I get the benefits of a k8s object lifecycle"
* [etc]"

Accurate?


† = I think the 'producer' of workflows is the primary user of the Lyra CLI for these operations.
‡ = And here, the 'consumer' of workflows is more likely to instantiate workflows someone else has made available to them in their cluster(s).

Yes, thanks for articulating it that way. How does Lyra support both of those interfaces with a common set of functionality?

@scottyw Given that Tiller is going away, can we make an assertion that we'll use the same lyra library for both CLI and Controller workflows?

@kenazk I think we're using the same library both ways. Lyra won't need to run in Kube but we'll likely eventually support it for those who want it.