NavigationContentFooter
Jump toSuggest an edit

Deploy Grafana on Scaleway Kubernetes clusters using Easy Deploy

Reviewed on 13 June 2024Published on 13 June 2024
  • Grafana
  • kubernetes
  • easy
  • deploy

Grafana is a powerful open-source platform for monitoring and observability, allowing users to visualize and analyze metrics from various data sources. It provides interactive dashboards, alerts, and custom reports, making it invaluable for tracking system performance, diagnosing issues, and gaining insights into complex environments. Grafana’s flexibility and ease of use make it a popular choice for managing applications and infrastructure.

Before you start

To complete the actions presented below, you must have:

  • A Scaleway account logged into the console
  • Owner status or IAM permissions allowing you to perform actions in the intended Organization
  • A valid API key
  • Created a Scaleway Kubernetes Kapsule or Kosmos cluster

Deploying the Grafana application using Easy Deploy

Important

When configuring your Kubernetes cluster, note that certain applications and services, such as Grafana, may result in additional resources being provisioned. For example, your YAML configuration might create Block Storage volumes or Load Balancers, which could incur extra costs.

  1. In the Scaleway console, navigate to the Kubernetes section under Containers.
  2. Click the name of the cluster where you wish to deploy Grafana. The Cluster Information tab will display.
  3. Click the Easy Deploy tab. The application dashboard displays.
  4. Click Deploy Application. The application deployment wizard displays.
  5. Choose Application Library to see the list of available applications.
  6. Select the Grafana application.
    Tip

    If you cannot find Grafana on the first page, use the search bar or navigate through the library.

  7. Optionally, customize the default configuration for Grafana using Helm Charts. If you do not need any customized configuration you can skip this step.
  8. Enter a name and a Kubernetes namespace for your application. If no name is entered, Grafana will be installed in the default namespace of the cluster.
  9. Click Deploy Application to deploy Grafana on your Kubernetes cluster.

Retrieving the Grafana admin password

  1. Access the Kubernetes Dashboard of your cluster and navigate to Secrets under the Config and Storage section.
  2. Select the name of your Grafana application to display its data.
  3. Click the eye icon next to admin-password to reveal the Grafana admin password. Copy the password.

Connecting to Grafana

Grafana uses a LoadBalancer to manage traffic. To check the deployment status, run:

$ kubectl get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
application-silly-sammet-grafana LoadBalancer 10.34.223.177 51.159.xxx.yy 80:32483/TCP 35s
kubernetes ClusterIP 10.32.0.1 <none> 443/TCP 4h58m

Once the external IP status changes from <PENDING> to the assigned external IP, your Grafana application is up. Copy the IP address and paste it into a web browser. The Grafana login screen will appear.

Logging into Grafana

  1. Paste the external IP address of the LoadBalancer service into your web browser to open the Grafana login screen.
  2. Enter admin as the username and the password retrieved in the previous step to log in.

Going further

For more information about Grafana and setting up your metrics, refer to the official Grafana documentation

Docs APIScaleway consoleDedibox consoleScaleway LearningScaleway.comPricingBlogCarreer
© 2023-2024 – Scaleway