Monitor Azure Kubernetes Service(AKS) with Managed Prometheus and Grafana in AKS

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everyone welcome back to my channel and in this video I will show you how to configure manage preus and grafana inside the kubernetes cluster it's a managed service it means that everything is managed by Microsoft and you need to just configure it in the last video we have installed the preus and grafana inside the kubernetes cluster now here the benefit of the manage grafana and PR you can configure a same preus and grafana service into the multiple cluster so now to create a manage preus click here and here you can see to configure the manage preus you need to create a Azure monitoring workspace and you have to enable the manage preus service so let's click on create button select the resource Group give the name select the region review and create your deployment is complete go to Resource after that here you can see monitor cluster set up a Prometheus metric on commities cluster so click view okay so here here you can click monitored cluster and here you can see your cluster AKs demo is enabled now go to to the kubernetes cluster and go to go to insights and click monitoring setting now here you can see manage preus is uh configured now click on enable grafana advance and create a new yeah it's a new uh new is already selected and click configure so deployment is started let's wait yeah so here you can see onboarding deployment is created now go to properties and click infrastructure Resource Group and here you can see it is not reflected yet so let's wait okay so deployment is in progress so let's wait now here you can see deployment is complete now go to the uh AKs Resource Group and here you can see the data collection rule created data collection endpoint is created then yeah now let me refresh okay now let's go to the manage Azure manage grafana and here here you can see the graer service is also created okay now here let me click here Azure monitoring workspace and here you can see this is our query endpoint so manage from whatever the ID iss. preus monitoring. azure.com okay and this is our Matrix end point Okay now click here and paste here you can see right now you are not able to access it okay so for that now what we have to do we have to go to the grafana services and once we click here this is our grafana endpoint URL so if I click here and give the email address now here you can see the grafana dashboard is not allowing our personal email ID so what we have to do we have to create our own user so click new user give the name grafana and give the password so let me give the password review and create Let me refresh okay now after that go to the graph now click here access control and give the grafana admin access so select graph admin click next next select member grafana review and assign so we have created the user as well as we have cre we have created the grafana admin access to access this dashboard now click here and copy the user account name and here you can see you are now able to access the graph on a dashboard now this is a public URL you can uh give access to any user in your company now let's first of all let's move to the data source okay so here you can see there are multiple data source supported now go to data source and if you click here now see this URL manage from c79 is to is preus monitoring. azure.com so if you if you go here in a man uh in the preus it's a same URL okay so by default it will automatically create for us and here if you go to the dashboard so there are reded dashboards are available as you're monitoring manage premius and Microsoft Defender for cloud so click here manage PRS and here you can click here now here you can see the rimed dashboards are available okay so currently there is no data so let me select other okay so let's wait it will take a time to populate the data okay so I think we have to wait uh sometime to populate the data in the dashboard thank you very much see you in the next video
Info
Channel: Nirav Gandhi
Views: 3,147
Rating: undefined out of 5
Keywords: kubernetes, monitoring, prometheus, grafana, Managed Prometheus and Grafana, Nirav Gandhi, k8s, kubernetes tutorial, kubernetes tutorial for beginners, kubernetes explained, azure kubernetes tutorial, azure kubernetes, AKS, kubernetes interview questions, kubernetes architecture
Id: iSppjWTjWZM
Channel Id: undefined
Length: 9min 6sec (546 seconds)
Published: Tue Oct 17 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.