GCP Cloud
1 min
understand how to enable prometheus on google cloud platform, supporting your chosen monitoring system harness the power of prometheus within the google cloud platform by following these user centric steps, you can easily monitor your cloud infrastructure's performance and health prerequisites ensure you have helm installed on your system setting up the environment start by adding the public kubernetes chart repository to your helm configuration with helm repo add stable https //kubernetes charts storage googleapis com considering organization and ease of management, let's create a separate namespace named 'monitoring' for prometheus kubectl create ns monitoring with the namespace ready, it's time to deploy the prometheus operator chart helm install prometheus stable/prometheus operator namespace monitoring to confirm everything's in place, execute the following command kubectl namespace monitoring get pods l "release=prometheus" prometheus dashboard with prometheus now up and running, it is time to dive into its comprehensive dashboard use the kubernetes proxy to access the prometheus dashboard securely this method ensures you're tunneling your connection securely through the kubernetes api server with the following command kubectl port forward n monitoring prometheus prometheus prometheus oper prometheus 0 9090 once a secure connection is established, you can access the dashboard