Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.47 KB

File metadata and controls

30 lines (23 loc) · 1.47 KB

Deployment

As a requirement you need to have prometheus pushgateway installed in your cluster. You can install it by using the pushgateway helm chart.

You can apply the deployment files on the deployment page to your cluster. You may want to change the namespace of the resources depending on your cluster configuration/preferences, default namespace is local-path-exporter. Some environement variables are defined in the deployment files. You can change them according to your needs.

          # If helm release name of pushgateway is different from "pushgateway" OR 
          # you are planning to deploy exporter to another namespace rather than the one that pushgateway deployed to
          # then you have to specify pushgateway address as an environment variable
          - name: PUSHGATEWAY_ADDRESS 
            value: "10.99.84.233:9091"

          # If storage class name is different from "local-path" then you 
          # should specify it here
          - name: STORAGE_CLASS_NAME
            value: "local-path"

          # Default Log Level is INFO
          - name: LOG_LEVEL
            value: "INFO"

          # Default Job Log Level is DEBUG
          - name: JOB_LOG_LEVEL
            value: "DEBUG"

          # Default Volume Provision Path is /opt/local-path-provisioner
          #- name: VOLUMEPROVISIONPATH
          #  value: "/opt/local-path-provisioner"