Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In general, if we wanted to launch Prometheus with a custom version, we can further modify the prometheus.yml file. For example, it is possible to modify the global configuration of the Prometheus server, specify the location of additional .yaml files containing rules that we want to upload to the server or define which resources should be monitored. An extensive overview of the possible configurations is available here.

Installation with Helm

Probably the fastest and most efficient way to get Prometheus is via Helm chart. Add the repo and install the chart (here we work in namespace monitoring)

Code Block
languagebash
titleInstall Chart
collapsetrue
# Add the prometheus-community repo and perform a general update of the repositories
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update
# Install Chart
helm install <chart_name> prometheus-community/kube-prometheus-stack -n monitoring