kubevirt/disks-images-provider.yaml
Caleb Crane dbcba5321a - Fix guest-console-log failure during live migration and Harvester upgrades
0001-feat-pass-timeout-from-virt-monitor-to-virt-tail.patch
- Fix SEV(ES) guests not being bootable from incompatible firmware
  0002-Ensure-SEV-VMs-use-stateless-OVMF-firmware.patch (bsc#1232762)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/kubevirt?expand=0&rev=171
2025-01-18 00:04:44 +00:00

63 lines
1.7 KiB
YAML

apiVersion: apps/v1
kind: DaemonSet
metadata:
name: disks-images-provider
namespace: kubevirt
labels:
kubevirt.io: "disks-images-provider"
spec:
selector:
matchLabels:
kubevirt.io: "disks-images-provider"
template:
metadata:
labels:
name: disks-images-provider
kubevirt.io: disks-images-provider
name: disks-images-provider
spec:
tolerations:
- key: CriticalAddonsOnly
operator: Exists
serviceAccountName: kubevirt-testing
containers:
- name: target
image: quay.io/kubevirt/disks-images-provider:v1.4.0
imagePullPolicy: Always
env:
- name: NUM_TEST_IMAGE_REPLICAS
value: "6"
lifecycle:
preStop:
exec:
command: ["/bin/sh","-c","source /etc/bashrc && chroot /host umount ${LOOP_DEVICE_HP} && chroot /host losetup -d ${LOOP_DEVICE_HP}"]
volumeMounts:
- name: images
mountPath: /hostImages
- name: local-storage
mountPath: /local-storage
- name: host-dir
mountPath: /host
mountPropagation: Bidirectional
securityContext:
privileged: true
readinessProbe:
exec:
command:
- cat
- /ready
initialDelaySeconds: 10
periodSeconds: 5
volumes:
- name: images
hostPath:
path: /tmp/hostImages
type: DirectoryOrCreate
- name: local-storage
hostPath:
path: /mnt/local-storage
type: DirectoryOrCreate
- name: host-dir
hostPath:
path: /