Add example configurations.

This commit is contained in:
Michael Lipp 2023-08-12 18:27:22 +02:00
parent 9e83712c9b
commit 8acd98d703
6 changed files with 107 additions and 21 deletions

View file

@ -1,10 +1,16 @@
# Example setup for development
# Example setup
The CRD must be deployed independently. Apart from that, the
`kustomize.yaml` defines a namespace for the manager (and the VMs
managed by it). You will most likely want to patch the PVC
for the image repository.
The CRD must be deployed independently.
```sh
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 patches the repository PVC to create
a small volume using local-path.
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.
disk definition. The sample file uses a reference to some
manually allocated PV.