Pavel Sviderski
|
98e1bdc9b5
|
fix: fail global deployment if no matchine machines found, improve caddy deploy output in particular
|
2025-02-17 20:31:37 +10:00 |
|
Pavel Sviderski
|
e13408d79f
|
feat: allow to filter machines for global service deployments
|
2025-02-17 20:26:40 +10:00 |
|
Pavel Sviderski
|
8610322682
|
fix: panic when pulling non-existent image
|
2025-02-17 16:12:37 +10:00 |
|
Pavel Sviderski
|
0be42f1f59
|
feat: print deployment plan for caddy deployment
|
2025-02-17 14:29:56 +10:00 |
|
Pavel Sviderski
|
d0e46186ed
|
feat: look up latest caddy version tag when deploying caddy service
|
2025-02-16 21:10:06 +10:00 |
|
Pavel Sviderski
|
625a8baed3
|
feat: implement 'caddy deploy' command to deploy global service using caddy:latest image
|
2025-02-15 10:51:02 +10:00 |
|
Pavel Sviderski
|
98db5ed440
|
feat: caddy deploy command and stub implementation
|
2025-02-15 08:52:14 +10:00 |
|
Pavel Sviderski
|
c4398f9f06
|
refactor: deploy global service using Deployment with RollingStrategy
|
2025-02-14 20:45:23 +10:00 |
|
Pavel Sviderski
|
a53fa2c1d8
|
feat: do not redeploy global service if spec hasn't changed
|
2025-02-14 17:49:46 +10:00 |
|
Pavel Sviderski
|
5e2b2ac836
|
refactor: api.Container to use the detailed ContainerJSON struct instead of Container (Summary)
|
2025-02-14 16:37:40 +10:00 |
|
Pavel Sviderski
|
43f28284f1
|
feat: rolling deploy strategy for global service, always recreate
|
2025-02-13 21:32:08 +10:00 |
|
Pavel Sviderski
|
b17fd7531f
|
feat: detect conflicing service port on a container
|
2025-02-13 11:50:34 +10:00 |
|
Pavel Sviderski
|
9859be50a6
|
feat: add Deployment, Strategy, Operation primitives to compose service deployments
|
2025-02-12 21:17:30 +10:00 |
|
Pavel Sviderski
|
f209851986
|
feat: progress for removing service(s)
|
2025-02-11 21:21:50 +10:00 |
|
Pavel Sviderski
|
4da51636fd
|
refactor: remove service with StopContainer and RemoveContainer
|
2025-02-11 20:43:31 +10:00 |
|
Pavel Sviderski
|
76a9f8e8b6
|
refactor: client StartContainer pass serviceID
|
2025-02-11 16:47:52 +10:00 |
|
Pavel Sviderski
|
a477db6b16
|
refactor: client CreateContainer and StartContainer methods
|
2025-02-11 15:59:36 +10:00 |
|
Pavel Sviderski
|
04fd1b1425
|
feat: introduce client.Service entity for managing service containers
|
2025-02-10 20:21:42 +10:00 |
|
Pavel Sviderski
|
0bf759333a
|
fix: populate ssh_key_file in the config when adding machine to cluster
|
2025-02-10 09:14:54 +10:00 |
|
Connor Edwards
|
3d2d9b78e8
|
fix: rename IdentityFile to SSHKeyFile
|
2025-02-09 18:39:44 +00:00 |
|
Connor Edwards
|
99219dc376
|
fix: set identity_file in config after init
|
2025-02-08 15:59:05 +00:00 |
|
Connor Edwards
|
408703360c
|
fix: use os.UserHomeDir() instead of $HOME
|
2025-02-08 15:56:18 +00:00 |
|
Connor Edwards
|
ac48b8bee6
|
feat: add identity_file field to config connections config
|
2025-02-08 15:56:18 +00:00 |
|
Connor Edwards
|
b2f7c6fb33
|
fix: execute valid bash cmd when running init as root
|
2025-02-07 21:14:27 +00:00 |
|
Pavel Sviderski
|
2a898b3eee
|
add -v|--volume to bind mount host path into a service container
|
2024-12-27 21:25:33 +10:00 |
|
Pavel Sviderski
|
042b44cbb6
|
fix port binding for host ports
|
2024-12-27 21:23:56 +10:00 |
|
Pavel Sviderski
|
3f7726e5fb
|
fix SlogTextHandler to respect minimum log level
|
2024-12-24 17:07:37 +10:00 |
|
Pavel Sviderski
|
2b3f325075
|
generate caddy config with routes from published http(s) ports
|
2024-12-23 20:41:04 +10:00 |
|
Pavel Sviderski
|
4479490db2
|
create custom NewSlogTextHandler log handler to override the json one patched by caddy pkg
|
2024-12-19 13:29:58 +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
|
bfbcec34e8
|
add caddy/v2 dependency to generate a config
|
2024-12-17 17:52:30 +11:00 |
|
Pavel Sviderski
|
8eea34d8dc
|
remove wrong TODO
|
2024-12-11 16:50:15 +10:00 |
|
Pavel Sviderski
|
6b80ef9db8
|
subscribe to container changes in Caddyfile controller
|
2024-12-11 15:14:32 +10:00 |
|
Pavel Sviderski
|
2134f3c1d9
|
add a stub for Caddyfile controller
|
2024-12-11 12:17:15 +10:00 |
|
Pavel Sviderski
|
0652123bc7
|
encode and decode published ports using container labels
|
2024-12-10 19:21:52 +10:00 |
|
Pavel Sviderski
|
4de7ecd747
|
add String() method for PortSpec to convert to publish format
|
2024-12-10 19:14:26 +10:00 |
|
Pavel Sviderski
|
e8908ced9e
|
parse --publish ports into spec
|
2024-12-10 17:57:26 +10:00 |
|
Pavel Sviderski
|
deedbcb8a9
|
minor validation for port
|
2024-12-10 17:37:42 +10:00 |
|
Pavel Sviderski
|
8bfb3b80ed
|
basic validation for hostname in port publishing
|
2024-12-10 17:24:29 +10:00 |
|
Pavel Sviderski
|
848abbd2f8
|
add validation for PortSpec
|
2024-12-10 16:35:47 +10:00 |
|
Pavel Sviderski
|
9cb4b35546
|
implement PortSpec parsing
|
2024-12-10 15:24:34 +10:00 |
|
Pavel Sviderski
|
26df6740e3
|
define PortSpec type for publishing ports
|
2024-12-09 20:25:34 +10:00 |
|
Pavel Sviderski
|
4088fdfd84
|
print image pull progress when running a service
|
2024-12-06 18:27:26 +10:00 |
|
Pavel Sviderski
|
01a71b4b38
|
run each container in global service in parallel
|
2024-12-06 16:00:10 +10:00 |
|
Pavel Sviderski
|
73d41c75b3
|
add compose-like progress for running service
|
2024-12-06 15:44:23 +10:00 |
|
Pavel Sviderski
|
1fb8a3d7a0
|
add ListServices method and ls CLI command
|
2024-12-05 17:21:54 +10:00 |
|
Pavel Sviderski
|
3ce9c8be04
|
fix run command, support 1 replica and global mode
|
2024-12-05 16:24:04 +10:00 |
|
Pavel Sviderski
|
3ac166e6cb
|
move common api types to api package
|
2024-12-05 15:17:36 +10:00 |
|
Pavel Sviderski
|
88ce2d5181
|
implement RunService for replicated mode with only 1 replica
|
2024-12-05 14:01:56 +10:00 |
|
Pavel Sviderski
|
8bddbec7bd
|
wait for test cluster to be ready (all machines up)
|
2024-12-05 13:45:46 +10:00 |
|