Commit Graph
148 Commits
Author SHA1 Message Date
Pavel Sviderski 2727c3c97e implement RunService in global mode and RemoveService 2024-12-04 18:26:59 +10:00
Pavel Sviderski 417427b4d5 remove duplicate ErrNotFound in client 2024-12-03 15:47:33 +10:00
Pavel Sviderski 77890b8a8a strip one proto layer in ListMachines method 2024-12-03 11:05:58 +10:00
Pavel Sviderski daada3bbe9 add service inspect command, introduce squirrel for sql query building 2024-12-03 10:56:29 +10:00
Pavel Sviderski 6eb373e4de init InspectService method 2024-12-02 20:36:31 +10:00
Pavel Sviderski 3d5fe0a824 add support for tcp cluster connections in uncloud config 2024-11-28 18:53:47 +10:00
Pavel Sviderski 6d1c3aa5b2 add basic client TCPConnector to directly connect to a gRPC endpoint 2024-11-28 18:53:03 +10:00
Pavel Sviderski df25b0d098 add --mode flag to run command 2024-11-23 15:56:03 +10:00
Pavel Sviderski 5c1a3dd694 move generic docker types to top level docker package 2024-11-23 15:35:26 +10:00
Pavel Sviderski e851f25b12 delete removed Docker containers from store, sync only uncloud labeled 2024-11-19 19:38:11 +10:00
Pavel Sviderski 24371eb401 move Docker manager to docker package 2024-11-17 19:41:47 +10:00
Pavel Sviderski 40f929847c add updated_at field to containers table 2024-11-16 07:37:43 +10:00
Pavel Sviderski e73e38957a add index on containers.machine_id 2024-11-16 07:00:09 +10:00
Pavel Sviderski d31595820d run service container in uncloud Docker network 2024-11-14 19:19:50 +10:00
Pavel Sviderski 035601d366 generate container name and assign service labels to container 2024-11-14 12:05:48 +10:00
Pavel Sviderski 5c96f75958 generate a name for the service 2024-11-14 11:56:29 +10:00
Pavel Sviderski a4be45186d find first available machine for running a service 2024-11-14 09:12:25 +10:00
Pavel Sviderski 5e79697505 move RunService from CLI to the client, print output in the command 2024-11-13 19:52:46 +10:00
Pavel Sviderski 6736839ccb refactor machine ls command: move formatter logic to the command 2024-11-13 17:12:02 +10:00
Pavel Sviderski 913fb2da0c update ListMachines to include machine state from Corrosion membership 2024-11-13 16:48:55 +10:00
Pavel Sviderski 5c74b09f45 allow running a service on a specified machine 2024-11-10 19:38:19 +10:00
Pavel Sviderski 17b96a8744 move default uncloud socket to /run/uncloud/uncloud.sock 2024-11-04 20:02:48 +10:00
Pavel Sviderski a54666a7ac update run command to run a stub service container on the connected node 2024-11-01 15:05:07 +10:00
Pavel Sviderski 2fd1ee203a fix: access to /run/uncloud.sock for a non-root user when initialising a fresh machine 2024-10-04 20:31:23 +10:00
Pavel Sviderski c3ba43a8fa delete old non-distributed cluster state, fix storing endpoints in store 2024-10-02 13:03:17 +10:00
Pavel Sviderski b688742e5a remove the concept of cluster user (at least the current implementation) 2024-10-02 11:50:40 +10:00
Pavel Sviderski 93a9e322f4 provision machine when adding it to the cluster 2024-09-23 14:50:35 +10:00
Pavel Sviderski d66818ea77 detect if the machine is already initialised 2024-09-23 14:21:06 +10:00
Pavel Sviderski 43e2bf86fb fix concurrent output in install.sh 2024-09-21 00:46:58 +10:00
Pavel Sviderski d735d568b3 run install.sh script when initialising a cluster on the init machine 2024-09-21 00:43:33 +10:00
Pavel Sviderski ea8dfca14c delete old unused ClusterClient 2024-09-20 23:04:40 +10:00
Pavel Sviderski 3f497b5e58 add couple TODOs 2024-09-12 17:45:31 +10:00
Pavel Sviderski bd53e3f20e machine add: configure remote machine to join the cluster network 2024-09-12 17:03:23 +10:00
Pavel Sviderski 4e042be7b7 add machine list command and corresponding RPC endpoint 2024-09-12 14:52:07 +10:00
Pavel Sviderski 47073f017f update network peers when new machine added 2024-09-12 13:40:10 +10:00
Pavel Sviderski a64caf34a7 add Token RPC endpoint to grab a machine token for adding it to a cluster 2024-09-12 09:55:02 +10:00
Pavel Sviderski fb236fb922 establish SSH connection when adding a new machine 2024-09-11 20:46:43 +10:00
Pavel Sviderski 03c2c0df39 refactor cluster connection in CLI 2024-09-11 18:40:06 +10:00
Pavel Sviderski 4e2640bbd2 rename machines to connections in config 2024-09-10 16:20:00 +10:00
Pavel Sviderski ddf7d23351 set uncloud group on the unix socket to allow configured non-root users to access it 2024-09-10 16:13:20 +10:00
Pavel Sviderski 9e44d30328 implement CLI init cluster, add SSH and WireGuard cluster connectors 2024-09-10 13:48:14 +10:00
Pavel Sviderski fd314bcf65 add ssh destination to connection config 2024-09-10 13:46:17 +10:00
Pavel Sviderski c58c99e061 rename machine config to state 2024-09-06 09:26:45 +10:00
Pavel Sviderski fd396dd91f add management IP to machine and peer configs, update daemon to listen on it 2024-08-30 18:33:37 +10:00
Pavel Sviderski 41098d00b8 assign ipv6 address to each machine derived from their public keys 2024-08-29 22:37:49 +10:00
Pavel Sviderski eed2c8809c generate user key for new cluster and add it to peers on bootstrap machine 2024-08-29 15:38:13 +10:00
Pavel Sviderski e074b6855f implement uncloudd daemon that starts a WireGuard network without peer probing 2024-08-26 17:09:54 +10:00
Pavel Sviderski d369884f7a uncloud CLI tool and 'machine add' command to bootstrap a new cluster 2024-08-24 20:14:47 +10:00