Drop initial code
This commit is contained in:
94
deploy/harvester/templates/rke2-ubuntu-24.04-xrv5n.yaml
Executable file
94
deploy/harvester/templates/rke2-ubuntu-24.04-xrv5n.yaml
Executable file
@@ -0,0 +1,94 @@
|
||||
apiVersion: harvesterhci.io/v1beta1
|
||||
kind: VirtualMachineTemplateVersion
|
||||
metadata:
|
||||
annotations:
|
||||
template-version.harvesterhci.io/customName: VfNPzXKspc
|
||||
generateName: rke2-ubuntu-24.04-
|
||||
generation: 2
|
||||
labels:
|
||||
template.harvesterhci.io/templateID: rke2-ubuntu-24.04
|
||||
name: rke2-ubuntu-24.04-xrv5n
|
||||
namespace: vanderlande
|
||||
ownerReferences:
|
||||
- apiVersion: harvesterhci.io/v1beta1
|
||||
blockOwnerDeletion: true
|
||||
controller: true
|
||||
kind: VirtualMachineTemplate
|
||||
name: rke2-ubuntu-24.04
|
||||
# UID of the VirtualMachineTemplate to link to
|
||||
uid: cf644217-0be1-47f0-8c7f-2594f633da26
|
||||
# UID is of the VirtualMachineTemplateVersion used by the secret
|
||||
uid: ad96ea4b-3d5a-4de3-adb0-0eb3c99920b2
|
||||
spec:
|
||||
templateId: vanderlande/rke2-ubuntu-24.04
|
||||
vm:
|
||||
metadata:
|
||||
annotations:
|
||||
harvesterhci.io/enableCPUAndMemoryHotplug: "true"
|
||||
# Image StorageClass name is defined by the image suffix, i.e. ubuntu-24.04-qhtpc -> longhorn-image-qhtpc
|
||||
harvesterhci.io/volumeClaimTemplates: '[{"metadata":{"name":"-disk-0-jprp0","annotations":{"harvesterhci.io/imageId":"vanderlande/image-qhtpc"}},"spec":{"accessModes":["ReadWriteMany"],"resources":{"requests":{"storage":"60Gi"}},"volumeMode":"Block","storageClassName":"longhorn-image-qhtpc"}}]'
|
||||
template-version.harvesterhci.io/customName: VfNPzXKspc
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
harvesterhci.io/os: ubuntu
|
||||
spec:
|
||||
runStrategy: RerunOnFailure
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
harvesterhci.io/sshNames: '["vanderlande/harvester-cnv-node"]'
|
||||
creationTimestamp: null
|
||||
spec:
|
||||
affinity: {}
|
||||
domain:
|
||||
cpu:
|
||||
cores: 1
|
||||
maxSockets: 16
|
||||
sockets: 4
|
||||
threads: 1
|
||||
devices:
|
||||
disks:
|
||||
- bootOrder: 1
|
||||
disk:
|
||||
bus: virtio
|
||||
name: disk-0
|
||||
- disk:
|
||||
bus: virtio
|
||||
name: cloudinitdisk
|
||||
inputs:
|
||||
- bus: usb
|
||||
name: tablet
|
||||
type: tablet
|
||||
interfaces:
|
||||
- bridge: {}
|
||||
model: virtio
|
||||
name: default
|
||||
features:
|
||||
acpi:
|
||||
enabled: true
|
||||
machine:
|
||||
type: ""
|
||||
memory:
|
||||
guest: 8Gi
|
||||
maxGuest: 32Gi
|
||||
resources:
|
||||
limits:
|
||||
cpu: "16"
|
||||
memory: 32Gi
|
||||
evictionStrategy: LiveMigrateIfPossible
|
||||
networks:
|
||||
- multus:
|
||||
networkName: vanderlande/vm-lan
|
||||
name: default
|
||||
terminationGracePeriodSeconds: 120
|
||||
volumes:
|
||||
- name: disk-0
|
||||
persistentVolumeClaim:
|
||||
claimName: -disk-0-jprp0
|
||||
- cloudInitNoCloud:
|
||||
networkDataSecretRef:
|
||||
name: rke2-ubuntu-24.04-3bl5k
|
||||
secretRef:
|
||||
name: rke2-ubuntu-24.04-3bl5k
|
||||
name: cloudinitdisk
|
||||
|
||||
Reference in New Issue
Block a user