# Does K8s support in-place autoscaling, which means update cpu on the fly

**URL:** <https://discuss.kubernetes.io/t/does-k8s-support-in-place-autoscaling-which-means-update-cpu-on-the-fly/23475>\
**Category:** General Discussions\
**Created:** [March 15, 2023, 8:53am UTC](https://discuss.kubernetes.io/t/does-k8s-support-in-place-autoscaling-which-means-update-cpu-on-the-fly/23475 "2023-03-15T08:53:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nilhil](https://avatars.discourse-cdn.com/v4/letter/n/7feea3/32.png) [@nilhil](https://discuss.kubernetes.io/u/nilhil)\
**Post date:** [March 15, 2023, 8:53am UTC](https://discuss.kubernetes.io/t/does-k8s-support-in-place-autoscaling-which-means-update-cpu-on-the-fly/23475/1 "2023-03-15T08:53:24Z")

</div>

Does K8s support in-place autoscaling, which means update cpu resource on the fly. I want to change the cpu utilization of a pod without any termination(restarting or evcting).

I have look for this anwser for a long time. I see that the [enhancement](https://github.com/kubernetes/kubernetes/pull/102884) in K8s menting it is achieved in K8s, but when I asked this issue in slack of `sig-autoscaling`, they told me it is not achieved now as in the [PR](https://github.com/kubernetes/enhancements/issues/1287), and it waits for other components(like kubelet or CRI) to supports auto-scaling on the fly.

Now I can’t tell whether K8s supports in-place autoscaling or not. Who can tell me the exact answer？  
Thanks a lot!

### Cluster information:

Kubernetes version:  
Cloud being used: (put bare-metal if not on a public cloud)  
Installation method:  
Host OS: Ubuntu  
CNI and version: any version  
CRI and version: any version

---

<div class="post-metadata">

**Author:** ![mrbobbytables](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/mrbobbytables/32/7_2.png) [@mrbobbytables](https://discuss.kubernetes.io/u/mrbobbytables)\
**Post date:** [March 15, 2023, 11:55am UTC](https://discuss.kubernetes.io/t/does-k8s-support-in-place-autoscaling-which-means-update-cpu-on-the-fly/23475/2 "2023-03-15T11:55:12Z")

</div>

It’ll be alpha in 1.27 (the release slated for next month). Details are here: [In-Place Update of Pod Resources · Issue #1287 · kubernetes/enhancements · GitHub](https://github.com/kubernetes/enhancements/issues/1287)

---

<div class="post-metadata">

**Author:** ![nilhil](https://avatars.discourse-cdn.com/v4/letter/n/7feea3/32.png) [@nilhil](https://discuss.kubernetes.io/u/nilhil)\
**Post date:** [March 16, 2023, 9:14am UTC](https://discuss.kubernetes.io/t/does-k8s-support-in-place-autoscaling-which-means-update-cpu-on-the-fly/23475/3 "2023-03-16T09:14:43Z")

</div>

Thanks!  
Now, I think the K8s supports the in-place vertical scaling without termination!
