kubernetes-sigs / kubespray

Deploy a Production Ready Kubernetes Cluster
Apache License 2.0
15.64k stars 6.35k forks source link

Can not make –allow-privileged=true for kubelet on worker nodes #11201

Open shahizat opened 1 month ago

shahizat commented 1 month ago

Hello,

I was trying to setup dynamically provisioned volumes using Exascaler CSI Driver(https://github.com/DDNStorage/exa-csi-driver) for Kubernetes cluster. However, the Persistent Volume Claim always shows a pending status. I have a question regarding allowing privileged pods for the kubelet on the worker nodes. I have figured out how to do it for the API server, but I am unsure how to do it for the kubelet.

Kubernetes was deployed using kubespray.

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

Could you assist me with this? Thank you in advance!

tico88612 commented 1 week ago

@shahizat --allow-privileged was deprecated at K8s 1.15.0, this version is too old.

FYI: https://github.com/kubernetes/kubernetes/pull/77820

Please make sure the documents you provide are up to date.