Kubernetes: Difference between revisions

imported>Iceychris
m + changes needed to set up a storage cluster with rook and ceph
imported>Iceychris
m * update Rook Ceph setup
Line 223: Line 223:
Chances are you want to setup a storage cluster using [https://rook.io/ rook].
Chances are you want to setup a storage cluster using [https://rook.io/ rook].


To do so, I found it necessary to change a few things:
To do so, I found it necessary to change a few things tested with <code>rook v1.2</code>:


* you need the <code>ceph</code> kernel module: <code>boot.kernelModules = [ "ceph" ];</code>
* you need the <code>ceph</code> kernel module: <code>boot.kernelModules = [ "ceph" ];</code>
Line 232: Line 232:


* continue with [https://rook.io/docs/rook/v1.2/ceph-quickstart.html the official quickstart guide]
* continue with [https://rook.io/docs/rook/v1.2/ceph-quickstart.html the official quickstart guide]
* in <code>operator.yaml</code>, set <code>CSI_FORCE_CEPHFS_KERNEL_CLIENT</code> to <code>false</code>


=== NVIDIA ===
=== NVIDIA ===
Line 282: Line 284:
* [https://github.com/cmollekopf/kube-nix kube-nix]
* [https://github.com/cmollekopf/kube-nix kube-nix]


== Sources ==
== References ==


* [https://github.com/NixOS/nixpkgs/issues/39327 Issue #39327]: kubernetes support is missing some documentation
* [https://github.com/NixOS/nixpkgs/issues/39327 Issue #39327]: kubernetes support is missing some documentation