Code Monkey home page Code Monkey logo

kute's People

Contributors

sacrebleu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

kute's Issues

stacktraces on startup

  • expired session
  • invalid profile for kubectx

handle these more gracefully, perhaps allow kute to keep a local profile mapping file to make this easier?

Check for nodes with NoSchedule to ensure they render

 5: from kute/ui/controller/nodes.rb:55:in `handle'
4: from kute/ui/controller/nodes.rb:43:in `go_pods'
3: from kute/ui/controller/pods.rb:20:in `for_node'
2: from kute/ui/cards/pods.rb:94:in `for_node'
1: from priv/kute/ui/cards/pods.rb:100:in `refresh'
kute/ui/cards/pods.rb:142:in `select!': undefined method `select!' for nil:NilClass (NoMethodError)```

Recursive chain of events is a blown stack risk

Every keypress invokes another set of stack frames in the TTY::Reader event loop.

Kute needs a refactor so that the event thread handles events, then hands them off.

Suggested architecture:

  1. rendering thread - renders current state of model whenever the model is tainted
  2. event detection loop - detects keypresses, pushes them to a event queue or channel
  3. event handler loop - polls channel for events, processes them.

Dump kubectl commands

Give a method to dump kubectl describe or kubectl get commands for the currently selected resource.

Version resolver for kubernetes clusters.

Resources are promoted across api versions - a resolver is required to make this seamless. Perhaps a client dispatcher which lazy initialises clients and passes references back based on the resource type being requested.

Exception in Service details pane

/Users/jbotha/priv/kute/ui/controller/base.rb:213:in handle': undefined method select_next!' for #Ui::Cards::Service:0x00007fde99939b10 (NoMethodError)****

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.