-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
kubevirt-operator-argo-app.yaml
114 lines (98 loc) · 3.11 KB
/
kubevirt-operator-argo-app.yaml
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# KubeVirt extends Kubernetes by adding additional virtualization resource types
# (especially the VM type) through Kubernetes's Custom Resource Definitions API.
# By using this mechanism, the Kubernetes API can be used to manage these VM resources
# alongside all other resources Kubernetes provides.
# https://github.com/kubevirt/kubevirt
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: kubevirt-operator
namespace: argocd
spec:
project: kubevirt
destination:
namespace: kubevirt
server: 'https://kubernetes.default.svc'
source:
repoURL: 'https://cloudymax.github.io/kubevirt-community-stack/'
targetRevision: 0.2.7
chart: kubevirt
helm:
values: |
replicaCount: 1
image:
repository: quay.io/kubevirt/virt-operator
pullPolicy: IfNotPresent
tag: "v1.2.0"
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
serviceAccount:
create: true
annotations: {}
name: "kubevirt-operator"
podAnnotations: {}
podSecurityContext: {}
securityContext:
privileged: true
resources: {}
nodeSelector: {}
tolerations:
- key: CriticalAddonsOnly
operator: Exists
monitorNamespace: "prometheus"
prometheus:
enabled: true
serviceName: "prom-stack-kube-prometheus-prometheus"
serviceNamesapce: "prometheus"
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchExpressions:
- key: kubevirt.io
operator: In
values:
- virt-operator
topologyKey: kubernetes.io/hostname
weight: 1
priorityclass:
create: true
value: 1000000000
permittedHostDevices:
pciHostDevices:
- pciVendorSelector: "10de:2782"
resourceName: "nvidia.com/AD104_GeForce_RTX4070Ti"
- pciVendorSelector: "10de:1e04"
resourceName: "nvidia.com/TU102_GeForce_RTX2080Ti"
# - pciVendorSelector: "10de:17fd"
# resourceName: "nvidia.com/GM200GL_Tesla_M40"
mediatedDevices:
- mdevNameSelector: "GRID M60-2Q"
resourceName: "nvidia.com/GRID_M60-2Q"
mediatedDevicesTypes:
- nvidia-18
useEmulation: false
featureGates:
- ExpandDisks
- CPUManager
- GPU
- HostDevices
- VMExport
- HotplugVolumes
- HostDisk
- Macvtap
- Passt
- HotplugNICs
- clientPassthrough
- Snapshot
- CPUNodeDiscovery
sources: []
syncPolicy:
automated:
prune: false
selfHeal: true
syncOptions:
- CreateNamespace=false