Analyzing the memory utilization of Kubernetes pods by using BMC Helix Dashboards
Scenario
Paul is a capacity planner in an IT organization. He manages and monitors all Kubernetes systems in his organization to ensure that the existing infrastructure capacity has sufficient resources to meet the current and future demands. He wants to know whether the Kubernetes pods memory is optimally and efficiently utilized. He wants to analyze the top 10 pods with high memory utilization. Using BMC Helix Dashboards, Paul can write a simple query to get the results he wants.
User roles
The tasks in this use case involve the following user roles:
- Administrator: To configure data collection
- Capacity planner: To analyze the Kubernetes pods
To configure data collection in BMC Helix Continuous Optimization
Alan, the administrator, completes the following prerequisite tasks:
- Log in to BMC Helix Portal as an administrator.
- Click the BMC Helix Continuous Optimization tile.
- Configure the following Moviri ETL to collect data for your Kubernetes provider:
- Identify the required metrics and entities. For example, MEM_USED for Kubernetes pods.
To analyze the Kubernetes pods in BMC Helix Dashboards
Paul, the capacity planner, completes the following tasks:
- Log in to BMC Helix Portal as a capacity planner.
Important: Make sure that the Editor role is assigned to the capacity planner user. - Click the BMC Helix Dashboards tile.
- Do one of the following:
- On the Home page, click
and select New Dashboard.
- From the navigation menu, click Dashboards. Then click New > New Dashboard.
- On the Home page, click
- On the New dashboard page, click Add visualization.
- In the Query section, select the BMC Helix data source for the query.
- In the Query Type field, select Metric.
- In the Source field, select Optimize.
In the Query field, add the following query:
topk (10, MEM_USED{enttype="sys:kubernetes:pod"})- Enter the relevant details in other fields, such as Label, Resolution, and Format.
- Save the query.
- Enter a name for the dashboard, select a folder, and click Save.
Results
Paul is happy about his decision to use BMC Helix Dashboards to achieve his business goals. With BMC Helix Dashboards, Paul can now view and analyze the dashboard that includes the top 10 Kubernetes pods with high memory utilization. He has the option of using a default layout or choosing a different layout that better suits his purpose.
He can easily share the dashboard with other stakeholders or export the dashboard to a PDF for offline analysis. For details, see Sharing and importing dashboards.