You enable Adaptive Pod placement (APP) at the cluster level through the Helm values.yaml configuration.
You can enable APP during the initial installation of Kompass or after Kompass has been installed.
Enable Adaptive Pod placement during Kompass installation
You can enable APP at the same time that you install the Insights agent.
Prerequisites
You are also enabling Pod rightsizing on the cluster.
To enable Adaptive Pod placement in a new installation of Kompass:
Edit values.yaml and add these lines:
Kompass-pod-placement
enabled: trueWhen installing with the UI, you download and edit values.yaml during the Insights agent installation.
When installing with Terraform, install the Insights agent first. Terraform will output values.yaml. You can then edit that file.
Continue to install Kompass as directed.
Enable Adaptive Pod placement in an existing Kompass installation
You can enable APP into an existing Kompass installation.
Prerequisites
Pod rightsizing is enabled on the cluster.
You have the cluster-specific Kompass onboarding values.yaml file.
If your account was onboarded using Terraform, you can find this in your environment.
You can also download values.yaml through the Zesty platform UI by beginning the Install Kompass Insights agent procedure through step 4. Do not proceed to install the Insights agent.
To enable Adaptive Pod placement in an existing Kompass installation:
Edit values.yaml file by adding these parameters at the top level (the same as other Kompass components):
kompass-pod-placement: enabled: trueRun helm upgrade.
This creates the required components (ConfigMap, controller, webhook) and applies the configuration.
Optional configurations
You can configure the following parameters during the installation:
Parameter | Description | Default | Environment variable |
|---|---|---|---|
| How often pods in the cluster are reclassified | Duration |
|
| Minimum time between Pod eviction cycle | Duration |
|
| Fraction of workload replicas that can be simultaneously deleted (e.g. 0.2 = 20%) | Float |
|
See also: