You can configure automatic headroom with Kubernetes Operations (kOps) to keep spare capacity ready for new pods. This helps workloads scale faster and improves resiliency during interruptions. Automatic headroom is configured at the cluster level, not at the virtual node group level.
-
Add the required metadata labels
Add the following labels to your kOps cluster configuration. These labels enable automatic headroom and define the percentage of spare capacity you want to maintain.spotinst.io/autoscaler-auto-config: "true" spotinst.io/autoscaler-auto-headroom-percentage: "20" spotinst.io/ocean-default-launchspec: "true" -
Apply these labels to your InstanceGroup configuration
Here’s an example of how these labels can be added to an InstanceGroup manifest:apiVersion: kops.k8s.io/v1alpha2 kind: InstanceGroup metadata: name: "test-vng-2" labels: kops.k8s.io/cluster: "erez-via-2.ts.ek8s.com" spotinst.io/spot-percentage: "50" spotinst.io/autoscaler-auto-config: "true" spotinst.io/ocean-default-launchspec: "true" spotinst.io/autoscaler-auto-headroom-percentage: "20" spotinst.io/autoscaler-headroom-num-of-units: "2" spotinst.io/autoscaler-resource-limits-max-vcpu: "2" spotinst.io/autoscaler-headroom-mem-per-unit: "1024" spotinst.io/autoscaler-headroom-gpu-per-unit: "0" spec: role: Node maxSize: 1 minSize: 1 -
Apply your updated configuration
After you update your InstanceGroup definition, apply your kOps changes to update the cluster.
Related Articles
Why you can't configure headroom at a node level 4Number of Views Configuring env.java_home for Snow Inventory Agents and Oracle Scanners 90Number of Views Fix “could not find any applicable instance type to scale up” for pending headroom tasks 5Number of Views Conflict between IPv4 and IPv6 lmgrd when using automatic ports: (error code: -97,121). 7Number of Views Configure ARL import to use proxy server without using Internet Explorer settings 45Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago