Skip to content

Commit

Permalink
docs: add note about PSP in Rook-Ceph guide
Browse files Browse the repository at this point in the history
Small fix in the docs.

Signed-off-by: Sergey Melnik <[email protected]>
Signed-off-by: Andrey Smirnov <[email protected]>
  • Loading branch information
zonorti authored and smira committed Nov 11, 2024
1 parent 38b80fb commit eba35f4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ Important Notes:
- Any disk devices you add to the cluster in the 'CephCluster' must be empty (no filesystem and no partitions).
```

Default PodSecurity configuration prevents execution of priviledged pods.
Adding a label to the namespace will allow ceph to start.

```shell
kubectl label namespace rook-ceph pod-security.kubernetes.io/enforce=privileged
```

Once that is complete, the Ceph cluster can be installed with the official Helm Chart.
The Chart can be installed with default values, which will attempt to use all nodes in the Kubernetes cluster, and all unused disks on each node for Ceph storage, and make available block storage, object storage, as well as a shared filesystem.
Generally more specific node/device/cluster configuration is used, and the [Rook documentation](https://rook.io/docs/rook/v1.8/ceph-cluster-crd.html) explains all the available options in detail.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ Important Notes:
- Any disk devices you add to the cluster in the 'CephCluster' must be empty (no filesystem and no partitions).
```

Default PodSecurity configuration prevents execution of priviledged pods.
Adding a label to the namespace will allow ceph to start.

```shell
kubectl label namespace rook-ceph pod-security.kubernetes.io/enforce=privileged
```

Once that is complete, the Ceph cluster can be installed with the official Helm Chart.
The Chart can be installed with default values, which will attempt to use all nodes in the Kubernetes cluster, and all unused disks on each node for Ceph storage, and make available block storage, object storage, as well as a shared filesystem.
Generally more specific node/device/cluster configuration is used, and the [Rook documentation](https://rook.io/docs/rook/v1.8/ceph-cluster-crd.html) explains all the available options in detail.
Expand Down

0 comments on commit eba35f4

Please sign in to comment.