What's new
Multiple connection support
When connecting to a cluster, the CLI will now try each connection in the Uncloud config (~/.config/uncloud/config.yaml) until one succeeds. A progress spinner indicates what connection it is trying.
current_context: default
contexts:
default:
connections:
- ssh: ubuntu@152.67.101.198
- ssh: root@1.2.3.4
- ssh: ubuntu@137.123.45.67Screen.Recording.2025-09-13.at.9.15.40.pm.mov
Auto-confirmation for deployment
You can auto-confirm the deployment plan either locally or on CI with -y|--yes flag or UNCLOUD_AUTO_CONFIRM=true environment variable:
uc deploy --yes
# or
UNCLOUD_AUTO_CONFIRM=true uc deploySkip machine provisioning
New --no-install flag for machine init and machine add commands allows you to skip the automatic installation of Docker, Uncloud daemon, and dependencies on the machine. Useful when you want to use your own method for installing Uncloud daemon on the machine. See #122.
uc machine init user@server --no-installEnv vars
Instead of the --uncloud-config and --connect flags, you can now use the following environment variables:
UNCLOUD_CONFIG- Override the default config file path (~/.config/uncloud/config.yaml)UNCLOUD_CONNECT- Connect to a remote machine without using a config file
Changelog
- 6d0b1dc chore bump mise version on CI to 2025.9.6
- e1734a1 chore: bump Go to 1.25.1
- 51840e0 chore: bump golangci-lint to 2.4.0
- 375bb38 chore: bump golangci-lint to 2.4.0 on CI
- 84376bb chore: mise.lock include checksums for linux-x64
- 8a273db chore: rename cluster -> context option in commands for consistency
- 1f62e30 chore: update mise checksums for linux-x64
- 88f05ff chore: update mise checksums for macos-arm64
- f8fe3c7 feat: --no-install flag for 'machine init/add' to skip installing Uncloud daemon and dependencies #122
- bc07847 feat: add -y|--yes flag for 'us deploy' to auto-confirm deployment plan
- 3db07ca feat: allow setting config and connection with UNCLOUD_CONFIG and UNCLOUD_CONNECT env vars
- 831c581 feat: try each cluster connection in order until one succeeds, add progress spinner
- 8f906cf fix: do not auto-confirm deploy plan on CI (no TTY), require explicit --yes or UNCLOUD_AUTO_CONFIRM=true
- b6e9766 lint: gRPC status.Error for static error messages