Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Display the cluster status/information #7

Closed
dlespiau opened this issue Feb 8, 2019 · 5 comments
Closed

Display the cluster status/information #7

dlespiau opened this issue Feb 8, 2019 · 5 comments
Labels
kind/enhancement New feature or request
Milestone

Comments

@dlespiau
Copy link
Contributor

dlespiau commented Feb 8, 2019

We could show the cluster status and various information about the "machines", maybe.

@dlespiau dlespiau added the kind/enhancement New feature or request label Feb 8, 2019
@dlespiau
Copy link
Contributor Author

dlespiau commented Mar 7, 2019

@ilmanzo suggested the same thing in #78 .

to integrate with external tools, it would be very useful to have a 'list' command that outputs all the machine hostnames, and maybe optionally the current host-container port mapping. This can be done with docker but there can be other containers running, we need only the ones created by footloose.

This command is interesting to see the run-time properties of containers, some data is already available in the config file, although showing the "computed" properties like the hostnames is also interesting.

First we need to decide on a name for the command :) list, show, status, info are good candidates.

We would go through the machine/containers and for each display properties. A first version could have some basic information:

  • hostname
  • running?
  • list of port mappings
  • ...?

It'd be nice if the user could format the output in such a way it's easy to consume by tooling: an option for json output is possible, another is to use go templates similar to docker inspect --format.

@dlespiau dlespiau added this to the 0.4.0 milestone Mar 19, 2019
@Skarlso
Copy link
Contributor

Skarlso commented Mar 21, 2019

Uuuhhh, I'm all for this one if you don't mind.:) I love formatting output.

@Skarlso
Copy link
Contributor

Skarlso commented Mar 21, 2019

@dlespiau ^^

@dlespiau
Copy link
Contributor Author

Of course! It's all yours!

@dlespiau
Copy link
Contributor Author

dlespiau commented Apr 1, 2019

This was addressed by PR #103. More specific issues are filed to improve on it.

@dlespiau dlespiau closed this as completed Apr 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants