|
36 | 36 |
|
37 | 37 | 'blocks-storage.tsdb.dir': '/data/tsdb', |
38 | 38 | 'blocks-storage.tsdb.block-ranges-period': '2h', |
| 39 | + 'blocks-storage.tsdb.head-chunks-write-queue-size': 1e6, |
39 | 40 | 'blocks-storage.tsdb.retention-period': '96h', // 4 days protection against blocks not being uploaded from ingesters. |
40 | 41 | 'blocks-storage.tsdb.ship-interval': '1m', |
41 | 42 |
|
|
44 | 45 | 'ingester.tokens-file-path': '/data/tokens', |
45 | 46 | }, |
46 | 47 |
|
47 | | - ingester_statefulset_args:: |
48 | | - $._config.grpcConfig |
49 | | - { |
50 | | - 'ingester.wal-enabled': true, |
51 | | - 'ingester.checkpoint-enabled': true, |
52 | | - 'ingester.recover-from-wal': true, |
53 | | - 'ingester.wal-dir': $._config.ingester.wal_dir, |
54 | | - 'ingester.checkpoint-duration': '15m', |
55 | | - '-log.level': 'info', |
56 | | - 'ingester.tokens-file-path': $._config.ingester.wal_dir + '/tokens', |
57 | | - }, |
58 | | - |
59 | 48 | ingester_ports:: $.util.defaultPorts, |
60 | 49 |
|
61 | 50 | local name = 'ingester', |
|
72 | 61 |
|
73 | 62 | local volumeMount = $.core.v1.volumeMount, |
74 | 63 |
|
75 | | - ingester_statefulset_container:: |
76 | | - $.ingester_container + |
77 | | - container.withArgsMixin($.util.mapToFlags($.ingester_statefulset_args)) + |
78 | | - container.withVolumeMountsMixin([ |
79 | | - volumeMount.new('ingester-pvc', $._config.ingester.wal_dir), |
80 | | - ]), |
81 | | - |
82 | 64 | ingester_deployment_labels:: {}, |
83 | 65 |
|
84 | 66 | local ingester_pvc = |
|
0 commit comments