VM-Operator/example/rook-ceph
Michael N. Lipp 65a5cfd286
Some checks failed
Java CI with Gradle / build (push) Has been cancelled
Develop/v3 (#27)
Prepare release.
2024-06-09 22:54:42 +02:00
..
kustomization.yaml Change configuration format. 2023-08-18 11:23:17 +02:00
Readme.md Develop/v3 (#27) 2024-06-09 22:54:42 +02:00
test-vm.yaml Use Kubernetes format everywhere for consistency. 2023-08-19 10:46:12 +02:00

Example setup

The CRD must be deployed independently.

kubectl apply -f https://github.com/mnlipp/VM-Operator/raw/main/deploy/crds/vms-crd.yaml

Apart from that, the kustomize.yaml defines a namespace for the manager (and the VMs managed by it) and applies patches to use rook-cephfs as storage class (instead of the default storage class).

The kustomize.yaml does not include the test VM. Before creating the test VM, you will again most likely want to change the disk definition. The sample file claims a ceph block device.