Pasha Sviderski
521ccf2026
chore(push): run unregistry only if containerd image store enabled for docker
2025-10-09 12:48:51 +10:00
3e804d9ecc
feat: set UNCLOUD_MACHINE_ID in service container ENV ( #135 )
...
* Set machine id in service container ENV
* Add machine id to clone of the container's env map to avoid exposing serialization format
* fix: panic on setting UNCLOUD_MACHINE_ID env var when Env is nil in the spec
---------
Co-authored-by: Pasha Sviderski <me@psviderski.name >
2025-10-07 14:12:00 +10:00
Pasha Sviderski
cce81ecaad
chore(images): simplifies ListImages service, server, and client to only list Docker images and not directly access containerd
2025-10-03 18:25:39 +10:00
Pasha Sviderski
59074a275f
chore(images): initialise Docker service with containerd client
2025-10-02 15:51:54 +10:00
Pasha Sviderski
08f233c5b1
fix: auto-detect containerd.sock path and conditionally start unregistry
2025-09-23 15:10:34 +10:00
Pasha Sviderski
b6b8286118
feat: run embedded unregistry on machine IP in uncloudd daemon
2025-09-19 20:43:20 +10:00
Pasha Sviderski
e99e769455
chore: add Caddy gRPC service to retrieve Caddyfile config from machines
2025-08-21 17:04:42 +10:00
Pasha Sviderski
93fef88fac
chore: refactor Caddyfile generator to accept a validator
2025-08-18 18:48:32 +10:00
Pasha Sviderski
4be8339c51
chore: generate a minimal Caddyfile with verify handler alongside caddy.json
2025-08-14 19:43:40 +10:00
Pasha Sviderski
4cc1e556dd
chore: store ServiceContainer (includes service spec) instead of Container in Corrosion store
2025-08-14 14:53:33 +10:00
Pasha Sviderski
6c244bb8f9
fix: do not try to reset machine when removing unreachable machine
2025-08-06 15:11:27 +10:00
Pasha Sviderski
35d0a90125
fix: add machine with UFW firewall (allow ipv6 management traffic) fixes #65
2025-08-04 16:50:18 +10:00
Pasha Sviderski
4166474ee8
fix: race on cluster init by waiting for corrosion service to become ready with schema applied
2025-07-25 16:28:32 +10:00
Pasha Sviderski
3ab708a437
fix: graceful machine shutdown when not initialised
2025-07-25 10:50:23 +10:00
Pasha Sviderski
7a6c5bf6d7
feat: machine Reset endpoint with asynchronous resource and data cleanup
2025-07-24 19:50:25 +10:00
Pasha Sviderski
9a88e914f4
chore: simplify cluster controller initialisation, prepare for reset
2025-07-24 14:23:33 +10:00
da3634b690
E2E tests use repeated strings for test data where constants add no value ( #97 )
...
---------
Co-authored-by: Pasha Sviderski <me@psviderski.name >
Co-authored-by: Anton Ovchinnikov <anton@tonyo.info >
2025-07-21 19:30:02 +02:00
Anton Ovchinnikov
053d73048c
feat: Basic linting config
2025-07-13 23:50:27 +02:00
Evgenii Orlov and GitHub
10bbe9fbc5
fix: prevent race condition with Docker network creation ( #89 )
2025-07-10 17:51:08 +10:00
Pasha Sviderski
535b91fe52
feat: add stub for Reset method in machine API
2025-07-03 21:28:05 +10:00
Pavel Sviderski
fc61e2fc07
feat: enable passive health checks and upstream retries in Caddy
2025-06-12 18:38:28 +10:00
Pavel Sviderski
ff1a8fbcf9
chore: fix comment
2025-05-16 21:35:21 +10:00
Pavel Sviderski
cf7e333579
feat(dns-server): use embedded DNS server for all service containers
2025-05-01 11:27:27 +10:00
Pavel Sviderski
769f5e47c3
feat(dns-server): check system prerequisites when init/add machine: DNS port is not in use by another DNS server
2025-04-30 20:46:10 +10:00
Pavel Sviderski
8d16da596c
feat(dns-server): run embedded internal DNS server on machine IP in uncloudd daemon process
2025-04-30 17:24:52 +10:00
Pavel Sviderski
64f6a4f3d3
chore: use original service spec instead of deriving from container, fixes diff for scale
2025-03-30 12:54:36 +10:00
Pavel Sviderski
ecbd4378e4
feat(scale): store container spec in local machine.db sqlite
2025-03-29 15:14:43 +10:00
Pavel Sviderski
1becd033e6
chore: rename CaddyConfigPath field
2025-03-29 11:39:45 +10:00
Pavel Sviderski
3757813b20
refactor: rename main module to github.com/psviderski/uncloud
2025-03-22 18:25:08 +10:00
Pavel Sviderski
2a82f75cad
fix: deduplicate discovered machine IPs when adding a new machine
2025-03-05 09:14:11 +10:00
Pavel Sviderski
2e49d94fad
fix: deduplicate discovered machine IPs
2025-03-03 18:42:00 +10:00
Pavel Sviderski
1046396edc
feat(dns): configure and store public IP when adding new machine
2025-02-26 11:16:13 +10:00
Pavel Sviderski
289d964b2a
feat(dns): configure and store public IP when initialising machine
2025-02-25 21:21:37 +10:00
Pavel Sviderski
d0fd9db258
feat(dns): serve machine IP at /.uncloud-verify to verify Caddy reachability
2025-02-25 17:36:44 +10:00
Pavel Sviderski
f6cf5cc250
feat(dns): cluster API for reserving/releasing cluster domain in Uncloud DNS
2025-02-24 17:35:19 +10:00
Pavel Sviderski
7556f8cb12
generate basic caddy.json with empty http and https servers
2024-12-18 22:14:58 +10:00
Pavel Sviderski
2134f3c1d9
add a stub for Caddyfile controller
2024-12-11 12:17:15 +10:00
Pavel Sviderski
d7bad5ed46
add todo
2024-12-04 15:39:13 +10:00
Pavel Sviderski
5621a84e99
add Mode to Service entity
2024-12-03 11:37:13 +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
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
6e0df53f13
add in docker service runner for corrosion
2024-11-27 10:34:42 +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
1316dd3ffc
fix proxy Director usage and close on shutdown
2024-11-08 15:50:28 +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