adding privilged namespace note for talos

This commit is contained in:
5cat 2023-02-26 13:34:58 +08:00
parent 6fbafa6e0f
commit 86bc420eca
No known key found for this signature in database
GPG Key ID: 8548D9348F3B2BEA
1 changed files with 7 additions and 0 deletions

View File

@ -185,6 +185,13 @@ node:
and continue your democratic installation as usuall with other iscsi drivers. and continue your democratic installation as usuall with other iscsi drivers.
#### Privilged Namespace
democratic-csi requires privileged access to the nodes, so the namespace should allow for privileged pods. One way of doing it is via [namespace labels](https://kubernetes.io/docs/tasks/configure-pod-container/enforce-standards-namespace-labels/).
Add the followin label to the democratic-csi installation namespace `pod-security.kubernetes.io/enforce=privileged`
```
kubectl label --overwrite namespace democratic-csi pod-security.kubernetes.io/enforce=privileged
```
### nvmeof ### nvmeof
```bash ```bash