2023-08-12 18:27:22 +02:00
|
|
|
# Example setup
|
|
|
|
|
|
2024-06-09 22:54:42 +02:00
|
|
|
The CRD must be deployed independently.
|
2023-08-12 18:27:22 +02:00
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
kubectl apply -f https://github.com/mnlipp/VM-Operator/raw/main/deploy/crds/vms-crd.yaml
|
|
|
|
|
```
|
|
|
|
|
|
2024-06-09 22:54:42 +02:00
|
|
|
Apart from that, the `kustomize.yaml` defines a namespace for the manager
|
2023-08-13 17:42:24 +02:00
|
|
|
(and the VMs managed by it) and applies patches to use `rook-cephfs` as
|
|
|
|
|
storage class (instead of the default storage class).
|
2023-08-12 18:27:22 +02:00
|
|
|
|
|
|
|
|
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.
|