Skip to content

Commit 4ab7a51

Browse files
committed
Support ipfs-cluster v0.14.2 new options
1 parent 8f94ae7 commit 4ab7a51

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

roles/ipfs-cluster/templates/service.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,9 @@
168168
"pin_tracker": {
169169
"stateless": {
170170
"max_pin_queue_size": {{ ipfs_cluster_stateless_max_pin_queue_size | default(1000000) }},
171-
"concurrent_pins": {{ ipfs_cluster_stateless_concurrent_pins | default(10) }}
171+
"concurrent_pins": {{ ipfs_cluster_stateless_concurrent_pins | default(10) }},
172+
"priority_pin_max_age" : "{{ ipfs_cluster_stateless_priority_pin_max_age | default('24h') }}",
173+
"priority_pin_max_retries" : {{ ipfs_cluster_stateless_priority_pin_max_retries | default(5) }}
172174
}
173175
},
174176
"monitor": {
@@ -181,6 +183,15 @@
181183
"disk": {
182184
"metric_ttl": "{{ ipfs_cluster_informer_disk_metric_ttl | default('5m') }}",
183185
"metric_type": "{{ ipfs_cluster_informer_disk_metric_type | default('freespace') }}"
186+
},
187+
"tags": {
188+
"metric_ttl": "30s",
189+
"tags": {{ ipfs_cluster_informer_tags_tags | default({}) | to_json }}
190+
}
191+
},
192+
"allocator": {
193+
"balanced": {
194+
"allocate_by": {{ ipfs_cluster_allocator_balanced_allocate_by | default(["freespace"]) | to_json }}
184195
}
185196
},
186197
"observations": {

0 commit comments

Comments
 (0)