Code Monkey home page Code Monkey logo

Comments (12)

hjacobs avatar hjacobs commented on August 20, 2024 2

The strict vertical layout of clusters is a huge waste of screen space as can be seen in this screenshot:
screenshot_2017-02-13_20-32-21

from kube-ops-view.

tomislater avatar tomislater commented on August 20, 2024 1

I am working on it. Here is very early stage (only scaling node height and bars): https://media.giphy.com/media/1BgNwU0jJkeDrQKCrH/giphy.gif

from kube-ops-view.

tomislater avatar tomislater commented on August 20, 2024 1

Yeah, I had no better solution... I have another idea, we can gather information about the largest node (the number of pods is the largest) and use it as a template for all nodes.
For instance, let's say that the largest node has 115 pods, we can get Sqrt of this (10.724) and create a grid 11x11 (now we have six pods per row) for pods in this node (and for every other). It has one drawback; if you had many small nodes (with a small number of pods) it would look somehow strange.

from kube-ops-view.

hjacobs avatar hjacobs commented on August 20, 2024 1

👍 Looks better than the variable height and if we keep the minimum size as before the layout would be the same for people with small notes.

from kube-ops-view.

tomislater avatar tomislater commented on August 20, 2024

@hjacobs What do you think about it?

The last one looks somehow crazy, but I added so many pods there ;D

from kube-ops-view.

hjacobs avatar hjacobs commented on August 20, 2024

I don't really like how the different node heights cause the "ragged" look, I would prefer to have something more aligned (but I have no good idea to achieve this).

from kube-ops-view.

hjacobs avatar hjacobs commented on August 20, 2024

Let's try it out..

from kube-ops-view.

tomislater avatar tomislater commented on August 20, 2024

Looks much better, methinks:
screenshot 2019-03-02 at 14 30 32
screenshot 2019-03-02 at 14 29 27
screenshot 2019-03-02 at 14 28 25
screenshot 2019-03-02 at 14 28 00

Nodes on the second screen look strange... so we could keep minimal width/height.

from kube-ops-view.

tomislater avatar tomislater commented on August 20, 2024

screenshot 2019-03-02 at 14 36 46

I have improved the gap between kube-system pods and others.

from kube-ops-view.

tomislater avatar tomislater commented on August 20, 2024

Another improvement: #217

from kube-ops-view.

XenGi avatar XenGi commented on August 20, 2024

The current version looks really good. What I'm missing is the ability to change the rectangle of the cluster. ATM it's always in a 4:3 scale but my monitor is 16:9 so there's always some space wasted. Can you detect what the screen ratio is and adapt the rectangle or give the user the ability to scale the rectangle?

Here's an example:
Screenshot_2019-05-15_11-37-59_cropped

from kube-ops-view.

guillermodep avatar guillermodep commented on August 20, 2024

Hi! I need to resize the layout, could you please tell me how to add more columns, is an environment or what? thaks

from kube-ops-view.

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.