2024-11-15 17:30:49 +00:00
|
|
|
operator:
|
|
|
|
image: registry.suse.com/suse/sles/15.6/virt-operator
|
2025-03-24 15:46:23 +02:00
|
|
|
version: 1.4.0-150600.5.15.1
|
|
|
|
replicas: 2
|
2024-11-15 17:30:49 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2025-03-24 15:46:23 +02:00
|
|
|
affinity:
|
|
|
|
podAntiAffinity:
|
|
|
|
preferredDuringSchedulingIgnoredDuringExecution:
|
|
|
|
- podAffinityTerm:
|
|
|
|
labelSelector:
|
|
|
|
matchExpressions:
|
|
|
|
- key: kubevirt.io
|
|
|
|
operator: In
|
|
|
|
values:
|
|
|
|
- virt-operator
|
|
|
|
topologyKey: kubernetes.io/hostname
|
|
|
|
weight: 1
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: 10m
|
|
|
|
memory: 450Mi
|
2024-11-15 17:30:49 +00:00
|
|
|
|
|
|
|
kubevirt:
|
|
|
|
# Holds kubevirt configurations. Same as the virt-configMap.
|
|
|
|
configuration: {}
|
|
|
|
customizeComponents: {}
|
|
|
|
# The ImagePullPolicy to use.
|
|
|
|
imagePullPolicy: IfNotPresent
|
|
|
|
# Selectors and tolerations that should apply to KubeVirt infrastructure components.
|
|
|
|
infra: {}
|
|
|
|
# Specifies if KubeVirt can be deleted if workloads are still present.
|
|
|
|
# This is mainly a precaution to avoid accidental data loss.
|
|
|
|
uninstallStrategy: ""
|
2025-03-24 15:46:23 +02:00
|
|
|
# Selectors and tolerations that should apply to KubeVirt workloads.
|
|
|
|
workloads: {}
|
2024-11-15 17:30:49 +00:00
|
|
|
# WorkloadUpdateStrategy defines at the cluster level how to handle automated workload updates.
|
|
|
|
workloadUpdateStrategy: {}
|
|
|
|
# Optionally enable ServiceMonitor for prometheus, see
|
|
|
|
# https://kubevirt.io/user-guide/user_workloads/component_monitoring/
|
|
|
|
monitorAccount: ""
|
|
|
|
monitorNamespace: ""
|
|
|
|
|
2025-04-09 11:12:01 +02:00
|
|
|
hookImage: registry.rancher.com/rancher/kubectl:v1.30.10
|
2024-11-15 17:30:49 +00:00
|
|
|
hookRestartPolicy: OnFailure
|
|
|
|
hookSecurityContext:
|
|
|
|
seccompProfile:
|
|
|
|
type: RuntimeDefault
|
|
|
|
runAsNonRoot: true
|
|
|
|
runAsUser: 1000
|
|
|
|
allowPrivilegeEscalation: false
|
|
|
|
capabilities:
|
|
|
|
drop:
|
|
|
|
- ALL
|