Justin Bradford and GitHub
d89bfb8e03
feat: add uc ps command to list all containers in the cluster ( #165 )
...
* feat: Add `uc ps` command to list all containers in the cluster
* Fix indentation
* Improvements to the container state highlights code (use enum, better var naming)
* Add group/sort option by "health"
* Rename `uc ps --group-by` flag to `--sort`. Also, remove `--context` flag.
* Use huh.spinner with standard style/type
* Remove pointless TrimPrefix on container name
* Move machine lookup out of services loop
* Use more efficient `ListServiceContainers`
* Use consistent header other
* Use api.ProxyMachinesContext helper for context to query all machines for service containers
* Make errored MachineServiceContainer entries a warning, not return an error immediately, in `uc ps`
* Use lipgloss table instead of tabwriter for "uc ps" command
* Handle nil metadata in `uc ps` on container when cluster only has one machine
2025-11-27 20:05:58 +10:00
Pasha Sviderski
5c4f49b685
feat: new cbuild (compose build) command using Compose implementation
2025-10-30 20:54:15 +10:00
Pasha Sviderski
a30ed600b6
chore: update docker and compose Go dependencies to the latest versions
2025-10-08 13:56:58 +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
831c581e0f
feat: try each cluster connection in order until one succeeds, add progress spinner
2025-09-13 21:12:20 +10:00
Pasha Sviderski
9f5ca9a33d
feat: add 'uc caddy config' command to show the current Caddyfile
2025-08-22 20:20:02 +10:00
Pasha Sviderski
8bf9fc0c9c
chore: introduce mockery for generating mocks, generate for CaddyfileValidator
2025-08-18 18:50:47 +10:00
Pasha Sviderski
5c8beb8bd3
chore: tidy up go.mod, remove toolchain
2025-07-03 20:57:56 +10:00
Pavel Sviderski
c56385602e
chore(dns-server): authoritative responses for internal DNS queries and forwarding to ustream servers
2025-04-29 20:20:55 +10:00
Pavel Sviderski
16c876d83f
fix: compare container specs with equate empty option (nil map == {} map)
2025-04-22 23:31:45 +10:00
Pavel Sviderski
3ada89c4f8
fix: adding ucind cluster with tcp connections to config
2025-04-02 19:45:15 +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
1cba1eef0a
refactor: handle CreateContainer server-side
2025-03-28 19:01:19 +10:00
Pavel Sviderski
fb01604d21
fix: recreate containers only if spec changed by comparing spec hash
2025-03-19 13:11:04 +10:00
Pavel Sviderski
e1530bb6f3
feat(deploy): load compose project
2025-03-14 21:41:06 +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
d0e46186ed
feat: look up latest caddy version tag when deploying caddy service
2025-02-16 21:10:06 +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
2b3f325075
generate caddy config with routes from published http(s) ports
2024-12-23 20:41:04 +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
73d41c75b3
add compose-like progress for running service
2024-12-06 15:44:23 +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
5c96f75958
generate a name for the service
2024-11-14 11:56:29 +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
411c3398ce
upgrade to Go 1.23
2024-10-10 23:06:24 -04:00
Pavel Sviderski
d66818ea77
detect if the machine is already initialised
2024-09-23 14:21:06 +10:00
Pavel Sviderski
73be824f30
convert systemd unit to Type=notify and report readiness
2024-09-20 23:11:00 +10:00
Pavel Sviderski
1a5a78e4b3
setup Docker network and iptables forwarding when starting machine
2024-09-19 17:15:33 +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
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
afe9c13283
Implement grpc server in the daemon to receive cluster requests
2024-08-29 10:17:16 +10:00
Pavel Sviderski
3f13f6c0e6
add cmdexec package to execute commands on remote hosts via SSH
2024-08-24 19:55:28 +10:00
Pavel Sviderski
b4606b939b
init machined cli
2024-07-20 21:18:06 +10:00