How to set the --allow-privileged=true for kubelet on worker nodes?

Greetings to all,

Could someone please explain how to correctly set the --allow-privileged=true option for the kubelet? I have not been able to determine where configuration file is located, as there is no file located at /var/lib/kubelet/config.yaml. I have only found the /etc/systemd/system/kubelet.service file with the following content below.

[Unit]

Description=Kubernetes Kubelet Server

Documentation=https://github.com/GoogleCloudPlatform/kubernetes

After=containerd.service

Wants=containerd.service

[Service]

EnvironmentFile=-/etc/kubernetes/kubelet.env

ExecStart=/usr/local/bin/kubelet \

$KUBE_LOGTOSTDERR \

$KUBE_LOG_LEVEL \

$KUBELET_API_SERVER \

$KUBELET_ADDRESS \

$KUBELET_PORT \

$KUBELET_HOSTNAME \

$KUBELET_ARGS \

$DOCKER_SOCKET \

$KUBELET_NETWORK_PLUGIN \

$KUBELET_VOLUME_PLUGIN \

$KUBELET_CLOUDPROVIDER

Restart=always

RestartSec=10s

[Install]

I tried to change it by adding --allow-privileged flag, but the service did not start successfully. Please see the error logs:

kubelet.service - Kubernetes Kubelet Server

Loaded: loaded (/etc/systemd/system/kubelet.service; enabled; vendor preset: enabled)

Active: activating (auto-restart) (Result: exit-code) since Mon 2024-05-13 12:45:39 +06; 1s ago

Docs: https://github.com/GoogleCloudPlatform/kubernetes

Process: 4146339 ExecStart=/usr/local/bin/kubelet $KUBE_LOGTOSTDERR $KUBE_LOG_LEVEL $KUBELET_API_SERVER $KUBELET_ADDRESS $KUBELET_PORT $KUBELET_HOSTNAME $KUBELET_ARGS $DOCKER_SOCKET $KUBELET_NETWORK_PLUGI>

Main PID: 4146339 (code=exited, status=1/FAILURE)

CPU: 106ms

Cluster information:

The Kubernetes version we are using is:
Client Version: v1.28.6
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.28.6