Predicting the growth of resources in your Kubernetes deployments
This use case describes how to use BMC Helix Continuous Optimization to predict the growth of your resources and how to avoid the risk of saturation.
Scenario
Teresa is a Kubernetes Technology Specialist and plans to onboard a new tenant on July 1. She wants to analyze the capacity of the existing resources and identify the potential risks and bottlenecks in the existing Kubernetes deployments.
Teresa wants to simulate the growth of resources and see the impact of the change on the Kubernetes resources. She faces some of the following challenges in her IT operations management:
- Forecasting the growth of resources based on historical data.
- Identifying the resources that will be saturated over time.
Teresa needs an effective solution to identify all the resource capacity and to quickly identify the resources that are nearing saturation, and to take action to avoid the risk of saturation.
Implementation workflow
Teresa requests that the tenant administrator Tim complete the following activities so that she can predict the capacity of the resources by using BMC Helix Continuous Optimization.
- Register and activate a BMC Helix Continuous Optimization account. For more information, see Onboarding and implementing.
- Create a Planner role for Teresa to log in to BMC Helix Continuous Optimization. For details, see Users and authorization profiles.
- Provide Teresa access to the Kubernetes views. For details, see Managing views.
Task 1: To view the Kubernetes deployments
Teresa needs to do the following steps to view the health of the Kubernetes resources:
- Log in to BMC Helix Continuous Optimization.
- From the Views tab, navigate to Containers > Kubernetes.
- Click the Controllers tab and then click the Capacity tab to view the resource utilization of the controllers as shown in the following example scenario:
For more information about the details displayed in the Kubernetes view, see Kubernetes view.
Task 2: To predict the growth of resources and avoid the risk of saturation
Teresa needs to do the following steps to analyze the health of the resources in the future when she plans to onboard a new tenant:
- Select the controllers for which you want to simulate the growth.
- Click What-if simulation.
- In the Increase percentage field, add a 30% increase on July 1.
- Click Simulate.
For more information, see Predicting the growth of your resources by using simulations.
Task 3: To increase the resources and add changes to the forecast
To address the saturation issue, before the end of June, Teresa will need to add resources.
- Click Add change.
- Select the deployment that shows a risk of saturation.
- Click Scale out and add CPU cores and memory on July 1 to the deployment.
Task 4: Check the results and share the simulation
Based on the changes added, the simulation is rerun and the forecast changes. At a glance, the timeline shows green for the entire forecast period. After Teresa sees that the results indicate that there is now no risk of saturation, she must complete the following steps:
- Check the status of the listed deployments and confirm the status of the resources.
- Save the simulation and send the link to the Infrastructure team to view the additional resources that should be added.
Results
Teresa is able to solve the saturation issue and she can onboard the new tenant in the future based on the simulation results.
Benefits
Teresa can find answers to most of her challenges by using BMC Helix Continuous Optimization. Using the What-if simulation feature, Teresa can:
- Identify the resources at risk of saturation.
- Determine the most probable causes of resource saturation.
- Based on past behavior, predict the growth of resources.
- Plan to add resources in a particular deployment before the date of saturation to avoid the risk of saturation.
Comments
Log in or register to comment.