++kubevirt
This commit is contained in:
parent
4ea62fe3d1
commit
1e83e09fa9
3 changed files with 51 additions and 0 deletions
13
generic/secret-formatted.yaml
Normal file
13
generic/secret-formatted.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: secret-postgres-config-plus
|
||||
annotations:
|
||||
secret-generator.v1.mittwald.de/autogenerate: dbconfig.database.args.password
|
||||
stringData:
|
||||
dbconfig: |
|
||||
database:
|
||||
name: psycopg2
|
||||
args:
|
||||
user: synapse_user
|
||||
---
|
1
kubevirt/.gitignore
vendored
Normal file
1
kubevirt/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
virtctl*
|
37
kubevirt/vm.yaml
Normal file
37
kubevirt/vm.yaml
Normal file
|
@ -0,0 +1,37 @@
|
|||
apiVersion: kubevirt.io/v1alpha3
|
||||
kind: VirtualMachine
|
||||
metadata:
|
||||
name: testvm
|
||||
spec:
|
||||
running: false
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
kubevirt.io/size: small
|
||||
kubevirt.io/domain: testvm
|
||||
spec:
|
||||
domain:
|
||||
devices:
|
||||
disks:
|
||||
- disk:
|
||||
bus: virtio
|
||||
name: rootfs
|
||||
- disk:
|
||||
bus: virtio
|
||||
name: cloudinit
|
||||
interfaces:
|
||||
- name: default
|
||||
masquerade: {}
|
||||
resources:
|
||||
requests:
|
||||
memory: 64M
|
||||
networks:
|
||||
- name: default
|
||||
pod: {}
|
||||
volumes:
|
||||
- name: rootfs
|
||||
containerDisk:
|
||||
image: kubevirt/cirros-registry-disk-demo
|
||||
- name: cloudinit
|
||||
cloudInitNoCloud:
|
||||
userDataBase64: SGkuXG4=
|
Loading…
Reference in a new issue