On 02/01/2016 07:08 AM, Andrew Huffman wrote:
I was wondering if it's possible to include the
cockpit-kubernetes plug-in into the cockpit/ws container.
I cloned the
https://github.com/cockpit-project/cockpit-container.git project down and
modified the Dockerfile to also install the
https://kojipkgs.fedoraproject.org/packages/cockpit/$VERSION/$RELEASE.fc2...
package. After the build, and performing a 'atomic run <my tag>' cockpit
fires up as normal, but apparently the kubernetes plug-in is missing from the UI.
Any thoughts or suggestions, or is this not possible to do? I did see someone else was
looking for this functionality on the project's issues area.
The cockpit-ws container is used to run the packages on the host system,
it does not bring along it's own cockpit subpackages. To use the
kubernetes UI along with other cockpit features the cockpit-kubernetes
package needs to be installed on the host system.
If you only want the kubernetes UI without cockpit, it can be deployed
as a standalone container. This is still under development so it's not
pushed to docker.io yet. But it should be possible to build on your
machine if you are interested.
https://github.com/cockpit-project/cockpit/tree/master/images/kubernetes