-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample-application
More file actions
64 lines (64 loc) · 1.71 KB
/
sample-application
File metadata and controls
64 lines (64 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
apiVersion: app.k8s.io/v1beta1
kind: Application
metadata:
name: noopur-sample-app
namespace: services
generation: 3
spec:
hybridtemplates:
- deployerType: kubernetes
template:
apiVersion: apps/v1
kind: Deployment
spec:
replicas: 1
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: 'nginx:1.7.9'
ports:
- containerPort: 80
- deployerType: kubevirt
template:
apiVersion: kubevirt.io/v1alpha3
kind: VirtualMachine
spec:
running: false
template:
metadata:
labels:
kubevirt.io/domain: testvm
kubevirt.io/size: small
spec:
domain:
devices:
disks:
- name: rootfs
disk:
bus: virtio
- name: cloudinit
disk:
bus: virtio
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=