github.com/yankunsam/loki/v2@v2.6.3-0.20220817130409-389df5235c27/tools/dev/k3d/environments/loki-distributed/values/default/values.libsonnet (about) 1 { 2 lokiValues: function(configStr) { 3 loki: { 4 config: configStr, 5 }, 6 ingester: { 7 replicas: 3, 8 persistence: { 9 enabled: true, 10 }, 11 podAnnotations: { 12 'prometheus.io/scrape': 'true', 13 'prometheus.io/path': '/metrics', 14 'prometheus.io/port': '3100', 15 }, 16 }, 17 distributor: { 18 replicas: 3, 19 podAnnotations: { 20 'prometheus.io/scrape': 'true', 21 'prometheus.io/path': '/metrics', 22 'prometheus.io/port': '3100', 23 }, 24 }, 25 querier: { 26 replicas: 3, 27 podAnnotations: { 28 'prometheus.io/scrape': 'true', 29 'prometheus.io/path': '/metrics', 30 'prometheus.io/port': '3100', 31 }, 32 }, 33 queryFrontend: { 34 replicas: 3, 35 podAnnotations: { 36 'prometheus.io/scrape': 'true', 37 'prometheus.io/path': '/metrics', 38 'prometheus.io/port': '3100', 39 }, 40 }, 41 gateway: { 42 replicas: 1, 43 }, 44 compactor: { 45 enabled: true, 46 persistence: { 47 enabled: true, 48 }, 49 podAnnotations: { 50 'prometheus.io/scrape': 'true', 51 'prometheus.io/path': '/metrics', 52 'prometheus.io/port': '3100', 53 }, 54 }, 55 }, 56 }