As part of CTO2B’s autoscaling architecture, the Vertical Pod Autoscaler (VPA) is used to automatically analyze and recommend optimal CPU and memory resource settings for workloads over time. This enhances reliability and performance across user deployments hosted via the CTO2B platform.
✅ Supported Application Types
At CTO2B, VPA support is integrated at the Recommender level and available for applications deployed using the following Helm chart templates:
To activate VPA support in your deployment, add the following configuration to your values.yaml:
vpa:
enabled: true
Once enabled, this will:
This is part of CTO2B's best-practice automation for observability and performance tuning.
CTO2B provides pre-integrated observability via Grafana. To review VPA suggestions:

*Figure 1.1 shows Memory recommendation setting*
As per Figure 1.1 we see that application has set memory:
VPA Recommendation:
As shown in Figure 1.1, VPA has analysed real-time memory consumption and recommends increasing the request to ensure stable performance under typical load. This recommendation helps avoid issues like OOM kills or underutilisation.
By default, CTO2B uses VPA in recommendation-only mode (updateMode: "Off"). This allows developers and DevOps teams to manually inspect and approve resource adjustments.
Advanced Mode (optional):
If desired, you can configure automatic updates by explicitly enabling:
vpa:
updateMode: "Auto"
⚠️ Note: Auto mode causes pods to restart to apply new resource values.
CTO2B uses Karpenter which is a high-performance, flexible, and extensible node provisioning system for Kubernetes clusters. It enables:
By leveraging Karpenter, CTO2B ensures high performance and cost-optimised autoscaling for its development and production workloads. Unlike the Kubernetes Cluster Autoscaler, which modifies node groups based on predefined rules, Karpenter dynamically launches the right compute resources based on the actual scheduling needs of pods.
Karpenter and VPA work together to solve complementary problems:
Key Karpenter Features:
1. Just-In-Time Node Provisioning
2. Cost Optimisation
3. Fast Termination
4. Allows customisable Scheduling Constraints like:
How Karpenter Works
⚠️ As of now, Karpenter is primarily optimised for AWS, but there is active community interest and ongoing development to support other cloud providers such as Google Cloud Platform (GCP) and Azure.