Created
October 20, 2022 16:41
-
-
Save hh/a01c498863734c4f15d3af0ddb7af537 to your computer and use it in GitHub Desktop.
KubeVirt MachineTemplate unable to create no cloud init;
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: kubevirt.io/v1 | |
kind: VirtualMachineInstance | |
metadata: | |
annotations: | |
kubevirt.io/latest-observed-api-version: v1 | |
kubevirt.io/storage-observed-api-version: v1alpha3 | |
creationTimestamp: "2022-10-18T23:02:50Z" | |
finalizers: | |
- kubevirt.io/virtualMachineControllerFinalize | |
- foregroundDeleteVirtualMachine | |
generation: 9 | |
labels: | |
capk.cluster.x-k8s.io/kubevirt-machine-name: coolthing44-cp-clmmz | |
capk.cluster.x-k8s.io/kubevirt-machine-namespace: coolthing44 | |
cluster.x-k8s.io/cluster-name: coolthing44 | |
cluster.x-k8s.io/role: control-plane | |
kubevirt.io/nodeName: talos-control-plane-9nk47 | |
kubevirt.io/vm: coolthing44-cp-clmmz | |
name: coolthing44-cp-clmmz | |
name: coolthing44-cp-clmmz | |
namespace: coolthing44 | |
ownerReferences: | |
- apiVersion: kubevirt.io/v1 | |
blockOwnerDeletion: true | |
controller: true | |
kind: VirtualMachine | |
name: coolthing44-cp-clmmz | |
uid: 53d941c1-cb31-4a1e-9195-a23cecefc4b0 | |
resourceVersion: "4037930" | |
uid: 64ea158f-6651-4650-aa3a-f8319522bd61 | |
spec: | |
domain: | |
cpu: | |
cores: 2 | |
model: host-model | |
devices: | |
disks: | |
- disk: | |
bus: scsi | |
name: vmdisk | |
- disk: | |
bus: virtio | |
name: cloudinitvolume | |
interfaces: | |
- bridge: {} | |
name: default | |
features: | |
acpi: | |
enabled: true | |
firmware: | |
uuid: 67c32c19-401c-5a33-bdc4-cfefd8123358 | |
machine: | |
type: q35 | |
memory: | |
guest: 4Gi | |
resources: | |
requests: | |
memory: 4Gi | |
evictionStrategy: External | |
networks: | |
- name: default | |
pod: {} | |
volumes: | |
- dataVolume: | |
name: coolthing44-cp-clmmz-vmdisk-dv | |
name: vmdisk | |
- cloudInitConfigDrive: | |
secretRef: | |
name: coolthing44-phjd8-userdata | |
name: cloudinitvolume | |
status: | |
activePods: | |
b0cfba58-fb37-47f8-aa01-6ff00b51000c: talos-control-plane-9nk47 | |
conditions: | |
- lastProbeTime: null | |
lastTransitionTime: "2022-10-18T23:02:53Z" | |
status: "True" | |
type: Ready | |
- lastProbeTime: null | |
lastTransitionTime: null | |
message: 'cannot migrate VMI: PVC coolthing44-cp-clmmz-vmdisk-dv is not shared, | |
live migration requires that all PVCs must be shared (using ReadWriteMany access | |
mode)' | |
reason: DisksNotLiveMigratable | |
status: "False" | |
type: LiveMigratable | |
guestOSInfo: {} | |
interfaces: | |
- infoSource: domain | |
ipAddress: 192.168.0.51 | |
ipAddresses: | |
- 192.168.0.51 | |
mac: 96:b1:78:89:80:3a | |
name: default | |
queueCount: 1 | |
launcherContainerImageVersion: quay.io/kubevirt/virt-launcher:v0.58.0 | |
migrationMethod: BlockMigration | |
migrationTransport: Unix | |
nodeName: talos-control-plane-9nk47 | |
phase: Running | |
phaseTransitionTimestamps: | |
- phase: Pending | |
phaseTransitionTimestamp: "2022-10-18T23:02:50Z" | |
- phase: Scheduling | |
phaseTransitionTimestamp: "2022-10-18T23:02:51Z" | |
- phase: Scheduled | |
phaseTransitionTimestamp: "2022-10-18T23:02:53Z" | |
- phase: Running | |
phaseTransitionTimestamp: "2022-10-18T23:02:54Z" | |
qosClass: Burstable | |
runtimeUser: 0 | |
virtualMachineRevisionName: revision-start-vm-53d941c1-cb31-4a1e-9195-a23cecefc4b0-1 | |
volumeStatus: | |
- name: cloudinitvolume | |
size: 1048576 | |
target: vda | |
- name: vmdisk | |
persistentVolumeClaimInfo: | |
accessModes: | |
- ReadWriteOnce | |
capacity: | |
storage: 50Gi | |
filesystemOverhead: "0.055" | |
requests: | |
storage: 50Gi | |
volumeMode: Filesystem | |
target: sda |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1 | |
kind: KubevirtMachineTemplate | |
metadata: | |
creationTimestamp: "2022-10-18T23:02:26Z" | |
generation: 1 | |
name: coolthing44-cp | |
namespace: coolthing44 | |
ownerReferences: | |
- apiVersion: cluster.x-k8s.io/v1beta1 | |
kind: Cluster | |
name: coolthing44 | |
uid: 3992f33d-c19c-4345-8a05-1df99f9226bc | |
resourceVersion: "4037505" | |
uid: 4741b054-2e4c-4a4c-a1b0-d933fbaec8ac | |
spec: | |
template: | |
spec: | |
virtualMachineTemplate: | |
metadata: | |
namespace: coolthing44 | |
spec: | |
dataVolumeTemplates: | |
- metadata: | |
name: vmdisk-dv | |
spec: | |
pvc: | |
accessModes: | |
- ReadWriteOnce | |
resources: | |
requests: | |
storage: 50Gi | |
source: | |
registry: | |
url: docker://docker.io/katamo/talos:latest | |
runStrategy: Always | |
template: | |
spec: | |
domain: | |
cpu: | |
cores: 2 | |
devices: | |
disks: | |
- disk: | |
bus: scsi | |
name: vmdisk | |
memory: | |
guest: 4Gi | |
evictionStrategy: External | |
volumes: | |
- dataVolume: | |
name: vmdisk-dv | |
name: vmdisk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment