-
I have installed kubernetes cluster on the latest version 1.25.4. Now I try to install the ceph-csi plugins but the pods are not starting. I tried the dev version from here and also version 3.7.2 without success. I only see log messages like this:
Now I have read that there are some changes in kubernetes 1.25.4 regarding the flag My question is: should it be possible to deploy ceph-csi in Kubernetes 1.25.4 or should I install Kubernetes 1.24.6 instead? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
@rsoika it should not matter it's kubernetes 1.24 or 1.25 its all the same. looks like it's something in your kubernetes cluster setting. cephcsi needs to run as privileged, kube-apiserver and kubelet should allow running privileged pods https://kubernetes-csi.github.io/docs/deploying.html#enable-privileged-pods |
Beta Was this translation helpful? Give feedback.
-
@Madhu-1 yes it looks like it is something about the 'run as privileged'. How can I verify if my kube-apiserver/kubelet support the flag |
Beta Was this translation helpful? Give feedback.
-
Yes, that could be one reason. Can you set pod security to allow privileged pods https://kubernetes.io/docs/concepts/security/pod-security-admission/#pod-security-admission-labels-for-namespaces , let the level to
you can check this with running process with |
Beta Was this translation helpful? Give feedback.
-
I am running cri-o as container runtime (maybe an issue?) I now changed my namespace settings regarding the pod-security like explained here
The same result, but the following warnings are now shown when I create the ceph-csi plugins:
|
Beta Was this translation helpful? Give feedback.
I am running cri-o as container runtime (maybe an issue?)
I now changed my namespace settings regarding the pod-security like explained here
The same result, but the following warnings are now shown when I create the ceph-cs…