Prometheus and Grafana Deployement using Helm File

Himanshu Lohiya
2 min readDec 7, 2018

--

1) navigate to a location with all these folders (grafana/, prometheus/ ) created with corresponding values.yaml files.

2) Create this file: helmfile_specification_pg.yaml

# The context key word can be retrieved by running
# kubectl config view
context: <your_domain>.com # kube-context (--kube-context)
releases:
- name: grafana-deploy # name of this release
namespace: prometheus # target namespace
chart: stable/grafana # repository/chart` syntax
values:
- grafana/values.yaml # value files ( — values)
- name: prometheus-deploy # name of this release
namespace: prometheus # target namespace
chart: stable/prometheus # repository/chart` syntax
values:
- prometheus/values.yaml # value files ( — values)
- name: nginx-deploy # name of this release
namespace: ingress # target namespace
chart: stable/nginx-ingress # repository/chart` syntax
values:
- nginx_ingress/values.yaml # value files (--values)

3) Process desired changes in nginx_ingress/values.yaml files.
Change ingress to true
Update Host Domain Names

4) Run: helmfile -f helmfile_specification_pg.yaml sync

5) Run kubectl get pods,svc -n ingress to see nginx-ingress Kubernetes objects/

--

--

No responses yet