...

Text file src/kubevirt.io/api/apitesting/testdata/release-1.1/kubevirt.io.v1.VirtualMachineInstance.yaml

Documentation: kubevirt.io/api/apitesting/testdata/release-1.1

     1apiVersion: kubevirt.io/v1
     2kind: VirtualMachineInstance
     3metadata:
     4  annotations:
     5    annotationsKey: annotationsValue
     6  creationTimestamp: "2008-01-01T01:01:01Z"
     7  deletionGracePeriodSeconds: 10
     8  deletionTimestamp: "2009-01-01T01:01:01Z"
     9  finalizers:
    10  - finalizersValue
    11  generateName: generateNameValue
    12  generation: 7
    13  labels:
    14    labelsKey: labelsValue
    15  managedFields:
    16  - apiVersion: apiVersionValue
    17    fieldsType: fieldsTypeValue
    18    fieldsV1: {}
    19    manager: managerValue
    20    operation: operationValue
    21    subresource: subresourceValue
    22    time: "2004-01-01T01:01:01Z"
    23  name: nameValue
    24  namespace: namespaceValue
    25  ownerReferences:
    26  - apiVersion: apiVersionValue
    27    blockOwnerDeletion: true
    28    controller: true
    29    kind: kindValue
    30    name: nameValue
    31    uid: uidValue
    32  resourceVersion: resourceVersionValue
    33  selfLink: selfLinkValue
    34  uid: uidValue
    35spec:
    36  accessCredentials:
    37  - sshPublicKey:
    38      propagationMethod:
    39        configDrive: {}
    40        noCloud: {}
    41        qemuGuestAgent:
    42          users:
    43          - usersValue
    44      source:
    45        secret:
    46          secretName: secretNameValue
    47    userPassword:
    48      propagationMethod:
    49        qemuGuestAgent: {}
    50      source:
    51        secret:
    52          secretName: secretNameValue
    53  affinity:
    54    nodeAffinity:
    55      preferredDuringSchedulingIgnoredDuringExecution:
    56      - preference:
    57          matchExpressions:
    58          - key: keyValue
    59            operator: operatorValue
    60            values:
    61            - valuesValue
    62          matchFields:
    63          - key: keyValue
    64            operator: operatorValue
    65            values:
    66            - valuesValue
    67        weight: 1
    68      requiredDuringSchedulingIgnoredDuringExecution:
    69        nodeSelectorTerms:
    70        - matchExpressions:
    71          - key: keyValue
    72            operator: operatorValue
    73            values:
    74            - valuesValue
    75          matchFields:
    76          - key: keyValue
    77            operator: operatorValue
    78            values:
    79            - valuesValue
    80    podAffinity:
    81      preferredDuringSchedulingIgnoredDuringExecution:
    82      - podAffinityTerm:
    83          labelSelector:
    84            matchExpressions:
    85            - key: keyValue
    86              operator: operatorValue
    87              values:
    88              - valuesValue
    89            matchLabels:
    90              matchLabelsKey: matchLabelsValue
    91          namespaceSelector:
    92            matchExpressions:
    93            - key: keyValue
    94              operator: operatorValue
    95              values:
    96              - valuesValue
    97            matchLabels:
    98              matchLabelsKey: matchLabelsValue
    99          namespaces:
   100          - namespacesValue
   101          topologyKey: topologyKeyValue
   102        weight: 1
   103      requiredDuringSchedulingIgnoredDuringExecution:
   104      - labelSelector:
   105          matchExpressions:
   106          - key: keyValue
   107            operator: operatorValue
   108            values:
   109            - valuesValue
   110          matchLabels:
   111            matchLabelsKey: matchLabelsValue
   112        namespaceSelector:
   113          matchExpressions:
   114          - key: keyValue
   115            operator: operatorValue
   116            values:
   117            - valuesValue
   118          matchLabels:
   119            matchLabelsKey: matchLabelsValue
   120        namespaces:
   121        - namespacesValue
   122        topologyKey: topologyKeyValue
   123    podAntiAffinity:
   124      preferredDuringSchedulingIgnoredDuringExecution:
   125      - podAffinityTerm:
   126          labelSelector:
   127            matchExpressions:
   128            - key: keyValue
   129              operator: operatorValue
   130              values:
   131              - valuesValue
   132            matchLabels:
   133              matchLabelsKey: matchLabelsValue
   134          namespaceSelector:
   135            matchExpressions:
   136            - key: keyValue
   137              operator: operatorValue
   138              values:
   139              - valuesValue
   140            matchLabels:
   141              matchLabelsKey: matchLabelsValue
   142          namespaces:
   143          - namespacesValue
   144          topologyKey: topologyKeyValue
   145        weight: 1
   146      requiredDuringSchedulingIgnoredDuringExecution:
   147      - labelSelector:
   148          matchExpressions:
   149          - key: keyValue
   150            operator: operatorValue
   151            values:
   152            - valuesValue
   153          matchLabels:
   154            matchLabelsKey: matchLabelsValue
   155        namespaceSelector:
   156          matchExpressions:
   157          - key: keyValue
   158            operator: operatorValue
   159            values:
   160            - valuesValue
   161          matchLabels:
   162            matchLabelsKey: matchLabelsValue
   163        namespaces:
   164        - namespacesValue
   165        topologyKey: topologyKeyValue
   166  architecture: architectureValue
   167  dnsConfig:
   168    nameservers:
   169    - nameserversValue
   170    options:
   171    - name: nameValue
   172      value: valueValue
   173    searches:
   174    - searchesValue
   175  dnsPolicy: dnsPolicyValue
   176  domain:
   177    chassis:
   178      asset: assetValue
   179      manufacturer: manufacturerValue
   180      serial: serialValue
   181      sku: skuValue
   182      version: versionValue
   183    clock:
   184      timer:
   185        hpet:
   186          present: true
   187          tickPolicy: tickPolicyValue
   188        hyperv:
   189          present: true
   190        kvm:
   191          present: true
   192        pit:
   193          present: true
   194          tickPolicy: tickPolicyValue
   195        rtc:
   196          present: true
   197          tickPolicy: tickPolicyValue
   198          track: trackValue
   199      timezone: timezoneValue
   200      utc:
   201        offsetSeconds: -13
   202    cpu:
   203      cores: 4294967291
   204      dedicatedCpuPlacement: true
   205      features:
   206      - name: nameValue
   207        policy: policyValue
   208      isolateEmulatorThread: true
   209      maxSockets: 4294967286
   210      model: modelValue
   211      numa:
   212        guestMappingPassthrough: {}
   213      realtime:
   214        mask: maskValue
   215      sockets: 4294967289
   216      threads: 4294967289
   217    devices:
   218      autoattachGraphicsDevice: true
   219      autoattachInputDevice: true
   220      autoattachMemBalloon: true
   221      autoattachPodInterface: true
   222      autoattachSerialConsole: true
   223      autoattachVSOCK: true
   224      blockMultiQueue: true
   225      clientPassthrough: {}
   226      disableHotplug: true
   227      disks:
   228      - blockSize:
   229          custom:
   230            logical: 18446744073709551609
   231            physical: 18446744073709551608
   232          matchVolume:
   233            enabled: true
   234        bootOrder: 18446744073709551607
   235        cache: cacheValue
   236        cdrom:
   237          bus: busValue
   238          readonly: true
   239          tray: trayValue
   240        dedicatedIOThread: true
   241        disk:
   242          bus: busValue
   243          pciAddress: pciAddressValue
   244          readonly: true
   245        errorPolicy: errorPolicyValue
   246        io: ioValue
   247        lun:
   248          bus: busValue
   249          readonly: true
   250          reservation: true
   251        name: nameValue
   252        serial: serialValue
   253        shareable: true
   254        tag: tagValue
   255      downwardMetrics: {}
   256      filesystems:
   257      - name: nameValue
   258        virtiofs: {}
   259      gpus:
   260      - deviceName: deviceNameValue
   261        name: nameValue
   262        tag: tagValue
   263        virtualGPUOptions:
   264          display:
   265            enabled: true
   266            ramFB:
   267              enabled: true
   268      hostDevices:
   269      - deviceName: deviceNameValue
   270        name: nameValue
   271        tag: tagValue
   272      inputs:
   273      - bus: busValue
   274        name: nameValue
   275        type: typeValue
   276      interfaces:
   277      - acpiIndex: -9
   278        binding:
   279          name: nameValue
   280        bootOrder: 18446744073709551607
   281        bridge: {}
   282        dhcpOptions:
   283          bootFileName: bootFileNameValue
   284          ntpServers:
   285          - ntpServersValue
   286          privateOptions:
   287          - option: -6
   288            value: valueValue
   289          tftpServerName: tftpServerNameValue
   290        macAddress: macAddressValue
   291        macvtap: {}
   292        masquerade: {}
   293        model: modelValue
   294        name: nameValue
   295        passt: {}
   296        pciAddress: pciAddressValue
   297        ports:
   298        - name: nameValue
   299          port: -4
   300          protocol: protocolValue
   301        slirp: {}
   302        sriov: {}
   303        state: stateValue
   304        tag: tagValue
   305      logSerialConsole: true
   306      networkInterfaceMultiqueue: true
   307      rng: {}
   308      sound:
   309        model: modelValue
   310        name: nameValue
   311      tpm:
   312        persistent: true
   313      useVirtioTransitional: true
   314      watchdog:
   315        i6300esb:
   316          action: actionValue
   317        name: nameValue
   318    features:
   319      acpi:
   320        enabled: true
   321      apic:
   322        enabled: true
   323        endOfInterrupt: true
   324      hyperv:
   325        evmcs:
   326          enabled: true
   327        frequencies:
   328          enabled: true
   329        ipi:
   330          enabled: true
   331        reenlightenment:
   332          enabled: true
   333        relaxed:
   334          enabled: true
   335        reset:
   336          enabled: true
   337        runtime:
   338          enabled: true
   339        spinlocks:
   340          enabled: true
   341          spinlocks: 4294967287
   342        synic:
   343          enabled: true
   344        synictimer:
   345          direct:
   346            enabled: true
   347          enabled: true
   348        tlbflush:
   349          enabled: true
   350        vapic:
   351          enabled: true
   352        vendorid:
   353          enabled: true
   354          vendorid: vendoridValue
   355        vpindex:
   356          enabled: true
   357      hypervPassthrough:
   358        enabled: true
   359      kvm:
   360        hidden: true
   361      pvspinlock:
   362        enabled: true
   363      smm:
   364        enabled: true
   365    firmware:
   366      acpi:
   367        slicNameRef: slicNameRefValue
   368      bootloader:
   369        bios:
   370          useSerial: true
   371        efi:
   372          persistent: true
   373          secureBoot: true
   374      kernelBoot:
   375        container:
   376          image: imageValue
   377          imagePullPolicy: imagePullPolicyValue
   378          imagePullSecret: imagePullSecretValue
   379          initrdPath: initrdPathValue
   380          kernelPath: kernelPathValue
   381        kernelArgs: kernelArgsValue
   382      serial: serialValue
   383      uuid: uuidValue
   384    ioThreadsPolicy: ioThreadsPolicyValue
   385    launchSecurity:
   386      sev:
   387        attestation: {}
   388        dhCert: dhCertValue
   389        policy:
   390          encryptedState: true
   391        session: sessionValue
   392    machine:
   393      type: typeValue
   394    memory:
   395      guest: "0"
   396      hugepages:
   397        pageSize: pageSizeValue
   398      maxGuest: "0"
   399    resources:
   400      limits:
   401        limitsKey: "0"
   402      overcommitGuestOverhead: true
   403      requests:
   404        requestsKey: "0"
   405  evictionStrategy: evictionStrategyValue
   406  hostname: hostnameValue
   407  livenessProbe:
   408    exec:
   409      command:
   410      - commandValue
   411    failureThreshold: -16
   412    guestAgentPing: {}
   413    httpGet:
   414      host: hostValue
   415      httpHeaders:
   416      - name: nameValue
   417        value: valueValue
   418      path: pathValue
   419      port: portValue
   420      scheme: schemeValue
   421    initialDelaySeconds: -19
   422    periodSeconds: -13
   423    successThreshold: -16
   424    tcpSocket:
   425      host: hostValue
   426      port: portValue
   427    timeoutSeconds: -14
   428  networks:
   429  - multus:
   430      default: true
   431      networkName: networkNameValue
   432    name: nameValue
   433    pod:
   434      vmIPv6NetworkCIDR: vmIPv6NetworkCIDRValue
   435      vmNetworkCIDR: vmNetworkCIDRValue
   436  nodeSelector:
   437    nodeSelectorKey: nodeSelectorValue
   438  priorityClassName: priorityClassNameValue
   439  readinessProbe:
   440    exec:
   441      command:
   442      - commandValue
   443    failureThreshold: -16
   444    guestAgentPing: {}
   445    httpGet:
   446      host: hostValue
   447      httpHeaders:
   448      - name: nameValue
   449        value: valueValue
   450      path: pathValue
   451      port: portValue
   452      scheme: schemeValue
   453    initialDelaySeconds: -19
   454    periodSeconds: -13
   455    successThreshold: -16
   456    tcpSocket:
   457      host: hostValue
   458      port: portValue
   459    timeoutSeconds: -14
   460  schedulerName: schedulerNameValue
   461  startStrategy: startStrategyValue
   462  subdomain: subdomainValue
   463  terminationGracePeriodSeconds: -29
   464  tolerations:
   465  - effect: effectValue
   466    key: keyValue
   467    operator: operatorValue
   468    tolerationSeconds: 5
   469    value: valueValue
   470  topologySpreadConstraints:
   471  - labelSelector:
   472      matchExpressions:
   473      - key: keyValue
   474        operator: operatorValue
   475        values:
   476        - valuesValue
   477      matchLabels:
   478        matchLabelsKey: matchLabelsValue
   479    matchLabelKeys:
   480    - matchLabelKeysValue
   481    maxSkew: 1
   482    minDomains: 5
   483    nodeAffinityPolicy: nodeAffinityPolicyValue
   484    nodeTaintsPolicy: nodeTaintsPolicyValue
   485    topologyKey: topologyKeyValue
   486    whenUnsatisfiable: whenUnsatisfiableValue
   487  volumes:
   488  - cloudInitConfigDrive:
   489      networkData: networkDataValue
   490      networkDataBase64: networkDataBase64Value
   491      networkDataSecretRef:
   492        name: nameValue
   493      secretRef:
   494        name: nameValue
   495      userData: userDataValue
   496      userDataBase64: userDataBase64Value
   497    cloudInitNoCloud:
   498      networkData: networkDataValue
   499      networkDataBase64: networkDataBase64Value
   500      networkDataSecretRef:
   501        name: nameValue
   502      secretRef:
   503        name: nameValue
   504      userData: userDataValue
   505      userDataBase64: userDataBase64Value
   506    configMap:
   507      name: nameValue
   508      optional: true
   509      volumeLabel: volumeLabelValue
   510    containerDisk:
   511      image: imageValue
   512      imagePullPolicy: imagePullPolicyValue
   513      imagePullSecret: imagePullSecretValue
   514      path: pathValue
   515    dataVolume:
   516      hotpluggable: true
   517      name: nameValue
   518    downwardAPI:
   519      fields:
   520      - fieldRef:
   521          apiVersion: apiVersionValue
   522          fieldPath: fieldPathValue
   523        mode: 4
   524        path: pathValue
   525        resourceFieldRef:
   526          containerName: containerNameValue
   527          divisor: "0"
   528          resource: resourceValue
   529      volumeLabel: volumeLabelValue
   530    downwardMetrics: {}
   531    emptyDisk:
   532      capacity: "0"
   533    ephemeral:
   534      persistentVolumeClaim:
   535        claimName: claimNameValue
   536        readOnly: true
   537    hostDisk:
   538      capacity: "0"
   539      path: pathValue
   540      shared: true
   541      type: typeValue
   542    memoryDump:
   543      claimName: claimNameValue
   544      hotpluggable: true
   545      readOnly: true
   546    name: nameValue
   547    persistentVolumeClaim:
   548      claimName: claimNameValue
   549      hotpluggable: true
   550      readOnly: true
   551    secret:
   552      optional: true
   553      secretName: secretNameValue
   554      volumeLabel: volumeLabelValue
   555    serviceAccount:
   556      serviceAccountName: serviceAccountNameValue
   557    sysprep:
   558      configMap:
   559        name: nameValue
   560      secret:
   561        name: nameValue
   562status:
   563  VSOCKCID: 4294967288
   564  activePods:
   565    activePodsKey: activePodsValue
   566  conditions:
   567  - lastProbeTime: "1987-01-01T01:01:01Z"
   568    lastTransitionTime: "1982-01-01T01:01:01Z"
   569    message: messageValue
   570    reason: reasonValue
   571    status: statusValue
   572    type: typeValue
   573  currentCPUTopology:
   574    cores: 4294967291
   575    sockets: 4294967289
   576    threads: 4294967289
   577  evacuationNodeName: evacuationNodeNameValue
   578  fsFreezeStatus: fsFreezeStatusValue
   579  guestOSInfo:
   580    id: idValue
   581    kernelRelease: kernelReleaseValue
   582    kernelVersion: kernelVersionValue
   583    machine: machineValue
   584    name: nameValue
   585    prettyName: prettyNameValue
   586    version: versionValue
   587    versionId: versionIdValue
   588  interfaces:
   589  - infoSource: infoSourceValue
   590    interfaceName: interfaceNameValue
   591    ipAddress: ipAddressValue
   592    ipAddresses:
   593    - ipAddressesValue
   594    mac: macValue
   595    name: nameValue
   596    queueCount: -10
   597  kernelBootStatus:
   598    initrdInfo:
   599      checksum: 4294967288
   600    kernelInfo:
   601      checksum: 4294967288
   602  launcherContainerImageVersion: launcherContainerImageVersionValue
   603  machine:
   604    type: typeValue
   605  memory:
   606    guestAtBoot: "0"
   607    guestCurrent: "0"
   608    guestRequested: "0"
   609  migrationMethod: migrationMethodValue
   610  migrationState:
   611    abortRequested: true
   612    abortStatus: abortStatusValue
   613    completed: true
   614    endTimestamp: "1988-01-01T01:01:01Z"
   615    failed: true
   616    failureReason: failureReasonValue
   617    migrationConfiguration:
   618      allowAutoConverge: true
   619      allowPostCopy: true
   620      bandwidthPerMigration: "0"
   621      completionTimeoutPerGiB: -23
   622      disableTLS: true
   623      matchSELinuxLevelOnMigration: true
   624      network: networkValue
   625      nodeDrainTaintKey: nodeDrainTaintKeyValue
   626      parallelMigrationsPerCluster: 4294967268
   627      parallelOutboundMigrationsPerNode: 4294967263
   628      progressTimeout: -15
   629      unsafeMigrationOverride: true
   630    migrationPolicyName: migrationPolicyNameValue
   631    migrationUid: migrationUidValue
   632    mode: modeValue
   633    sourceNode: sourceNodeValue
   634    sourcePod: sourcePodValue
   635    startTimestamp: "1986-01-01T01:01:01Z"
   636    targetAttachmentPodUID: targetAttachmentPodUIDValue
   637    targetCPUSet:
   638    - -12
   639    targetDirectMigrationNodePorts:
   640      targetDirectMigrationNodePortsKey: -30
   641    targetNode: targetNodeValue
   642    targetNodeAddress: targetNodeAddressValue
   643    targetNodeDomainDetected: true
   644    targetNodeDomainReadyTimestamp: "1970-01-01T01:01:01Z"
   645    targetNodeTopology: targetNodeTopologyValue
   646    targetPod: targetPodValue
   647  migrationTransport: migrationTransportValue
   648  nodeName: nodeNameValue
   649  phase: phaseValue
   650  phaseTransitionTimestamps:
   651  - phase: phaseValue
   652    phaseTransitionTimestamp: "1976-01-01T01:01:01Z"
   653  qosClass: qosClassValue
   654  reason: reasonValue
   655  runtimeUser: 18446744073709551605
   656  selinuxContext: selinuxContextValue
   657  topologyHints:
   658    tscFrequency: -12
   659  virtualMachineRevisionName: virtualMachineRevisionNameValue
   660  volumeStatus:
   661  - containerDiskVolume:
   662      checksum: 4294967288
   663    hotplugVolume:
   664      attachPodName: attachPodNameValue
   665      attachPodUID: attachPodUIDValue
   666    memoryDumpVolume:
   667      claimName: claimNameValue
   668      endTimestamp: "1988-01-01T01:01:01Z"
   669      startTimestamp: "1986-01-01T01:01:01Z"
   670      targetFileName: targetFileNameValue
   671    message: messageValue
   672    name: nameValue
   673    persistentVolumeClaimInfo:
   674      accessModes:
   675      - accessModesValue
   676      capacity:
   677        capacityKey: "0"
   678      filesystemOverhead: filesystemOverheadValue
   679      preallocated: true
   680      requests:
   681        requestsKey: "0"
   682      volumeMode: volumeModeValue
   683    phase: phaseValue
   684    reason: reasonValue
   685    size: -4
   686    target: targetValue

View as plain text