Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.33 KB

README.md

File metadata and controls

47 lines (34 loc) · 1.33 KB

Promtail BOSH Release

This is a BOSH release for the Promtail for Linux based stemcells.

It is intented to be deployed as a BOSH Addon and alongside the Loki BOSH Release.

Usage

To use this BOSH release, first upload it to your BOSH:

export BOSH_ENVIRONMENT=<name>
bosh upload-release 

Then create a runtime configuration file:

releases:
  - name: promtail
    version: 0.0.1

addons:
  - name: promtail
    jobs:
      - name: promtail
        release: promtail
        consumes:
          loki: {from: loki, deployment: loki}
    include:
      stemcell:
        - os: ubuntu-trusty
        - os: ubuntu-xenial
    properties: {}

Now you can update your BOSH Runtime Config with the previously created file:

bosh update-config --name promtail --type runtime <your runtime-config.yaml file location>

Once runtime config is updated it will applied to all new deployments (the existing deployments will be considered outdated and they will be update when they are deployed again).

License

Apache License 2.0, see LICENSE.