Pavel Sviderski
|
43ddb5c363
|
add PullImage method to gRPC Docker service
|
2024-12-03 18:07:00 +10:00 |
|
Pavel Sviderski
|
5621a84e99
|
add Mode to Service entity
|
2024-12-03 11:37:13 +10:00 |
|
Pavel Sviderski
|
8db7ac84a0
|
add subprocess corrosion service runner
|
2024-12-03 11:07:09 +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
|
6a4a7f2e6a
|
update e2e lifecycle test to test store reconciliation on every node
|
2024-12-02 17:21:06 +10:00 |
|
Pavel Sviderski
|
bb967461d0
|
add logging for starting/restarting corrosion service
|
2024-11-29 12:08:05 +10:00 |
|
Pavel Sviderski
|
0b5dd2f7ba
|
fix network peer configuration when just joining the cluster before store is synced
|
2024-11-29 11:27:51 +10:00 |
|
Pavel Sviderski
|
035f44896d
|
refactor cluster network related constants
|
2024-11-28 19:57:26 +10:00 |
|
Pavel Sviderski
|
6daa1291b5
|
update TODO
|
2024-11-27 16:41:20 +10:00 |
|
Pavel Sviderski
|
c3d3a4242e
|
run corrosion in Docker as uncloud user, bind mount data dir
|
2024-11-27 16:35:35 +10:00 |
|
Pavel Sviderski
|
a6ccd6055a
|
move fs and file ownership related funcs to fs package
|
2024-11-27 14:30:08 +10:00 |
|
Pavel Sviderski
|
ca607ee82d
|
pull corrosion image if doesn't exist
|
2024-11-27 13:37:22 +10:00 |
|
Pavel Sviderski
|
6e0df53f13
|
add in docker service runner for corrosion
|
2024-11-27 10:34:42 +10:00 |
|
Pavel Sviderski
|
e9d07687f2
|
build corrosion image based on wolfi]
|
2024-11-26 20:15:31 +10:00 |
|
Pavel Sviderski
|
5c1a3dd694
|
move generic docker types to top level docker package
|
2024-11-23 15:35:26 +10:00 |
|
Pavel Sviderski
|
6d39174b51
|
add Healthy method to Container that derives it from status string
|
2024-11-21 20:50:55 +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
|
3c1d2201ce
|
add methods to create, update, list, delete containers in store
|
2024-11-19 19:35:38 +10:00 |
|
Pavel Sviderski
|
b4c2ec3a2a
|
sync new and updated containers to cluster store, no deletion yet
|
2024-11-19 16:06:16 +10:00 |
|
Pavel Sviderski
|
bf10b21da5
|
minor comment
|
2024-11-18 20:07:51 +10:00 |
|
Pavel Sviderski
|
2819ba63aa
|
add sync_status field to containers table
|
2024-11-18 19:50:40 +10:00 |
|
Pavel Sviderski
|
54a8b09c9f
|
subscribe to Docker container events with backoff
|
2024-11-18 14:43:42 +10:00 |
|
Pavel Sviderski
|
24371eb401
|
move Docker manager to docker package
|
2024-11-17 19:41:47 +10:00 |
|
Pavel Sviderski
|
9c9e143dc8
|
minor rename
|
2024-11-16 20:28:32 +10:00 |
|
Pavel Sviderski
|
19d53c4f67
|
move Docker management from network controller to standalone DockerManager
|
2024-11-16 20:25:34 +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
|
e82b78df49
|
comment DB schema
|
2024-11-16 06:43:24 +10:00 |
|
Pavel Sviderski
|
741378d0b7
|
create containers table in Corrosion store
|
2024-11-15 21:35:33 +10:00 |
|
Pavel Sviderski
|
2c62e1f6df
|
refactor machine name generation using secrets package
|
2024-11-14 11:47:22 +10:00 |
|
Pavel Sviderski
|
913fb2da0c
|
update ListMachines to include machine state from Corrosion membership
|
2024-11-13 16:48:55 +10:00 |
|
Pavel Sviderski
|
bd0e7f44b2
|
init corrosion admin client in machine
|
2024-11-12 15:23:02 +10:00 |
|
Pavel Sviderski
|
c70c8a6ec1
|
validate machine info before returning in ListMachine
|
2024-11-10 19:38:55 +10:00 |
|
Pavel Sviderski
|
1316dd3ffc
|
fix proxy Director usage and close on shutdown
|
2024-11-08 15:50:28 +10:00 |
|
Pavel Sviderski
|
4493bb3c27
|
support gRPC proxy to remote backends
|
2024-11-08 15:49:21 +10:00 |
|
Pavel Sviderski
|
b23699470b
|
add EmptyResponse common message
|
2024-11-08 11:48:58 +10:00 |
|
Pavel Sviderski
|
34316c77cf
|
add helper Empty message
|
2024-11-08 11:32:42 +10:00 |
|
Pavel Sviderski
|
c2b466b046
|
add common Metadata message to be injected in reply messages by gRPC proxy
|
2024-11-08 11:28:04 +10:00 |
|
Pavel Sviderski
|
d36429e6e5
|
replace API server with transparent gRPC proxy that routes requests to local machine API
|
2024-11-05 20:05:31 +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
|
5cb765d286
|
add Docker gRPC service to create and start a Docker container on machine
|
2024-11-01 15:04:06 +10:00 |
|
Pavel Sviderski
|
5fe77c688b
|
exclude Docker bridge br-[0-9a-f]{12} interfaces from machine routable IPs
|
2024-10-31 18:35:59 +10:00 |
|
Pavel Sviderski
|
2f6c988125
|
do not rotate endpoints on daemon restart, handle endpoint changes on established reverse peer connections
|
2024-10-13 01:15:32 -04:00 |
|
Pavel Sviderski
|
3a644771ca
|
watch for peer endpoint changes and preserve in machine state
|
2024-10-08 16:51:40 +10:00 |
|
Pavel Sviderski
|
2eff7d1e22
|
format
|
2024-10-07 20:06:56 +10:00 |
|
Pavel Sviderski
|
f06dd865fa
|
update existing WG peers instead of replacing to not interrupt and lose track of handshakes
|
2024-10-07 20:06:15 +10:00 |
|
Pavel Sviderski
|
ee580df6af
|
automatically rotate WG peer endpoints if can't establish a connection
|
2024-10-07 17:24:18 +10:00 |
|
Pavel Sviderski
|
2c0cf28509
|
fix peer status persistence, update status every second
|
2024-10-07 15:35:15 +10:00 |
|