# Microk8s CPU spike

**URL:** <https://discuss.kubernetes.io/t/microk8s-cpu-spike/22257>\
**Category:** microk8s\
**Created:** [December 10, 2022, 1:53pm UTC](https://discuss.kubernetes.io/t/microk8s-cpu-spike/22257 "2022-12-10T13:53:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gli40mail](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/gli40mail/32/11359_2.png) [@gli40mail](https://discuss.kubernetes.io/u/gli40mail)\
**Post date:** [December 10, 2022, 1:53pm UTC](https://discuss.kubernetes.io/t/microk8s-cpu-spike/22257/1 "2022-12-10T13:53:58Z")

</div>

Hi,

I am using a single EC2 m5.large vm to host my microk8s cluster to run my applications. I am using microk8s 1.21/stable. Recently, around Dec 5, I saw the CPU usage of my cluster spike and gradually keep increasing (over 3 days period) and eventually exhaust the entire VM. Is this a known issue to this version of microk8s? For troubleshooting purpose, any system logs I can look at?

One thing to add, I have a cron job to renew microk8s ‘microk8s refresh-certs -e server.crt’ and ‘microk8s refresh-certs -e front-proxy-client.crt’ every hour. We are using self-signed cert, my understanding, renewing that use very less resources. Wondering will this operation cause CPU spike and eventually kill the cluster. Any idea?
