49a138b670
Fix volume handling and persistence flag
2022-12-25 13:30:14 +01:00
e94d6f78d7
Enable daemonset deployment using the helm chart
...
DaemonSet is a k8s resource that schedules one instance per node,
which is useful for some garage deployment use cases, including
managing garage nodes using k8s node labels
2022-12-25 13:30:14 +01:00
1af4a5ed56
Merge pull request 'Fix router keyword handling ( fix #442 )' ( #446 ) from router-keywords-fix into main
...
continuous-integration/drone/push Build is passing
Reviewed-on: #446
2022-12-15 08:40:26 +00:00
1fcd0b371b
online repair workers: retry on error
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-12-14 16:31:31 +01:00
13c8662126
factorize
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-12-14 16:16:55 +01:00
e6f14ab5cf
better error message handling
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-12-14 16:11:19 +01:00
510b620108
Get rid of background::spawn
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-12-14 16:08:05 +01:00
dfc131850a
Simplified and more aggressive worker exit logic
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-12-14 15:25:29 +01:00
d4af27f920
Add missing notify
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-12-14 13:54:21 +01:00
0d6b05bb6c
Update cargo.nix
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2022-12-14 12:58:24 +01:00
a19bfef508
Improve error message on rpc connection failure
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-12-14 12:57:33 +01:00
d56c472712
Refactor background runner and get rid of job worker
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-12-14 12:51:42 +01:00
2183518edc
Spawn all background workers in a separate step
2022-12-14 12:28:07 +01:00
83c8467e23
Proper queueing for delayed inserts, now backed to disk
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-12-14 11:58:06 +01:00
f8e528c15d
Small refactor of tables internals
continuous-integration/drone/push Build is failing
2022-12-14 10:48:49 +01:00
d1279e04f3
Fix error messages
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-12-13 16:18:01 +01:00
041b60ed1d
Add block.rc_size, table.size and table.merkle_tree_size metrics
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
continuous-integration/drone Build was killed
2022-12-13 15:54:03 +01:00
f8d5409894
cli: more info displayed on error in garage stats
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-12-13 15:46:04 +01:00
d6040e32a6
cli: prettier table in garage stats
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build was killed
2022-12-13 15:43:22 +01:00
d7f90cabb0
Implement block retry-now
and block purge
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
continuous-integration/drone Build was killed
2022-12-13 15:02:42 +01:00
687660b27f
Implement block list-errors
and block info
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-12-13 14:23:45 +01:00
9d82196945
cli: new worker info command
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-12-13 12:24:30 +01:00
a51e8d94c6
cli: rename resync-n-workers into resync-worker-count
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-12-13 11:44:11 +01:00
de9d6cddf7
Prettier worker list table; remove useless CLI log messages
continuous-integration/drone/push Build is passing
2022-12-12 17:17:05 +01:00
f7c65e830e
Merge pull request 'Properly enforce allow_create_bucket' ( #447 ) from fix-allow-create-bucket into main
...
continuous-integration/drone/push Build is passing
Reviewed-on: #447
2022-12-12 14:55:12 +00:00
0e61e3b6fb
Fix bucket creation tests to take permissions into account
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-12-12 15:47:55 +01:00
a0abf41762
Fix router keyword handling ( fix #442 )
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-12-12 12:05:37 +01:00
2ac75018a1
Properly enforce allow_create_bucket
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-12-12 12:03:54 +01:00
980572a887
Merge pull request 'helm: ingress improvements' ( #422 ) from patrickjahns:helm-refactor-ingress into main
...
continuous-integration/drone/push Build is passing
As discussed in the chat yesterday, I want to propose to disable the ingress per default.
The motivation behind this change is, that per default the ingress is "misconfigured"
meaning it can not work with the default values and requires a user of the chart to
add additional configuration. When installing the chart per default, I would not
expect to already expose garage publicly without my explicit configuration to do so
Commenting the ingressClass resource also allows for relying only on
annotations - otherwise the ingressClass would be always set to nginx
or require a user to override it with ingressClass: null
A small change on top, I've added the ability to specify user defined labels per ingress
2022-12-12 00:53:57 +01:00
7a0014b6f7
chore(helm): bump chart number
2022-12-11 23:11:56 +00:00
edb0b9c1ee
feat(helm): allow to add custom labels to created ingress resources
2022-12-11 23:11:56 +00:00
f58a813a36
refactor(helm): disable the ingress per default
...
The default values forces people to create an ingress resources,
where per default an ingress is not necessary to start garage.
If someone wants to utilize an ingress, he would need to define
the values for the ingress either way, so enabling the ingress
explicitly makes more sense, then requiring it to be disabled per default
2022-12-11 23:11:56 +00:00
6e44369cbc
Merge pull request 'Optimal layout assignation algorithm' ( #296 ) from optimal-layout into next
...
continuous-integration/drone/push Build is passing
Reviewed-on: #296
2022-12-11 17:41:53 +00:00
2c2e65ad8b
Merge commit 'ec12d6c' into next
continuous-integration/drone/push Build is passing
2022-12-11 18:41:15 +01:00
9d83364ad9
itertools .unique() doesn't require sorted items
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2022-12-11 18:30:02 +01:00
defd7d9e63
Merge pull request 'Implement /health admin API endpoint to check node health' ( #440 ) from admin-health-api into main
...
continuous-integration/drone/push Build is passing
Reviewed-on: #440
2022-12-11 17:25:28 +00:00
533afcf4e1
simplify
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-12-11 18:17:08 +01:00
5ea5fd2130
Always return 200 OK on /v0/health, reinstate admin api doc as draft and complete it
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-12-11 18:11:28 +01:00
35f8e8e2fb
Merge pull request 'Fix typo in documentation' ( #441 ) from felix.scheinost/garage:documentation-typo into main
...
continuous-integration/drone/push Build is passing
Reviewed-on: #441
2022-12-07 20:42:24 +00:00
d5a2502b09
Fix typo in documentation
continuous-integration/drone/pr Build is passing
2022-12-07 12:43:49 +00:00
d7868c48a4
Separate /health (simple text answer) and /v0/health (full json answer, authenticated)
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-12-05 15:38:32 +01:00
280d1be7b1
Refactor health check and add ability to return it in json
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-12-05 15:28:57 +01:00
2065f011ca
Implement /health admin API endpoint to check node health
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-12-05 14:59:15 +01:00
243b7c9a1c
Merge pull request 'Fix spelling mistake in docs' ( #438 ) from tompearson/garage:fix-typo into main
...
continuous-integration/drone/push Build is passing
Reviewed-on: #438
2022-12-05 12:27:14 +00:00
a3afc761b6
Update 'doc/book/design/goals.md'
continuous-integration/drone/pr Build is passing
2022-12-04 16:27:46 +00:00
19bdd1c799
Merge pull request 'Fix logs appearing twice' ( #435 ) from fix-logs into main
...
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Reviewed-on: #435
2022-11-29 21:30:39 +00:00
448dcc5cf4
Merge pull request 'Make repository into a Nix flake' ( #424 ) from nix-remove-system into main
...
continuous-integration/drone/push Build is passing
Reviewed-on: #424
2022-11-29 21:26:41 +00:00
26121bb619
Fix logs appearing twice
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-11-29 22:23:27 +01:00
280330ac72
Merge pull request 'Add talk to the Capitole du Libre 2022' ( #434 ) from CdL_talk into main
...
continuous-integration/drone/push Build is passing
Reviewed-on: #434
2022-11-27 13:38:13 +00:00
4d7b4d9d20
Add talk to the Capitole du Libre 2022
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
2022-11-27 11:36:01 +01:00