-
Notifications
You must be signed in to change notification settings - Fork 51
Start Cockpit service bydefault for ADB #389
Comments
what's the footprint of Cockpit?
Helping you in which way? What do you gain?
Why not? |
Regarding all these add-ons, I am wondering whether some sort of variant system as in Mac Ports could be used (at least syntax wise). Something like:
|
It uses around 10MB or RAM.
It helps users who are more comfortable with GUI.
Because you need ssh client to do |
@hferentschik I am not sure. I will get back if I get better ideas. |
@LalatenduMohanty (just a note) we have to make sure 9090 port is not used by any other service otherwise it might create conflict. (currently we don't have any service with using 9090 port but in future we might be). |
I doubt you will get happy with the whole setup without ssh installed. In fact without ssh our shell provisioning is probably not going to work either.
10 MB of RAM and that's enough for running the monitoring and web UI and all? That said, I like the idea of Cockpit. Not for the reasons mentioned so far, but because afaiu is is an alternative to Hawkular when it comes to metrics and hence will allow to configure autoscaling (need to verify this). Whether it should be installed and enabled per default I am not so sure about. |
I am still opposed to the idea of starting this by default for the following reasons (and a few others which escape me at the moment):
I believe cockpit by default appeals to a lot of us, me included, because we are Linux users and want to touch the machine. However, I believe our user base for ADB has the exact opposite feeling. A perfect ADB disappears from the users view. |
Right. But they want to use docker and hence want to run docker commands.
Unless we give users an experience we can not say if they will like it or not. Giving different choices to users is not bad thing . However the cost of choices something we should be aware of.
We can do it. We have recently removed multiple packages from ADB from default installation package set. It would need a mail to container-tools and waiting for lazy consensus (couple of weeks).
RHEL eco-system supports Kubernetes too. OpenShift is not the only user story we have. It again comes to user freedom and choice. User can choose between OpenShift and Kubernetes. If OpenShift proves to be a better solution then user might want to migrate. But ecosystem supports both. Cockpit also give GUI for Kubernetes. So thats another incentive. |
@hferentschik yes, thats what my tests said. But I did a very basic test. |
Yes,
Providing instructions and not enabling cockpit by default is not the same as not providing the option. Users can try it now without it being on by default. It is 5 steps. Only 2 steps if you ignore starting the ADB, opening the web browser and using cockpit. This is not a hardship. This is not full of friction.
The built in packages were not heavily promoted or made part of a user story. We pivoted a long time ago away from thinking of shell as our primary access point.
Then in the spirit of this we should enable no GUI and let the user choose. |
There is a difference. Cockpit is not a very famous project at this moment. So I do not see a reason an user would do some steps to enable it unless we make part of the default experience.
Shell is not the primary reason I am in favor of Cockpit. It is a mix of goodies. Also we never moved away from shell. Local docker, oc clients are part of this experience. But we want to move away from
If an user uses Vagrantfile for OpenShift he/she gets a GUI. But for Kubernetes we don't have any solution at this moment. |
Actually I think Cockpit has a much stronger community and footprint than ADB (or perhaps even most of Atomic). In fact, once we get
When I wrote shell I meant
Then make Cockpit start automatically in the Kube Vagrantfile and not anywhere else. Before we do that we should determine if this is the right Kube gui or if we should consider bundling one that the Kube community finds to be more effective. Knowing Cockpit's plans for Kube would be helpful in this decision too. |
Nice discussion :-) I side with @bexelbie, enabling per default seems wrong to me. Documenting how it is done is perfectly fine and I still like my idea variants of some sorts where the user chooses which additional components to install. Also, as memory efficient as this may be, it still does consume memory and cpu. It feels wrong to keep adding things per default, if we are on the other hand even started to talk about creating slimmed down VM for specific use cases. |
After the above discussion I am ok with not starting it by default. But if we are not making part of default experience then I don't think there is much value addition by having Cockpit packages pre-installed in ADB. Because Cockpit is available in CentOS core (base OS). The user can just run command I have opened an issue regarding this #396 |
I dont think we have anything more to discuss in this issue. Closing it. |
vagrant up
should start the Cockpit service by default in the Vagrantbox. Because Cockpit GUI an user can do docker pulls , docker runs etc . Cockpit also provides a web terminal which can used to run docker commands without logging in to the Vagrantbox (it is useful for Windows users asvagrant ssh
does not work naively in Windows).Also as per Cockpit documentation it can be used to manage Kubernetes clusters. However for that we need to add
cockpit-kubernetes
RPM to ADB.The text was updated successfully, but these errors were encountered: