Tutorial Highlights & Transcript
00:00 - Introduction
00:18 - Container Insights
01:01 - Architecture Overview of Container Insights
01:51 - Start of Demo - Installing Container Insights
03:38 - Viewing Container Insights in Amazon CloudWatch Console
This is the resource dashboard and we get all the resources that are running currently in our EKS cluster here along with the CPU utilization and the memory utilization. Below this, you will get the alarms that are created or we will create them in a few minutes. You can also click on any component here and you can filter these resources from the search bar. If I want to search the pods, I can type the pod here and we will get all the related pods here.
The second dashboard that is provided by the container insights is the container map. Here we get the map view of our EKS cluster that is running in our AWS environments. You can see all the related components we can see here like all the namespaces in the EKS cluster and all the pods which are running under the namespaces. If you hover your cursor over these icons, you will get detailed information about CPU utilization and memory utilization. Let me see if our cluster is showing here because it will take a few minutes to populate all that data to the CloudWatch. If you want to get the details, you can click on any component here and a small dashboard will open here. This will show you the CPU utilization of that cluster.
The third dashboard is the performance managing dashboard. Here you get the details and metrics about the cluster. You can get the details at the cluster level, the namespace level, or the pod levels. You can select the clusters which are running from here. This is our EKS cluster, which is named Friday demo. And you can see that at the cluster level, we get that details about the CPU utilization, memory utilization, cluster failures, and disk utilization. Also, we can enable the Application Insights for this EKS cluster.
06:10 - Pod-Level Metrics
07:05 - Running Queries on Log Insights
Let me show you how we can run queries on the log insights. Firstly, we have to select the log group in which we have to run that query. I’m going to select the performance log group here. And for the query, let me copy this. We can paste this query here and run that query. And we will get the details about the pods like this query showing the requested number of pods and currently running pods in our EKS cluster. Also, we can create a dashboard on behalf of these queries from this console. I can create a dashboard from this page so that we can get an overview of all the critical metrics, which we get by running the queries on the log groups. We can add different types of metrics by running the other kind of queries to the log groups. We can get all the details about our cluster. We can create alarms based on these metrics from here. When we install those container insights, we get that custom namespace for the container insight. Using this container insight namespace, we can create alerts or alarms based on different metric names like you can create the alert on the pod memory utilization or CPU memory utilization. By using these container insights, we will get all the details like metrics and alerts in one AWS console using the container insights. So that is all from my side. Thank you, everyone.
Jasmeet Singh
Senior Support Engineer
nClouds
Jasmeet joined nClouds in 2020 as a Support Engineer. Since then, he has been promoted to Senior Support Engineer.