Skip to content

Install uc CLI on each cluster machine and allow running uc command agains local cluster #148

@psviderski

Description

@psviderski

At the moment, you can run uc CLI only locally or on a control machine to control the remote cluster.

We can also install uc on every cluster machine and allow it to control the local cluster so a user can SSH into any machine and run uc commands there if they want to.

Technically, we can achieve this by automatically detecting if /run/uncloud/uncloud.sock is present on the machine when running uc. If the control socket is present and the uncloud config is not preset, try to connect to the cluster via the local unix socket. Essentially running uc as:

uc --connect unix:///run/uncloud/uncloud.sock ...

We also need to implement a unix socket cluster connector for this to work. Should look similar to the TCP one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions