# Problem after upgrading to v1.24 - fixed

**URL:** <https://discuss.kubernetes.io/t/problem-after-upgrading-to-v1-24-fixed/19995>\
**Category:** General Discussions\
**Created:** [May 12, 2022, 1:51pm UTC](https://discuss.kubernetes.io/t/problem-after-upgrading-to-v1-24-fixed/19995 "2022-05-12T13:51:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vasilev](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/vasilev/32/8989_2.png) [@Vasilev](https://discuss.kubernetes.io/u/Vasilev)\
**Post date:** [May 12, 2022, 1:51pm UTC](https://discuss.kubernetes.io/t/problem-after-upgrading-to-v1-24-fixed/19995/1 "2022-05-12T13:51:14Z")

</div>

Hello dear colleagues,  
after reading the steps, I have configured containerd socket, applied, and tried the new configuration without docker - with 1.23.6, all was fine.  
now I have upgraded to 1.24.0 and cannot start kubelet.  
this is the configuration for the service:

/etc/systemd/system/kubelet.service.d/10-kubeadm.conf

```auto
[Service]
Environment="KUBELET_KUBECONFIG_ARGS=--fail-swap-on=false --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --kubeconfig=/etc/kubernetes/kubelet.conf"
Environment="KUBELET_CONFIG_ARGS=--config=/var/lib/kubelet/config.yaml"
# This is a file that "kubeadm init" and "kubeadm join" generates at runtime, populating the KUBELET_KUBEADM_ARGS variable dynamically
EnvironmentFile=-/var/lib/kubelet/kubeadm-flags.env
# This is a file that the user can use for overrides of the kubelet args as a last resort. Preferably, the user should use
# the .NodeRegistration.KubeletExtraArgs object in the configuration files instead. KUBELET_EXTRA_ARGS should be sourced from this file.
#EnvironmentFile=-/etc/default/kubelet
ExecStart=
ExecStart=/usr/bin/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_CONFIG_ARGS $KUBELET_KUBEADM_ARGS $KUBELET_EXTRA_ARGS

```

### Cluster information:

Kubernetes version: 1.24.0  
Cloud being used: vps  
Installation method:  
Host OS: ubuntu 20.04.4 LTS  
CRI and version: [containerd.io](http://containerd.io) 1.6.4

please let me know what else needs to be changed.  
perhaps I am missing something 🙂

error:

```auto
May 12 21:33:41 server.. kubelet[82016]: --volume-stats-agg-period duration Specifies i>
May 12 21:33:41 server.. systemd[1]: kubelet.service: Main process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- The process' exit code is 'exited' and its exit status is 1.
May 12 21:33:41 server.. systemd[1]: kubelet.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd

```

thank you

* * *

for those who has the same problem:

#remove  
–network-plugin=cni

from: /var/lib/kubelet/kubeadm-flags.env
