github.com/yankunsam/loki/v2@v2.6.3-0.20220817130409-389df5235c27/production/nomad/loki-simple/README.md (about) 1 # Simple scalable deployment mode 2 3 This Nomad job will deploy Loki in 4 [simple scalable deployment mode](https://grafana.com/docs/loki/latest/fundamentals/architecture/deployment-modes/#simple-scalable-deployment-mode) 5 with minimum dependencies, using boltdb-shipper and S3 backend and with the 6 ability to scale. 7 8 ## Usage 9 10 Have a look at the job file and Loki configuration file and change it to suite 11 your environment. 12 13 ### Run job 14 15 Inside directory with job run: 16 17 ```shell 18 nomad run job.nomad.hcl 19 ``` 20 21 To deploy a different version change `variable.version` default value or specify 22 from command line: 23 24 ```shell 25 nomad job run -var="version=2.6.1" job.nomad.hcl 26 ``` 27 28 ### Scale Loki 29 30 Change `count` in job file in `group "loki"` and run: 31 32 ```shell 33 nomad run job.nomad.hcl 34 ``` 35 36 or use Nomad CLI 37 38 ```shell 39 nomad job scale loki write <count> 40 ```