Git Product home page Git Product logo

Comments (6)

davidfowl avatar davidfowl commented on August 17, 2024 1

Decouples tye CLI from a web page - this has confused me a few times, as closing a terminal window rarely impacts a web page in my experience.

Yes I think that's one of the reasons for making that kind of experience in the first place. We'll have to do something like this anyways to make it run in the cluster.

I'm hesitant to rely on docker for core functionality but it might be fine as a mode.

from tye.

staff0rd avatar staff0rd commented on August 17, 2024 1

Presume this would watch tye.yaml for changes and recreate containers based on changes to the .yml, rather than currently having to kill/restart tye run

from tye.

ChadJessup avatar ChadJessup commented on August 17, 2024

Just a thought, but could the dashboard be in a container that is automatically added to a tye.yaml?

It'd be useful to have a preexisting and non-trivial working component in a new tye project by default. Especially one that uses some of the newer goodies like Blazor, and potentially uses the very features that tye offers for microservices...

from tye.

davidfowl avatar davidfowl commented on August 17, 2024

What does the dashboard being in a container gain you?

from tye.

ChadJessup avatar ChadJessup commented on August 17, 2024

What does the dashboard being in a container gain you?

No must-haves, but aside from the built-in sample I mentioned above, I think it'd also be useful to a user of tye for a few other reasons:

  • Bootstrap: Bellwether service showing that everything is working (docker/dotnet core/kubernetes/tye/permissions/registry)
  • Bootstrap: A built-in dashboard is a great bootstrapping tool.
  • Decouples tye CLI from a web page - this has confused me a few times, as closing a terminal window rarely impacts a web page in my experience.
  • Can restart/shutdown the dashboard directly if it's not needed.
  • Can deploy the dashboard to k8s as well with deploy, which could keep the same experience as local dev, and give immediate access to logs, health (#19), metrics after deployment. Potentially even use k8s's downward APIs to help manage things if something like replication, and lifecycle control is planned from the dashboard itself (shutdown, restart, spin up five of these, etc).
  • I imagine tye CLI could be used to point to different hosts like kubectl's --context flag. But, I'm not sure how intertwined the dashboard and hosting functionality are.

Cool thing is tye already knows how to create containers and helm charts, could be like an embedded resource thing that turns into a container...but, just thinking out loud on that 🤔.

from tye.

rynowak avatar rynowak commented on August 17, 2024

Yes, we super want this 👍

The work that I did this milestone with diagnostics integration makes it even more important because those things are slow to start.

from tye.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.