Percona Monitoring and Management (PMM) is a free and open-source platform for managing and monitoring MySQL, MongoDB, and PostgreSQL performance. It provides a comprehensive set of tools for collecting, analyzing, and visualizing metrics from your databases and servers.
Google Container Engine (GKE) is a managed service for running Kubernetes clusters on Google Cloud Platform. Kubernetes is an open-source system for automating deployment, scaling, and management of containerized applications.
In this article, we will show you how to install PMM on GKE using Helm, a package manager for Kubernetes. Helm simplifies the installation and configuration of PMM by providing pre-defined charts that contain all the necessary resources and settings.
Before you begin, you need to have the following:
The first step is to add the Percona Helm repository to your helm client. This will allow you to access the PMM chart and its dependencies. To do this, run the following command:
You should see a message like this:
The next step is to install the PMM chart using helm. This will create a namespace called pmm and deploy all the required resources for PMM, such as deployments, services, persistent volume claims, secrets, etc. To do this, run the following command:
You should see a message like this:
The final step is to access the PMM web interface using your browser. As shown in the previous message, you need to run some commands in your terminal to get the PMM Server URL and forward the port from your cluster to your local machine. To do this, run the following commands: