apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
  annotations:
    kubemacpool.io/transaction-timestamp: "2025-10-30T15:00:15.300963415Z"
    kubevirt.io/latest-observed-api-version: v1
    kubevirt.io/storage-observed-api-version: v1alpha3
    vm.kubevirt.io/validations: |
      [
        {
          "name": "minimal-required-memory",
          "path": "jsonpath::.spec.domain.resources.requests.memory",
          "rule": "integer",
          "message": "This VM requires more memory.",
          "min": 1610612736
        }
      ]
  labels:
    app: zabbix
    vm.kubevirt.io/template: centos-stream9-server-small
    vm.kubevirt.io/template.namespace: openshift
    vm.kubevirt.io/template.revision: "1"
    vm.kubevirt.io/template.version: v0.25.0
    vm.openshift.io/folder: ""
  name: zabbix
  namespace: cnv-qe
spec:
  dataVolumeTemplates:
  - metadata:
      creationTimestamp: null
      name: zabbix-zabbix-data
    spec:
      preallocation: false
      storage:
        resources:
          requests:
            storage: 50Gi
        storageClassName: trident-nfs
  - metadata:
      creationTimestamp: null
      name: zabbix
    spec:
      preallocation: false
      sourceRef:
        kind: DataSource
        name: centos-stream9
        namespace: openshift-virtualization-os-images
      storage:
        resources:
          requests:
            storage: 30Gi
        storageClassName: trident-nfs
  runStrategy: RerunOnFailure
  template:
    metadata:
      annotations:
        vm.kubevirt.io/flavor: small
        vm.kubevirt.io/os: centos-stream9
        vm.kubevirt.io/workload: server
      creationTimestamp: null
      labels:
        kubevirt.io/domain: zabbix
        kubevirt.io/size: small
    spec:
      architecture: amd64
      domain:
        cpu:
          cores: 3
          sockets: 1
          threads: 1
        devices:
          disks:
          - bootOrder: 1
            disk:
              bus: virtio
            name: zabbix-rootdisk
          - bootOrder: 3
            disk:
              bus: virtio
            name: zabbix-data
          interfaces:
          - bootOrder: 2
            macAddress: "02:26:19:00:00:59"
            model: virtio
            name: default
          networkInterfaceMultiqueue: true
        firmware:
          uuid: a377a42f-6a7c-506e-aed6-aa8e20e8e1b1
        machine:
          type: pc-q35-rhel9.2.0
        resources:
          requests:
            memory: 6Gi
      networks:
      - multus:
          networkName: default/blue
        name: default
      terminationGracePeriodSeconds: 180
      volumes:
      - dataVolume:
          name: zabbix
        name: zabbix-rootdisk
      - dataVolume:
          name: zabbix-zabbix-data
        name: zabbix-data
      - cloudInitNoCloud:
          userData: |-
            #cloud-config
            user: centos
            password: centos
            chpasswd: { expire: False }
        name: cloudinitdisk
