Created
September 13, 2025 12:16
-
-
Save jacob7395/4b508fd9eb0c9e099f4ba763d8fe6e11 to your computer and use it in GitHub Desktop.
Config for kubecit issue
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: cdi.kubevirt.io/v1beta1 | |
| kind: CDIConfig | |
| metadata: | |
| name: config | |
| namespace: cdi | |
| spec: | |
| scratchSpaceStorageClass: scratch |
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: cdi.kubevirt.io/v1beta1 | |
| kind: CDI | |
| metadata: | |
| name: cdi | |
| spec: | |
| config: | |
| featureGates: | |
| - HonorWaitForFirstConsumer | |
| imagePullPolicy: IfNotPresent | |
| infra: | |
| nodeSelector: | |
| kubernetes.io/os: linux | |
| tolerations: | |
| - key: CriticalAddonsOnly | |
| operator: Exists | |
| workload: | |
| nodeSelector: | |
| kubernetes.io/os: linux |
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: KubeVirt | |
| metadata: | |
| name: kubevirt | |
| namespace: kubevirt | |
| spec: | |
| certificateRotateStrategy: {} | |
| configuration: | |
| vmRolloutStrategy: "LiveUpdate" | |
| developerConfiguration: | |
| featureGates: | |
| - HostDevices | |
| - BlockVolume | |
| - EnableVirtioFsStorageVolumes | |
| permittedHostDevices: | |
| usb: | |
| - resourceName: kubevirt.io/peripherals | |
| selectors: | |
| - vendor: "10c4" | |
| product: "ea60" | |
| - vendor: "2357" | |
| product: "0604" | |
| customizeComponents: {} | |
| imagePullPolicy: IfNotPresent | |
| workloadUpdateStrategy: {} |
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: instancetype.kubevirt.io/v1beta1 | |
| kind: VirtualMachineInstancetype | |
| metadata: | |
| name: cmedium | |
| spec: | |
| cpu: | |
| guest: 1 | |
| memory: | |
| guest: 1Gi | |
| --- | |
| apiVersion: instancetype.kubevirt.io/v1beta1 | |
| kind: VirtualMachinePreference | |
| metadata: | |
| name: fedora | |
| spec: | |
| devices: | |
| preferredDiskBus: virtio | |
| preferredInterfaceModel: virtio | |
| preferredRng: {} | |
| features: | |
| preferredAcpi: {} | |
| preferredSmm: {} | |
| firmware: | |
| preferredUseEfi: true | |
| preferredUseSecureBoot: true | |
| --- | |
| apiVersion: kubevirt.io/v1 | |
| kind: VirtualMachine | |
| metadata: | |
| creationTimestamp: null | |
| name: fedora | |
| spec: | |
| instancetype: | |
| name: cmedium | |
| kind: virtualMachineInstancetype | |
| preference: | |
| name: fedora | |
| kind: virtualMachinePreference | |
| runStrategy: Always | |
| template: | |
| metadata: | |
| creationTimestamp: null | |
| spec: | |
| domain: | |
| devices: | |
| hostDevices: | |
| - deviceName: kubevirt.io/peripherals | |
| name: local-peripherals | |
| volumes: | |
| - containerDisk: | |
| image: quay.io/containerdisks/fedora:latest | |
| name: containerdisk | |
| - cloudInitNoCloud: | |
| userData: |- | |
| #cloud-config | |
| user: fedora | |
| password: password1 | |
| chpasswd: { expire: False } | |
| name: cloudinitdisk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment