From 3cd9cb22723f8b256575f3fbc02fc9792320f482 Mon Sep 17 00:00:00 2001 From: Justin Garrison Date: Wed, 28 Aug 2024 16:25:17 -0700 Subject: [PATCH] docs: add talos vmpool example (#71) Signed-off-by: Justin Garrison --- docs/hack/talos-br0.vmpool.yaml | 61 +++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 docs/hack/talos-br0.vmpool.yaml diff --git a/docs/hack/talos-br0.vmpool.yaml b/docs/hack/talos-br0.vmpool.yaml new file mode 100644 index 0000000..3fe6976 --- /dev/null +++ b/docs/hack/talos-br0.vmpool.yaml @@ -0,0 +1,61 @@ +--- +apiVersion: pool.kubevirt.io/v1alpha1 +kind: VirtualMachinePool +metadata: + name: talos +spec: + replicas: 3 + selector: + matchLabels: + kubevirt.io/vmpool: talos + virtualMachineTemplate: + metadata: + creationTimestamp: null + labels: + kubevirt.io/vmpool: talos + spec: + running: true + template: + metadata: + creationTimestamp: null + labels: + kubevirt.io/vmpool: talos + spec: + architecture: amd64 + domain: + devices: + disks: + - disk: + bus: virtio + bootOrder: 1 + name: talosdisk + interfaces: + - name: eth0 + bridge: {} + resources: + cpu: + cores: 2 + requests: + memory: 4Gi + networks: + - name: eth0 + multus: + networkName: br0 + terminationGracePeriodSeconds: 0 + volumes: + - dataVolume: + name: talosdisk + name: talosdisk + dataVolumeTemplates: + - metadata: + name: talosdisk + spec: + storage: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 20Gi + source: + http: + url: "https://factory.talos.dev/image/79c3d43dd90861d1ffdd379da3e5a6e7fccdb36be434d4b3749ecae8882b08a9/v1.7.6/nocloud-amd64.raw.xz"