Drop initial code
This commit is contained in:
94
deploy/harvester/templates/rke2-ubuntu-22.04-8fzp2.yaml
Executable file
94
deploy/harvester/templates/rke2-ubuntu-22.04-8fzp2.yaml
Executable file
@@ -0,0 +1,94 @@
|
||||
apiVersion: harvesterhci.io/v1beta1
|
||||
kind: VirtualMachineTemplateVersion
|
||||
metadata:
|
||||
annotations:
|
||||
template-version.harvesterhci.io/customName: m8HEQq4ebp
|
||||
generateName: rke2-ubuntu-22.04-
|
||||
generation: 2
|
||||
labels:
|
||||
template.harvesterhci.io/templateID: rke2-ubuntu-22.04
|
||||
name: rke2-ubuntu-22.04-8fzp2
|
||||
namespace: vanderlande
|
||||
ownerReferences:
|
||||
- apiVersion: harvesterhci.io/v1beta1
|
||||
blockOwnerDeletion: true
|
||||
controller: true
|
||||
kind: VirtualMachineTemplate
|
||||
name: rke2-ubuntu-22.04
|
||||
# UID of the VirtualMachineTemplate to link to
|
||||
uid: 8358985a-2a3d-4d06-a656-eb5e69d3137d
|
||||
# UID is of the VirtualMachineTemplateVersion used by the secret
|
||||
uid: 0c581ffb-8681-4054-a3c1-078a22dc53d8
|
||||
spec:
|
||||
templateId: vanderlande/rke2-ubuntu-22.04
|
||||
vm:
|
||||
metadata:
|
||||
annotations:
|
||||
harvesterhci.io/enableCPUAndMemoryHotplug: 'true'
|
||||
# Image StorageClass name is defined by the image suffix, i.e. ubuntu-22.04-7mg64 -> longhorn-image-7mg64
|
||||
harvesterhci.io/volumeClaimTemplates: '[{"metadata":{"name":"-disk-0-q0xip","annotations":{"harvesterhci.io/imageId":"vanderlande/image-7mg64"}},"spec":{"accessModes":["ReadWriteMany"],"resources":{"requests":{"storage":"60Gi"}},"volumeMode":"Block","storageClassName":"longhorn-image-7mg64"}}]'
|
||||
template-version.harvesterhci.io/customName: m8HEQq4ebp
|
||||
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-q0xip'
|
||||
- cloudInitNoCloud:
|
||||
networkDataSecretRef:
|
||||
name: rke2-ubuntu-22.04-lbbfn
|
||||
secretRef:
|
||||
name: rke2-ubuntu-22.04-lbbfn
|
||||
name: cloudinitdisk
|
||||
|
||||
Reference in New Issue
Block a user