kiranchavala commented on issue #11596:
URL: https://github.com/apache/cloudstack/issues/11596#issuecomment-3268976116

   @weizhouapache there is no file /var/lib/kubelet and didn't generate 
   
   ```
   
   Sep 09 05:51:19 test-private-control-1992cfb0b17 kubelet[50328]: E0909 
05:51:19.086110   50328 run.go:72] "command failed" err="failed to load kubelet 
config file, path: /var/lib/kubelet/config.yaml, error: failed to load Kubelet 
config file /var/lib/kubelet/config.yaml, error failed to read kubelet config 
file \"/var/lib/kubelet/config.yaml\", error: open 
/var/lib/kubelet/config.yaml: no such file or directory"
   Sep 09 05:51:19 test-private-control-1992cfb0b17 systemd[1]: 
kubelet.service: Main process exited, code=exited, status=1/FAILURE
   Sep 09 05:51:19 test-private-control-1992cfb0b17 systemd[1]: 
kubelet.service: Failed with result 'exit-code'.
   Sep 09 05:51:29 test-private-control-1992cfb0b17 systemd[1]: 
kubelet.service: Scheduled restart job, restart counter is at 67.
   Sep 09 05:51:29 test-private-control-1992cfb0b17 systemd[1]: Stopped 
kubelet.service - kubelet: The Kubernetes Node Agent.
   Sep 09 05:51:29 test-private-control-1992cfb0b17 systemd[1]: Started 
kubelet.service - kubelet: The Kubernetes Node Agent.
   Sep 09 05:51:29 test-private-control-1992cfb0b17 kubelet[51068]: Flag 
--cgroup-driver has been deprecated, This parameter should be set via the 
config file specified by the Kubelet's --config flag. See 
https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for 
more information.
   Sep 09 05:51:29 test-private-control-1992cfb0b17 kubelet[51068]: E0909 
05:51:29.237105   51068 run.go:72] "command failed" err="failed to load kubelet 
config file, path: /var/lib/kubelet/config.yaml, error: failed to load Kubelet 
config file /var/lib/kubelet/config.yaml, error failed to read kubelet config 
file \"/var/lib/kubelet/config.yaml\", error: open 
/var/lib/kubelet/config.yaml: no such file or directory"
   Sep 09 05:51:29 test-private-control-1992cfb0b17 systemd[1]: 
kubelet.service: Main process exited, code=exited, status=1/FAILURE
   Sep 09 05:51:29 test-private-control-1992cfb0b17 systemd[1]: 
kubelet.service: Failed with result 'exit-code'.
   Sep 09 05:51:39 test-private-control-1992cfb0b17 systemd[1]: 
kubelet.service: Scheduled restart job, restart counter is at 68.
   Sep 09 05:51:39 test-private-control-1992cfb0b17 systemd[1]: Stopped 
kubelet.service - kubelet: The Kubernetes Node Agent.
   Sep 09 05:51:39 test-private-control-1992cfb0b17 systemd[1]: Started 
kubelet.service - kubelet: The Kubernetes Node Agent.
   Sep 09 05:51:39 test-private-control-1992cfb0b17 kubelet[51779]: Flag 
--cgroup-driver has been deprecated, This parameter should be set via the 
config file specified by the Kubelet's --config flag. See 
https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for 
more information.
   Sep 09 05:51:39 test-private-control-1992cfb0b17 kubelet[51779]: E0909 
05:51:39.373116   51779 run.go:72] "command failed" err="failed to load kubelet 
config file, path: /var/lib/kubelet/config.yaml, error: failed to load Kubelet 
config file /var/lib/kubelet/config.yaml, error failed to read kubelet config 
file \"/var/lib/kubelet/config.yaml\", error: open 
/var/lib/kubelet/config.yaml: no such file or directory"
   Sep 09 05:51:39 test-private-control-1992cfb0b17 systemd[1]: 
kubelet.service: Main process exited, code=exited, status=1/FAILURE
   Sep 09 05:51:39 test-private-control-1992cfb0b17 systemd[1]: 
kubelet.service: Failed with result 'exit-code'
   
   ```
   
   
   ```
   
   root@test-private-control-1992cfb0b17:/var/lib/containerd# systemctl status 
kubelet
   ● kubelet.service - kubelet: The Kubernetes Node Agent
        Loaded: loaded (/etc/systemd/system/kubelet.service; enabled; preset: 
enabled)
       Drop-In: /etc/systemd/system/kubelet.service.d
                └─10-kubeadm.conf
        Active: activating (auto-restart) (Result: exit-code) since Tue 
2025-09-09 05:50:58 UTC; 5s ago
          Docs: http://kubernetes.io/docs/
       Process: 48881 ExecStart=/opt/bin/kubelet $KUBELET_KUBECONFIG_ARGS 
$KUBELET_CONFIG_ARGS $KUBELET_KUBEADM_ARGS $KUBELET_EXTRA_ARGS (code>
      Main PID: 48881 (code=exited, status=1/FAILURE)
           CPU: 99ms
   
   Sep 09 05:50:58 test-private-control-1992cfb0b17 systemd[1]: 
kubelet.service: Main process exited, code=exited, status=1/FAILURE
   Sep 09 05:50:58 test-private-control-1992cfb0b17 systemd[1]: 
kubelet.service: Failed with result 'exit-code'.
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to