Deploy a helm chart with git-sourced values file
Learn how to deploy a Grafana instance using Helm chart with configuration values stored in a separate values file, including ingress setup and TLS configuration
Overview
In this guide, you'll learn how to deploy Grafana (a popular monitoring tool) on your Kubernetes cluster using Plural. We'll show you how to use Helm charts - think of them as pre-packaged applications - with configuration values stored in a separate values file. This approach helps separate configuration from deployment logic, making it easier to manage complex deployments and track configuration changes over time.
Prerequisites
Before you begin, make sure to cover prerequisites and setup, and that you have:
cert-manager
, ingress controller andexternaldns
installed in the target cluster.
Info:
When using plural up
and the mgmt
as the target cluster cert-manager
, nginx-ingress
and externaldns
will already be installed.
Step-by-Step Guide: Deploying Grafana with External Values File
Let's walk through deploying Grafana using a Helm chart with an external values file. Feel free to adjust provided file examples according to your needs and commit them to your configured Git repository under the apps
directory. There is a default apps
service that deploys all resources from that directory.
Step 1: Create values file for your Grafana configuration
Create a separate values file to store your Grafana configuration. This approach keeps your configuration neatly separated from the deployment definition.