Generate test VMs.
This commit is contained in:
parent
bc0d25d00e
commit
043666a932
3 changed files with 14 additions and 3 deletions
1
dev-example/.gitignore
vendored
1
dev-example/.gitignore
vendored
|
|
@ -1,2 +1,3 @@
|
|||
/test-vm-ci.yaml
|
||||
/kubeconfig.yaml
|
||||
/crds/
|
||||
|
|
|
|||
10
dev-example/test-vm-snapshot.yaml
Normal file
10
dev-example/test-vm-snapshot.yaml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
apiVersion: snapshot.storage.k8s.io/v1
|
||||
kind: VolumeSnapshot
|
||||
metadata:
|
||||
namespace: vmop-dev
|
||||
name: test-vm-system-disk-snapshot
|
||||
spec:
|
||||
volumeSnapshotClassName: csi-rbdplugin-snapclass
|
||||
source:
|
||||
persistentVolumeClaimName: test-vm-system-disk
|
||||
|
|
@ -27,7 +27,8 @@ spec:
|
|||
|
||||
guestShutdownStops: true
|
||||
|
||||
cloudInit: {}
|
||||
cloudInit:
|
||||
metaData: {}
|
||||
|
||||
vm:
|
||||
# state: Running
|
||||
|
|
@ -49,7 +50,7 @@ spec:
|
|||
spec:
|
||||
storageClassName: ceph-rbd3slow
|
||||
dataSource:
|
||||
name: test-vm-snapshot-1
|
||||
name: test-vm-system-disk-snapshot
|
||||
kind: VolumeSnapshot
|
||||
apiGroup: snapshot.storage.k8s.io
|
||||
accessModes:
|
||||
|
|
@ -64,4 +65,3 @@ spec:
|
|||
display:
|
||||
spice:
|
||||
port: <%= $((5910 + number)) %>
|
||||
server: 192.168.179.20
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue