Applications / Template
Grafana
Metrics visualization and dashboards
Overview
Deploy Grafana for creating dashboards and visualizing metrics from Prometheus and other data sources.
- Category
- Applications
- Source
- applications/helm/grafana/grafana.yaml
Prerequisites & dependencies
- You must deploy Prometheus before deploying Grafana.
- You must deploy an application profile before deploying Grafana.
- This will deploy grafana in the monitoring namespace.
Source manifest
applications/helm/grafana/grafana.yaml
# Grafana, from its Helm chart
#
# The chart generates the admin password into a Secret in the `monitoring`
# namespace; README.md shows how to read it.
#
# The volume uses the cluster's default StorageClass; set
# persistence.storageClassName if the cluster has none.
#
# Apply: astroctl app apply -f grafana.yaml
# Chart values: https://github.com/grafana-community/helm-charts/tree/main/charts/grafana
apiVersion: platform.astropulse.io/v1
kind: Application
spec:
name: grafana
profileName: <YOUR_PROFILE_NAME>
namespace: monitoring
source:
type: Helm
helm:
repo:
repoURL: https://grafana-community.github.io/helm-charts
chartName: grafana
chartVersion: 14.4.0
values:
object:
persistence:
enabled: true
size: 10Gi
plugins:
- grafana-clickhouse-datasource
Deployment guidance
Go straight to Console to create clusters, deploy applications, and manage supported resources. Templates and CLI commands are optional; not every GitHub manifest has an automatic import path.
Console — start directly
Open Console to create or connect infrastructure and deploy applications without running astroctl or copying this YAML first. This template may still require manual setup.
Open Consoleastroctl
Deploy Grafana
astroctl app apply -f applications/helm/grafana/grafana.yamlGet the Grafana name
astroctl app get grafanaGet the Grafana events
astroctl app events grafanaGet the Grafana logs
astroctl app logs grafanaGet the Grafana status
astroctl app status grafanaDelete the application
astroctl app delete grafanaAccess via port-forward
kubectl -n monitoring port-forward $(kubectl -n monitoring get pods -l app.kubernetes.io/name=grafana -o name) 3000:3000Review placeholders and permissions before running commands. Nothing executes from this page.
Nova
Prefer to describe the goal? Ask Nova to review this example and help plan supported actions. Access, policy, and approvals still apply.