diff --git a/appliances/OneKE_1.31/2a902664-98ed-4e78-80b6-af97dfd75371.yaml b/appliances/OneKE_1.31/2a902664-98ed-4e78-80b6-af97dfd75371.yaml new file mode 100644 index 0000000..9bdf6f4 --- /dev/null +++ b/appliances/OneKE_1.31/2a902664-98ed-4e78-80b6-af97dfd75371.yaml @@ -0,0 +1,76 @@ +--- +name: OneKE 1.31 +version: 1.31.3-6.10.0-2-20241219 +publisher: OpenNebula Systems +description: |- + OneKE 1.31 VM template for Master and Worker VMs. + + See the dedicated [documentation](https://github.com/OpenNebula/one-apps/wiki). +short_description: OneKE 1.31 VM template for Master and Worker VMs +tags: +- kubernetes +- service +- ubuntu +type: VMTEMPLATE +format: qcow2 +creation_time: 1734611659 +os-id: Ubuntu +os-release: "22.04 LTS" +os-arch: x86_64 +hypervisor: ALL +opennebula_version: >- + 6.2, 6.3, 6.4, 6.6, 6.8, 6.10 +opennebula_template: + context: + SERVICE_ID: "$SERVICE_ID" + FALLBACK_GW: "$FALLBACK_GW" + FALLBACK_DNS: "$FALLBACK_DNS" + GROW_FS: "/" + NETWORK: "YES" + TOKEN: "YES" + REPORT_READY: "YES" + SSH_PUBLIC_KEY: "$USER[SSH_PUBLIC_KEY]" + ONE_SERVICE_AIRGAPPED: "NO" + ONEAPP_VROUTER_ETH0_VIP0: "$ONEAPP_VROUTER_ETH0_VIP0" + ONEAPP_VROUTER_ETH1_VIP0: "$ONEAPP_VROUTER_ETH1_VIP0" + ONEAPP_RKE2_SUPERVISOR_EP: "$ONEAPP_RKE2_SUPERVISOR_EP" + ONEAPP_K8S_CONTROL_PLANE_EP: "$ONEAPP_K8S_CONTROL_PLANE_EP" + ONEAPP_K8S_EXTRA_SANS: "$ONEAPP_K8S_EXTRA_SANS" + ONEAPP_K8S_MULTUS_ENABLED: "$ONEAPP_K8S_MULTUS_ENABLED" + ONEAPP_K8S_MULTUS_CONFIG: "$ONEAPP_K8S_MULTUS_CONFIG" + ONEAPP_K8S_CNI_PLUGIN: "$ONEAPP_K8S_CNI_PLUGIN" + ONEAPP_K8S_CNI_CONFIG: "$ONEAPP_K8S_CNI_CONFIG" + ONEAPP_K8S_CILIUM_BGP_ENABLED: "$ONEAPP_K8S_CILIUM_BGP_ENABLED" + ONEAPP_K8S_CILIUM_RANGE: "$ONEAPP_K8S_CILIUM_RANGE" + ONEAPP_K8S_LONGHORN_ENABLED: "$ONEAPP_K8S_LONGHORN_ENABLED" + ONEAPP_K8S_METALLB_ENABLED: "$ONEAPP_K8S_METALLB_ENABLED" + ONEAPP_K8S_METALLB_CLASS: "$ONEAPP_K8S_METALLB_CLASS" + ONEAPP_K8S_METALLB_CONFIG: "$ONEAPP_K8S_METALLB_CONFIG" + ONEAPP_K8S_METALLB_RANGE: "$ONEAPP_K8S_METALLB_RANGE" + ONEAPP_K8S_TRAEFIK_ENABLED: "$ONEAPP_K8S_TRAEFIK_ENABLED" + ONEAPP_RKE2_CLOUD_CONTROLLER_ENABLED: "$ONEAPP_RKE2_CLOUD_CONTROLLER_ENABLED" + ONEAPP_K8S_HTTP_PROXY: "$ONEAPP_K8S_HTTP_PROXY" + ONEAPP_K8S_HTTPS_PROXY: "$ONEAPP_K8S_HTTPS_PROXY" + ONEAPP_K8S_NO_PROXY: "$ONEAPP_K8S_NO_PROXY" + ONEAPP_VNF_HAPROXY_LB0_IP: "$ONEAPP_VNF_HAPROXY_LB0_IP" + ONEAPP_VNF_HAPROXY_LB0_PORT: "$ONEAPP_VNF_HAPROXY_LB0_PORT" + ONEAPP_VNF_HAPROXY_LB1_IP: "$ONEAPP_VNF_HAPROXY_LB1_IP" + ONEAPP_VNF_HAPROXY_LB1_PORT: "$ONEAPP_VNF_HAPROXY_LB1_PORT" + ONEAPP_VNF_HAPROXY_LB2_IP: "$ONEAPP_VNF_HAPROXY_LB2_IP" + ONEAPP_VNF_HAPROXY_LB2_PORT: "$ONEAPP_VNF_HAPROXY_LB2_PORT" + ONEAPP_VNF_HAPROXY_LB3_IP: "$ONEAPP_VNF_HAPROXY_LB3_IP" + ONEAPP_VNF_HAPROXY_LB3_PORT: "$ONEAPP_VNF_HAPROXY_LB3_PORT" + ONEAPP_VNF_DNS_ENABLED: "$ONEAPP_VNF_DNS_ENABLED" + cpu: "2" + vcpu: "2" + graphics: + listen: "0.0.0.0" + type: vnc + inputs_order: "" + memory: "3072" + os: + arch: x86_64 + user_inputs: {} +logo: kubernetes.png +disks: +- "OneKE 1.31 OS disk" diff --git a/appliances/OneKE_1.31/3f8627c5-9e05-4821-8ef1-20533ad9b7ba.yaml b/appliances/OneKE_1.31/3f8627c5-9e05-4821-8ef1-20533ad9b7ba.yaml new file mode 100644 index 0000000..5ec3fcf --- /dev/null +++ b/appliances/OneKE_1.31/3f8627c5-9e05-4821-8ef1-20533ad9b7ba.yaml @@ -0,0 +1,29 @@ +--- +name: OneKE 1.31 OS disk +version: 1.31.3-6.10.0-2-20241219 +publisher: OpenNebula Systems +description: |- + OneKE 1.31 appliance OS disk. + + See the dedicated [documentation](https://github.com/OpenNebula/one-apps/wiki). +short_description: OneKE 1.31 appliance OS disk +tags: +- disk +- kubernetes +- service +format: qcow2 +creation_time: 1734611659 +os-id: none +os-arch: all +hypervisor: ALL +opennebula_version: 6.2, 6.3, 6.4, 6.6, 6.8, 6.10 +images: +- name: oneke_os + url: "https://d24fmfybwxpuhu.cloudfront.net/service_OneKE-6.10.0-2-20241219.qcow2" + type: OS + dev_prefix: vd + driver: qcow2 + size: 26843545600 + checksum: + md5: f89b6b162d794b0c14663b17c05ef761 + sha256: d47fd6ba95337163173c6d6bbed7469c2767dca756600415b907e18037a6785a diff --git a/appliances/OneKE_1.31/4bea23af-09c2-4520-8f3a-ce902eb5157c.yaml b/appliances/OneKE_1.31/4bea23af-09c2-4520-8f3a-ce902eb5157c.yaml new file mode 100644 index 0000000..fb61e96 --- /dev/null +++ b/appliances/OneKE_1.31/4bea23af-09c2-4520-8f3a-ce902eb5157c.yaml @@ -0,0 +1,76 @@ +--- +name: OneKE 1.31 VNF +version: 1.31.3-6.10.0-2-20241219 +publisher: OpenNebula Systems +description: |- + Appliance providing several Virtual Network Functions (routing, NAT, DNS, DHCP) + to run as regular VM. + + See the dedicated [documentation](https://github.com/OpenNebula/one-apps/wiki). +short_description: Appliance with several Virtual Network Functions to run as VM +tags: +- alpine +- kubernetes +- service +- vnf +format: qcow2 +creation_time: 1734611659 +os-id: Alpine +os-release: '3.18' +os-arch: x86_64 +hypervisor: ALL +opennebula_version: 6.2, 6.3, 6.4, 6.6, 6.8, 6.10 +opennebula_template: + context: + service_id: "$SERVICE_ID" + oneapp_vnf_keepalived_eth0_skip: 'YES' + network: 'YES' + token: 'YES' + report_ready: 'YES' + ssh_public_key: "$USER[SSH_PUBLIC_KEY]" + one_service_airgapped: 'NO' + oneapp_vrouter_eth0_vip0: "$ONEAPP_VROUTER_ETH0_VIP0" + oneapp_vrouter_eth1_vip0: "$ONEAPP_VROUTER_ETH1_VIP0" + oneapp_vnf_haproxy_enabled: 'YES' + oneapp_vnf_haproxy_onegate_enabled: 'YES' + oneapp_vnf_haproxy_interfaces: "$ONEAPP_VNF_HAPROXY_INTERFACES" + oneapp_vnf_haproxy_refresh_rate: "$ONEAPP_VNF_HAPROXY_REFRESH_RATE" + oneapp_vnf_haproxy_lb0_ip: "$ONEAPP_VNF_HAPROXY_LB0_IP" + oneapp_vnf_haproxy_lb0_port: "$ONEAPP_VNF_HAPROXY_LB0_PORT" + oneapp_vnf_haproxy_lb1_ip: "$ONEAPP_VNF_HAPROXY_LB1_IP" + oneapp_vnf_haproxy_lb1_port: "$ONEAPP_VNF_HAPROXY_LB1_PORT" + oneapp_vnf_haproxy_lb2_ip: "$ONEAPP_VNF_HAPROXY_LB2_IP" + oneapp_vnf_haproxy_lb2_port: "$ONEAPP_VNF_HAPROXY_LB2_PORT" + oneapp_vnf_haproxy_lb3_ip: "$ONEAPP_VNF_HAPROXY_LB3_IP" + oneapp_vnf_haproxy_lb3_port: "$ONEAPP_VNF_HAPROXY_LB3_PORT" + oneapp_vnf_dns_enabled: "$ONEAPP_VNF_DNS_ENABLED" + oneapp_vnf_dns_interfaces: "$ONEAPP_VNF_DNS_INTERFACES" + oneapp_vnf_dns_nameservers: "$ONEAPP_VNF_DNS_NAMESERVERS" + oneapp_vnf_dns_use_rootservers: 'NO' + oneapp_vnf_nat4_enabled: "$ONEAPP_VNF_NAT4_ENABLED" + oneapp_vnf_nat4_interfaces_out: "$ONEAPP_VNF_NAT4_INTERFACES_OUT" + oneapp_vnf_router4_enabled: "$ONEAPP_VNF_ROUTER4_ENABLED" + oneapp_vnf_router4_interfaces: "$ONEAPP_VNF_ROUTER4_INTERFACES" + cpu: '1' + graphics: + listen: 0.0.0.0 + type: vnc + inputs_order: '' + memory: '512' + nic_default: + model: virtio + lxd_security_privileged: 'true' + os: + arch: x86_64 + user_inputs: {} +logo: router.png +images: +- name: oneke_vnf + url: "https://d24fmfybwxpuhu.cloudfront.net/service_VRouter-6.10.0-2-20241203.qcow2" + type: OS + dev_prefix: vd + driver: qcow2 + size: 2147483648 + checksum: + md5: 7d4b1edb38cdfa6db7fb69ca9285be8e + sha256: 03cfac21780ff46ba9f7b2ab3f73d6c0d9e6ce3ad59e6bf94c21edd9de985436 diff --git a/appliances/OneKE_1.31/98df67fd-6dbd-49e3-a99d-9b8d8519c418.yaml b/appliances/OneKE_1.31/98df67fd-6dbd-49e3-a99d-9b8d8519c418.yaml new file mode 100644 index 0000000..351716b --- /dev/null +++ b/appliances/OneKE_1.31/98df67fd-6dbd-49e3-a99d-9b8d8519c418.yaml @@ -0,0 +1,63 @@ +--- +name: OneKE 1.31 Storage +version: 1.31.3-6.10.0-2-20241219 +publisher: OpenNebula Systems +description: |- + OneKE 1.31 VM template for Storage VMs. + + See the dedicated [documentation](https://github.com/OpenNebula/one-apps/wiki). +short_description: OneKE 1.31 VM template for Storage VMs +tags: +- kubernetes +- service +- ubuntu +type: VMTEMPLATE +format: qcow2 +creation_time: 1734611659 +os-id: Ubuntu +os-release: "22.04 LTS" +os-arch: x86_64 +hypervisor: ALL +opennebula_version: >- + 6.2, 6.3, 6.4, 6.6, 6.8, 6.10 +opennebula_template: + context: + SERVICE_ID: "$SERVICE_ID" + FALLBACK_GW: "$FALLBACK_GW" + FALLBACK_DNS: "$FALLBACK_DNS" + GROW_FS: "/ /var/lib/longhorn" + NETWORK: "YES" + TOKEN: "YES" + REPORT_READY: "YES" + SSH_PUBLIC_KEY: "$USER[SSH_PUBLIC_KEY]" + ONE_SERVICE_AIRGAPPED: "NO" + ONEAPP_VROUTER_ETH0_VIP0: "$ONEAPP_VROUTER_ETH0_VIP0" + ONEAPP_VROUTER_ETH1_VIP0: "$ONEAPP_VROUTER_ETH1_VIP0" + ONEAPP_RKE2_SUPERVISOR_EP: "$ONEAPP_RKE2_SUPERVISOR_EP" + ONEAPP_K8S_CONTROL_PLANE_EP: "$ONEAPP_K8S_CONTROL_PLANE_EP" + ONEAPP_K8S_MULTUS_ENABLED: "$ONEAPP_K8S_MULTUS_ENABLED" + ONEAPP_K8S_CNI_PLUGIN: "$ONEAPP_K8S_CNI_PLUGIN" + ONEAPP_K8S_HTTP_PROXY: "$ONEAPP_K8S_HTTP_PROXY" + ONEAPP_K8S_HTTPS_PROXY: "$ONEAPP_K8S_HTTPS_PROXY" + ONEAPP_K8S_NO_PROXY: "$ONEAPP_K8S_NO_PROXY" + ONEAPP_K8S_LONGHORN_ENABLED: "$ONEAPP_K8S_LONGHORN_ENABLED" + ONEAPP_STORAGE_DEVICE: "$ONEAPP_STORAGE_DEVICE" + ONEAPP_STORAGE_FILESYSTEM: "$ONEAPP_STORAGE_FILESYSTEM" + ONEAPP_STORAGE_MOUNTPOINT: "/var/lib/longhorn" + ONEAPP_VNF_HAPROXY_LB0_PORT: "$ONEAPP_VNF_HAPROXY_LB0_PORT" + ONEAPP_VNF_HAPROXY_LB1_PORT: "$ONEAPP_VNF_HAPROXY_LB1_PORT" + ONEAPP_VNF_DNS_ENABLED: "$ONEAPP_VNF_DNS_ENABLED" + cpu: "2" + vcpu: "2" + graphics: + listen: "0.0.0.0" + type: vnc + inputs_order: "" + memory: "3072" + os: + arch: x86_64 + user_inputs: {} +logo: kubernetes.png +disks: +- "OneKE 1.31 OS disk" +- "OneKE 1.31 Storage disk" diff --git a/appliances/OneKE_1.31/e73d2dda-1816-4f47-981f-72f1255f94ac.yaml b/appliances/OneKE_1.31/e73d2dda-1816-4f47-981f-72f1255f94ac.yaml new file mode 100644 index 0000000..1ba472f --- /dev/null +++ b/appliances/OneKE_1.31/e73d2dda-1816-4f47-981f-72f1255f94ac.yaml @@ -0,0 +1,221 @@ +--- +name: Service OneKE 1.31 +version: 1.31.3-6.10.0-2-20241219 +publisher: OpenNebula Systems +description: |- + [RKE2](https://docs.rke2.io/) based multi-master Kubernetes 1.31 cluster for KVM hosts, + orchestrated by + [OneFlow](https://docs.opennebula.io/stable/management_and_operations/multivm_service_management/appflow_elasticity.html). + + Requires + [OneFlow](https://docs.opennebula.io/stable/management_and_operations/multivm_service_management/overview.html) + and + [OneGate](https://docs.opennebula.io/stable/management_and_operations/multivm_service_management/onegate_usage.html) + OpenNebula components. + + See the dedicated [documentation](https://github.com/OpenNebula/one-apps/wiki). + + Based on VM templates + - [OneKE 1.31](/appliance/2a902664-98ed-4e78-80b6-af97dfd75371) + - [OneKE 1.31 VNF](/appliance/4bea23af-09c2-4520-8f3a-ce902eb5157c) + - [OneKE 1.31 Storage](/appliance/98df67fd-6dbd-49e3-a99d-9b8d8519c418) +short_description: Multi-master Kubernetes 1.31 cluster for KVM hosts, orchestrated by OneFlow +tags: +- kubernetes +- oneflow +- service +- ubuntu +creation_time: 1734611659 +os-id: Ubuntu +os-release: 22.04 LTS +os-arch: x86_64 +hypervisor: ALL +type: SERVICE_TEMPLATE +opennebula_version: 6.2, 6.3, 6.4, 6.6, 6.8, 6.10 +roles: + vnf: OneKE 1.31 VNF + master: OneKE 1.31 + worker: OneKE 1.31 + storage: OneKE 1.31 Storage +opennebula_template: + name: OneKE 1.31 + deployment: straight + description: '' + roles: + - name: vnf + cardinality: 1 + min_vms: 1 + vm_template_contents: | + NIC = [ + NAME = "NIC0", + NETWORK_ID = "$Public" ] + NIC = [ + NAME = "NIC1", + NETWORK_ID = "$Private" ] + ONEAPP_VROUTER_ETH0_VIP0 = "$ONEAPP_VROUTER_ETH0_VIP0" + ONEAPP_VROUTER_ETH1_VIP0 = "$ONEAPP_VROUTER_ETH1_VIP0" + ONEAPP_VNF_HAPROXY_INTERFACES = "$ONEAPP_VNF_HAPROXY_INTERFACES" + ONEAPP_VNF_HAPROXY_REFRESH_RATE = "$ONEAPP_VNF_HAPROXY_REFRESH_RATE" + ONEAPP_VNF_HAPROXY_LB0_IP = "" + ONEAPP_VNF_HAPROXY_LB0_PORT = "$ONEAPP_VNF_HAPROXY_LB0_PORT" + ONEAPP_VNF_HAPROXY_LB1_IP = "" + ONEAPP_VNF_HAPROXY_LB1_PORT = "$ONEAPP_VNF_HAPROXY_LB1_PORT" + ONEAPP_VNF_HAPROXY_LB2_IP = "" + ONEAPP_VNF_HAPROXY_LB2_PORT = "$ONEAPP_VNF_HAPROXY_LB2_PORT" + ONEAPP_VNF_HAPROXY_LB3_IP = "" + ONEAPP_VNF_HAPROXY_LB3_PORT = "$ONEAPP_VNF_HAPROXY_LB3_PORT" + ONEAPP_VNF_DNS_ENABLED = "$ONEAPP_VNF_DNS_ENABLED" + ONEAPP_VNF_DNS_INTERFACES = "$ONEAPP_VNF_DNS_INTERFACES" + ONEAPP_VNF_DNS_NAMESERVERS = "$ONEAPP_VNF_DNS_NAMESERVERS" + ONEAPP_VNF_NAT4_ENABLED = "$ONEAPP_VNF_NAT4_ENABLED" + ONEAPP_VNF_NAT4_INTERFACES_OUT = "$ONEAPP_VNF_NAT4_INTERFACES_OUT" + ONEAPP_VNF_ROUTER4_ENABLED = "$ONEAPP_VNF_ROUTER4_ENABLED" + ONEAPP_VNF_ROUTER4_INTERFACES = "$ONEAPP_VNF_ROUTER4_INTERFACES" + cooldown: 120 + elasticity_policies: [] + scheduled_policies: [] + - name: master + parents: + - vnf + cardinality: 1 + min_vms: 1 + vm_template_contents: | + NIC = [ + NAME = "NIC0", + NETWORK_ID = "$Private" ] + FALLBACK_GW = "${vnf.TEMPLATE.CONTEXT.ETH1_IP}" + FALLBACK_DNS = "${vnf.TEMPLATE.CONTEXT.ETH1_IP}" + ONEAPP_VROUTER_ETH0_VIP0 = "$ONEAPP_VROUTER_ETH0_VIP0" + ONEAPP_VROUTER_ETH1_VIP0 = "$ONEAPP_VROUTER_ETH1_VIP0" + ONEAPP_RKE2_SUPERVISOR_EP = "$ONEAPP_RKE2_SUPERVISOR_EP" + ONEAPP_K8S_CONTROL_PLANE_EP = "$ONEAPP_K8S_CONTROL_PLANE_EP" + ONEAPP_K8S_EXTRA_SANS = "$ONEAPP_K8S_EXTRA_SANS" + ONEAPP_RKE2_CLOUD_CONTROLLER_ENABLED = "$ONEAPP_RKE2_CLOUD_CONTROLLER_ENABLED" + ONEAPP_K8S_HTTP_PROXY = "$ONEAPP_K8S_HTTP_PROXY" + ONEAPP_K8S_HTTPS_PROXY = "$ONEAPP_K8S_HTTPS_PROXY" + ONEAPP_K8S_NO_PROXY = "$ONEAPP_K8S_NO_PROXY" + ONEAPP_K8S_MULTUS_ENABLED = "$ONEAPP_K8S_MULTUS_ENABLED" + ONEAPP_K8S_MULTUS_CONFIG = "$ONEAPP_K8S_MULTUS_CONFIG" + ONEAPP_K8S_CNI_PLUGIN = "$ONEAPP_K8S_CNI_PLUGIN" + ONEAPP_K8S_CNI_CONFIG = "$ONEAPP_K8S_CNI_CONFIG" + ONEAPP_K8S_CILIUM_BGP_ENABLED = "$ONEAPP_K8S_CILIUM_BGP_ENABLED" + ONEAPP_K8S_CILIUM_RANGE = "$ONEAPP_K8S_CILIUM_RANGE" + ONEAPP_K8S_LONGHORN_ENABLED = "$ONEAPP_K8S_LONGHORN_ENABLED" + ONEAPP_K8S_METALLB_ENABLED = "$ONEAPP_K8S_METALLB_ENABLED" + ONEAPP_K8S_METALLB_CLASS = "$ONEAPP_K8S_METALLB_CLASS" + ONEAPP_K8S_METALLB_CONFIG = "$ONEAPP_K8S_METALLB_CONFIG" + ONEAPP_K8S_METALLB_RANGE = "$ONEAPP_K8S_METALLB_RANGE" + ONEAPP_K8S_TRAEFIK_ENABLED = "$ONEAPP_K8S_TRAEFIK_ENABLED" + ONEAPP_VNF_HAPROXY_LB0_IP = "" + ONEAPP_VNF_HAPROXY_LB0_PORT = "$ONEAPP_VNF_HAPROXY_LB0_PORT" + ONEAPP_VNF_HAPROXY_LB1_IP = "" + ONEAPP_VNF_HAPROXY_LB1_PORT = "$ONEAPP_VNF_HAPROXY_LB1_PORT" + ONEAPP_VNF_DNS_ENABLED = "$ONEAPP_VNF_DNS_ENABLED" + cooldown: 120 + elasticity_policies: [] + scheduled_policies: [] + - name: worker + parents: + - vnf + cardinality: 1 + vm_template_contents: | + NIC = [ + NAME = "NIC0", + NETWORK_ID = "$Private" ] + FALLBACK_GW = "${vnf.TEMPLATE.CONTEXT.ETH1_IP}" + FALLBACK_DNS = "${vnf.TEMPLATE.CONTEXT.ETH1_IP}" + ONEAPP_VROUTER_ETH0_VIP0 = "$ONEAPP_VROUTER_ETH0_VIP0" + ONEAPP_VROUTER_ETH1_VIP0 = "$ONEAPP_VROUTER_ETH1_VIP0" + ONEAPP_RKE2_SUPERVISOR_EP = "$ONEAPP_RKE2_SUPERVISOR_EP" + ONEAPP_K8S_CONTROL_PLANE_EP = "$ONEAPP_K8S_CONTROL_PLANE_EP" + ONEAPP_RKE2_CLOUD_CONTROLLER_ENABLED = "$ONEAPP_RKE2_CLOUD_CONTROLLER_ENABLED" + ONEAPP_K8S_HTTP_PROXY = "$ONEAPP_K8S_HTTP_PROXY" + ONEAPP_K8S_HTTPS_PROXY = "$ONEAPP_K8S_HTTPS_PROXY" + ONEAPP_K8S_NO_PROXY = "$ONEAPP_K8S_NO_PROXY" + ONEAPP_K8S_MULTUS_ENABLED = "$ONEAPP_K8S_MULTUS_ENABLED" + ONEAPP_K8S_CNI_PLUGIN = "$ONEAPP_K8S_CNI_PLUGIN" + ONEAPP_K8S_LONGHORN_ENABLED = "$ONEAPP_K8S_LONGHORN_ENABLED" + ONEAPP_K8S_METALLB_ENABLED = "$ONEAPP_K8S_METALLB_ENABLED" + ONEAPP_K8S_TRAEFIK_ENABLED = "$ONEAPP_K8S_TRAEFIK_ENABLED" + ONEAPP_VNF_HAPROXY_LB0_PORT = "$ONEAPP_VNF_HAPROXY_LB0_PORT" + ONEAPP_VNF_HAPROXY_LB1_PORT = "$ONEAPP_VNF_HAPROXY_LB1_PORT" + ONEAPP_VNF_HAPROXY_LB2_IP = "" + ONEAPP_VNF_HAPROXY_LB2_PORT = "$ONEAPP_VNF_HAPROXY_LB2_PORT" + ONEAPP_VNF_HAPROXY_LB3_IP = "" + ONEAPP_VNF_HAPROXY_LB3_PORT = "$ONEAPP_VNF_HAPROXY_LB3_PORT" + ONEAPP_VNF_DNS_ENABLED = "$ONEAPP_VNF_DNS_ENABLED" + cooldown: 120 + elasticity_policies: [] + scheduled_policies: [] + - name: storage + parents: + - vnf + cardinality: 0 + vm_template_contents: | + NIC = [ + NAME = "NIC0", + NETWORK_ID = "$Private" ] + FALLBACK_GW = "${vnf.TEMPLATE.CONTEXT.ETH1_IP}" + FALLBACK_DNS = "${vnf.TEMPLATE.CONTEXT.ETH1_IP}" + ONEAPP_VROUTER_ETH0_VIP0 = "$ONEAPP_VROUTER_ETH0_VIP0" + ONEAPP_VROUTER_ETH1_VIP0 = "$ONEAPP_VROUTER_ETH1_VIP0" + ONEAPP_RKE2_SUPERVISOR_EP = "$ONEAPP_RKE2_SUPERVISOR_EP" + ONEAPP_K8S_CONTROL_PLANE_EP = "$ONEAPP_K8S_CONTROL_PLANE_EP" + ONEAPP_K8S_HTTP_PROXY = "$ONEAPP_K8S_HTTP_PROXY" + ONEAPP_K8S_HTTPS_PROXY = "$ONEAPP_K8S_HTTPS_PROXY" + ONEAPP_K8S_NO_PROXY = "$ONEAPP_K8S_NO_PROXY" + ONEAPP_K8S_MULTUS_ENABLED = "$ONEAPP_K8S_MULTUS_ENABLED" + ONEAPP_K8S_CNI_PLUGIN = "$ONEAPP_K8S_CNI_PLUGIN" + ONEAPP_K8S_LONGHORN_ENABLED = "$ONEAPP_K8S_LONGHORN_ENABLED" + ONEAPP_STORAGE_DEVICE = "$ONEAPP_STORAGE_DEVICE" + ONEAPP_STORAGE_FILESYSTEM = "$ONEAPP_STORAGE_FILESYSTEM" + ONEAPP_VNF_HAPROXY_LB0_PORT = "$ONEAPP_VNF_HAPROXY_LB0_PORT" + ONEAPP_VNF_HAPROXY_LB1_PORT = "$ONEAPP_VNF_HAPROXY_LB1_PORT" + ONEAPP_VNF_DNS_ENABLED = "$ONEAPP_VNF_DNS_ENABLED" + cooldown: 120 + elasticity_policies: [] + scheduled_policies: [] + networks: + Public: 'M|network|Public||id:' + Private: 'M|network|Private||id:' + custom_attrs: + ONEAPP_VROUTER_ETH0_VIP0: O|text|Control Plane Endpoint VIP (IPv4)|| + ONEAPP_VROUTER_ETH1_VIP0: O|text|Default Gateway VIP (IPv4)|| + ONEAPP_RKE2_SUPERVISOR_EP: O|text|RKE2 Supervisor endpoint||ep0.eth0.vr:9345 + ONEAPP_K8S_CONTROL_PLANE_EP: O|text|Control Plane endpoint||ep0.eth0.vr:6443 + ONEAPP_K8S_EXTRA_SANS: O|text|ApiServer extra certificate SANs||localhost,127.0.0.1,ep0.eth0.vr,${vnf.TEMPLATE.CONTEXT.ETH0_IP} + ONEAPP_RKE2_CLOUD_CONTROLLER_ENABLED: O|boolean|Enables default RKE2 cloud controller||YES + ONEAPP_K8S_HTTP_PROXY: O|text|Defines HTTP Proxy for cluster traffic (default none)|| + ONEAPP_K8S_HTTPS_PROXY: O|text|Defines HTTPS Proxy for cluster traffic (default none)|| + ONEAPP_K8S_NO_PROXY: O|text|Defines non-proxied exceptions for cluster traffic + (only effective if jhttp proxy is enabled)||localhost,127.0.0.1/32,$ONEAPP_RKE2_SUPERVISOR_EP,$ONEAPP_K8S_CONTROL_PLANE_EP + ONEAPP_K8S_MULTUS_ENABLED: O|boolean|Enable Multus||NO + ONEAPP_K8S_MULTUS_CONFIG: O|text64|Multus custom config (default none)|| + ONEAPP_K8S_CNI_PLUGIN: O|list|CNI plugin supported by RKE2|canal,calico,cilium|cilium + ONEAPP_K8S_CNI_CONFIG: O|text64|CNI custom config (default none)|| + ONEAPP_K8S_CILIUM_BGP_ENABLED: O|boolean|Enable BGP control plane for Cilium. It could conflict with other Service LB Controllers.|| + ONEAPP_K8S_CILIUM_RANGE: O|text|Cilium LB IP CIDR. Only effective if `ONEAPP_K8S_CILIUM_BGP_ENABLED` is set to `YES` or undefined. (default none)|| + ONEAPP_K8S_METALLB_ENABLED: O|boolean|Enable MetalLB||NO + ONEAPP_K8S_METALLB_CLASS: O|text|MetalLB Load Balancer Class name||metallb + ONEAPP_K8S_METALLB_RANGE: O|text|MetalLB IP range (default none)|| + ONEAPP_K8S_METALLB_CONFIG: O|text64|MetalLB custom config (default none)|| + ONEAPP_K8S_LONGHORN_ENABLED: O|boolean|Enable Longhorn||NO + ONEAPP_STORAGE_DEVICE: O|text|Storage device path||/dev/vdb + ONEAPP_STORAGE_FILESYSTEM: O|text|Storage device filesystem||xfs + ONEAPP_K8S_TRAEFIK_ENABLED: O|boolean|Enable Traefik||NO + ONEAPP_VNF_HAPROXY_INTERFACES: O|text|Interfaces to run Haproxy on||eth0 + ONEAPP_VNF_HAPROXY_REFRESH_RATE: O|number|Haproxy refresh rate||30 + ONEAPP_VNF_HAPROXY_LB0_PORT: O|number|HTTPS RKE2 Supervisor port||9345 + ONEAPP_VNF_HAPROXY_LB1_PORT: O|number|HTTPS API Server port||6443 + ONEAPP_VNF_HAPROXY_LB2_PORT: O|number|HTTPS ingress port||443 + ONEAPP_VNF_HAPROXY_LB3_PORT: O|number|HTTP ingress port||80 + ONEAPP_VNF_DNS_ENABLED: O|boolean|Enable DNS recursor||YES + ONEAPP_VNF_DNS_INTERFACES: O|text|DNS - Interfaces||eth1 + ONEAPP_VNF_DNS_NAMESERVERS: O|text|DNS - Nameservers||1.1.1.1,8.8.8.8 + ONEAPP_VNF_NAT4_ENABLED: O|boolean|Enable NAT||YES + ONEAPP_VNF_NAT4_INTERFACES_OUT: O|text|NAT - Outgoing Interfaces||eth0 + ONEAPP_VNF_ROUTER4_ENABLED: O|boolean|Enable Router||YES + ONEAPP_VNF_ROUTER4_INTERFACES: O|text|Router - Interfaces||eth0,eth1 + ready_status_gate: true +logo: kubernetes.png +images: [] diff --git a/appliances/OneKE_1.31/eb2558c9-9be8-4eff-8b41-c2e35a0d4e74.yaml b/appliances/OneKE_1.31/eb2558c9-9be8-4eff-8b41-c2e35a0d4e74.yaml new file mode 100644 index 0000000..51ea3ab --- /dev/null +++ b/appliances/OneKE_1.31/eb2558c9-9be8-4eff-8b41-c2e35a0d4e74.yaml @@ -0,0 +1,29 @@ +--- +name: OneKE 1.31 Storage disk +version: 1.31.3-6.10.0-2-20241219 +publisher: OpenNebula Systems +description: |- + OneKE 1.31 appliance Storage disk (empty). + + See the dedicated [documentation](https://github.com/OpenNebula/one-apps/wiki). +short_description: OneKE 1.31 appliance Storage disk +tags: +- disk +- kubernetes +- service +format: qcow2 +creation_time: 1734611659 +os-id: none +os-arch: all +hypervisor: ALL +opennebula_version: 6.2, 6.3, 6.4, 6.6, 6.8, 6.10 +images: +- name: oneke_storage + url: "https://d24fmfybwxpuhu.cloudfront.net/service_OneKE_storage-6.10.0-2-20241219.qcow2" + type: OS + dev_prefix: vd + driver: qcow2 + size: 10737418240 + checksum: + md5: 1d4589798b8a63a6afa7150492ca3193 + sha256: 23a1edeac969b498874484637169fd08de4a7f18f438594fee7103236ba000db diff --git a/appliances/OneKE_1.31a/88fbf221-418f-40cb-bde7-354716fe6512.yaml b/appliances/OneKE_1.31a/88fbf221-418f-40cb-bde7-354716fe6512.yaml new file mode 100644 index 0000000..bb6fb4e --- /dev/null +++ b/appliances/OneKE_1.31a/88fbf221-418f-40cb-bde7-354716fe6512.yaml @@ -0,0 +1,71 @@ +--- +name: OneKE 1.31 Airgapped +version: 1.31.3-6.10.0-2-20241219 +publisher: OpenNebula Systems +description: |- + OneKE 1.31 Airgapped VM template for Master and Worker VMs. + + See the dedicated [documentation](https://github.com/OpenNebula/one-apps/wiki). +short_description: OneKE 1.31 Airgapped VM template for Master and Worker VMs +tags: +- kubernetes +- service +- ubuntu +type: VMTEMPLATE +format: qcow2 +creation_time: 1734611659 +os-id: Ubuntu +os-release: "22.04 LTS" +os-arch: x86_64 +hypervisor: ALL +opennebula_version: >- + 6.2, 6.3, 6.4, 6.6, 6.8, 6.10 +opennebula_template: + context: + SERVICE_ID: "$SERVICE_ID" + FALLBACK_GW: "$FALLBACK_GW" + FALLBACK_DNS: "$FALLBACK_DNS" + GROW_FS: "/" + NETWORK: "YES" + TOKEN: "YES" + REPORT_READY: "YES" + SSH_PUBLIC_KEY: "$USER[SSH_PUBLIC_KEY]" + ONE_SERVICE_AIRGAPPED: "YES" + ONEAPP_VROUTER_ETH0_VIP0: "$ONEAPP_VROUTER_ETH0_VIP0" + ONEAPP_VROUTER_ETH1_VIP0: "$ONEAPP_VROUTER_ETH1_VIP0" + ONEAPP_RKE2_SUPERVISOR_EP: "$ONEAPP_RKE2_SUPERVISOR_EP" + ONEAPP_K8S_CONTROL_PLANE_EP: "$ONEAPP_K8S_CONTROL_PLANE_EP" + ONEAPP_K8S_EXTRA_SANS: "$ONEAPP_K8S_EXTRA_SANS" + ONEAPP_K8S_MULTUS_ENABLED: "$ONEAPP_K8S_MULTUS_ENABLED" + ONEAPP_K8S_MULTUS_CONFIG: "$ONEAPP_K8S_MULTUS_CONFIG" + ONEAPP_K8S_CNI_PLUGIN: "$ONEAPP_K8S_CNI_PLUGIN" + ONEAPP_K8S_CNI_CONFIG: "$ONEAPP_K8S_CNI_CONFIG" + ONEAPP_K8S_CILIUM_BGP_ENABLED: "$ONEAPP_K8S_CILIUM_BGP_ENABLED" + ONEAPP_K8S_CILIUM_RANGE: "$ONEAPP_K8S_CILIUM_RANGE" + ONEAPP_K8S_LONGHORN_ENABLED: "$ONEAPP_K8S_LONGHORN_ENABLED" + ONEAPP_K8S_METALLB_ENABLED: "$ONEAPP_K8S_METALLB_ENABLED" + ONEAPP_K8S_METALLB_CONFIG: "$ONEAPP_K8S_METALLB_CONFIG" + ONEAPP_K8S_METALLB_RANGE: "$ONEAPP_K8S_METALLB_RANGE" + ONEAPP_K8S_TRAEFIK_ENABLED: "$ONEAPP_K8S_TRAEFIK_ENABLED" + ONEAPP_VNF_HAPROXY_LB0_IP: "$ONEAPP_VNF_HAPROXY_LB0_IP" + ONEAPP_VNF_HAPROXY_LB0_PORT: "$ONEAPP_VNF_HAPROXY_LB0_PORT" + ONEAPP_VNF_HAPROXY_LB1_IP: "$ONEAPP_VNF_HAPROXY_LB1_IP" + ONEAPP_VNF_HAPROXY_LB1_PORT: "$ONEAPP_VNF_HAPROXY_LB1_PORT" + ONEAPP_VNF_HAPROXY_LB2_IP: "$ONEAPP_VNF_HAPROXY_LB2_IP" + ONEAPP_VNF_HAPROXY_LB2_PORT: "$ONEAPP_VNF_HAPROXY_LB2_PORT" + ONEAPP_VNF_HAPROXY_LB3_IP: "$ONEAPP_VNF_HAPROXY_LB3_IP" + ONEAPP_VNF_HAPROXY_LB3_PORT: "$ONEAPP_VNF_HAPROXY_LB3_PORT" + ONEAPP_VNF_DNS_ENABLED: "$ONEAPP_VNF_DNS_ENABLED" + cpu: "2" + vcpu: "2" + graphics: + listen: "0.0.0.0" + type: vnc + inputs_order: "" + memory: "3072" + os: + arch: x86_64 + user_inputs: {} +logo: kubernetes.png +disks: +- "OneKE 1.31 Airgapped OS disk" diff --git a/appliances/OneKE_1.31a/9378a80f-7556-46d2-8a89-43c8b03162e6.yaml b/appliances/OneKE_1.31a/9378a80f-7556-46d2-8a89-43c8b03162e6.yaml new file mode 100644 index 0000000..3b789cf --- /dev/null +++ b/appliances/OneKE_1.31a/9378a80f-7556-46d2-8a89-43c8b03162e6.yaml @@ -0,0 +1,219 @@ +--- +name: Service OneKE 1.31 Airgapped +version: 1.31.3-6.10.0-2-20241219 +publisher: OpenNebula Systems +description: |- + [RKE2](https://docs.rke2.io/) based multi-master Kubernetes 1.31 Airgapped cluster for KVM and vCenter hosts, + orchestrated by + [OneFlow](https://docs.opennebula.io/stable/management_and_operations/multivm_service_management/appflow_elasticity.html). + + Requires + [OneFlow](https://docs.opennebula.io/stable/management_and_operations/multivm_service_management/overview.html) + and + [OneGate](https://docs.opennebula.io/stable/management_and_operations/multivm_service_management/onegate_usage.html) + OpenNebula components. + + See the dedicated [documentation](https://github.com/OpenNebula/one-apps/wiki). + + Based on VM templates + - [OneKE 1.31 Airgapped](/appliance/88fbf221-418f-40cb-bde7-354716fe6512) + - [OneKE 1.31 VNF](/appliance/4bea23af-09c2-4520-8f3a-ce902eb5157c) + - [OneKE 1.31 Airgapped Storage](/appliance/d84d44f4-0e30-412a-a6f6-b1721bf7159e) +short_description: Multi-master Kubernetes 1.31 Airgapped cluster for KVM and vCenter hosts, orchestrated by OneFlow +tags: +- kubernetes +- oneflow +- service +- ubuntu +creation_time: 1734611659 +os-id: Ubuntu +os-release: "22.04 LTS" +os-arch: x86_64 +hypervisor: ALL +type: SERVICE_TEMPLATE +opennebula_version: >- + 6.2, 6.3, 6.4, 6.6, 6.8, 6.10 +roles: + vnf: "OneKE 1.31 VNF" + master: "OneKE 1.31 Airgapped" + worker: "OneKE 1.31 Airgapped" + storage: "OneKE 1.31 Airgapped Storage" +opennebula_template: + name: OneKE 1.31 + deployment: straight + description: '' + roles: + - name: vnf + cardinality: 1 + min_vms: 1 + vm_template_contents: | + NIC = [ + NAME = "NIC0", + NETWORK_ID = "$Public" ] + NIC = [ + NAME = "NIC1", + NETWORK_ID = "$Private" ] + ONEAPP_VROUTER_ETH0_VIP0 = "$ONEAPP_VROUTER_ETH0_VIP0" + ONEAPP_VROUTER_ETH1_VIP0 = "$ONEAPP_VROUTER_ETH1_VIP0" + ONEAPP_VNF_HAPROXY_INTERFACES = "$ONEAPP_VNF_HAPROXY_INTERFACES" + ONEAPP_VNF_HAPROXY_REFRESH_RATE = "$ONEAPP_VNF_HAPROXY_REFRESH_RATE" + ONEAPP_VNF_HAPROXY_LB0_IP = "" + ONEAPP_VNF_HAPROXY_LB0_PORT = "$ONEAPP_VNF_HAPROXY_LB0_PORT" + ONEAPP_VNF_HAPROXY_LB1_IP = "" + ONEAPP_VNF_HAPROXY_LB1_PORT = "$ONEAPP_VNF_HAPROXY_LB1_PORT" + ONEAPP_VNF_HAPROXY_LB2_IP = "" + ONEAPP_VNF_HAPROXY_LB2_PORT = "$ONEAPP_VNF_HAPROXY_LB2_PORT" + ONEAPP_VNF_HAPROXY_LB3_IP = "" + ONEAPP_VNF_HAPROXY_LB3_PORT = "$ONEAPP_VNF_HAPROXY_LB3_PORT" + ONEAPP_VNF_DNS_ENABLED = "$ONEAPP_VNF_DNS_ENABLED" + ONEAPP_VNF_DNS_INTERFACES = "$ONEAPP_VNF_DNS_INTERFACES" + ONEAPP_VNF_DNS_NAMESERVERS = "$ONEAPP_VNF_DNS_NAMESERVERS" + ONEAPP_VNF_NAT4_ENABLED = "$ONEAPP_VNF_NAT4_ENABLED" + ONEAPP_VNF_NAT4_INTERFACES_OUT = "$ONEAPP_VNF_NAT4_INTERFACES_OUT" + ONEAPP_VNF_ROUTER4_ENABLED = "$ONEAPP_VNF_ROUTER4_ENABLED" + ONEAPP_VNF_ROUTER4_INTERFACES = "$ONEAPP_VNF_ROUTER4_INTERFACES" + cooldown: 120 + elasticity_policies: [] + scheduled_policies: [] + - name: master + parents: [vnf] + cardinality: 1 + min_vms: 1 + vm_template_contents: | + NIC = [ + NAME = "NIC0", + NETWORK_ID = "$Private" ] + FALLBACK_GW = "${vnf.TEMPLATE.CONTEXT.ETH1_IP}" + FALLBACK_DNS = "${vnf.TEMPLATE.CONTEXT.ETH1_IP}" + ONEAPP_VROUTER_ETH0_VIP0 = "$ONEAPP_VROUTER_ETH0_VIP0" + ONEAPP_VROUTER_ETH1_VIP0 = "$ONEAPP_VROUTER_ETH1_VIP0" + ONEAPP_RKE2_SUPERVISOR_EP = "$ONEAPP_RKE2_SUPERVISOR_EP" + ONEAPP_K8S_CONTROL_PLANE_EP = "$ONEAPP_K8S_CONTROL_PLANE_EP" + ONEAPP_K8S_EXTRA_SANS = "$ONEAPP_K8S_EXTRA_SANS" + ONEAPP_RKE2_CLOUD_CONTROLLER_ENABLED = "$ONEAPP_RKE2_CLOUD_CONTROLLER_ENABLED" + ONEAPP_K8S_HTTP_PROXY = "$ONEAPP_K8S_HTTP_PROXY" + ONEAPP_K8S_HTTPS_PROXY = "$ONEAPP_K8S_HTTPS_PROXY" + ONEAPP_K8S_NO_PROXY = "$ONEAPP_K8S_NO_PROXY" + ONEAPP_K8S_MULTUS_ENABLED = "$ONEAPP_K8S_MULTUS_ENABLED" + ONEAPP_K8S_MULTUS_CONFIG = "$ONEAPP_K8S_MULTUS_CONFIG" + ONEAPP_K8S_CNI_PLUGIN = "$ONEAPP_K8S_CNI_PLUGIN" + ONEAPP_K8S_CNI_CONFIG = "$ONEAPP_K8S_CNI_CONFIG" + ONEAPP_K8S_CILIUM_BGP_ENABLED = "$ONEAPP_K8S_CILIUM_BGP_ENABLED" + ONEAPP_K8S_CILIUM_RANGE = "$ONEAPP_K8S_CILIUM_RANGE" + ONEAPP_K8S_LONGHORN_ENABLED = "$ONEAPP_K8S_LONGHORN_ENABLED" + ONEAPP_K8S_METALLB_ENABLED = "$ONEAPP_K8S_METALLB_ENABLED" + ONEAPP_K8S_METALLB_CLASS = "$ONEAPP_K8S_METALLB_CLASS" + ONEAPP_K8S_METALLB_CONFIG = "$ONEAPP_K8S_METALLB_CONFIG" + ONEAPP_K8S_METALLB_RANGE = "$ONEAPP_K8S_METALLB_RANGE" + ONEAPP_K8S_TRAEFIK_ENABLED = "$ONEAPP_K8S_TRAEFIK_ENABLED" + ONEAPP_VNF_HAPROXY_LB0_IP = "" + ONEAPP_VNF_HAPROXY_LB0_PORT = "$ONEAPP_VNF_HAPROXY_LB0_PORT" + ONEAPP_VNF_HAPROXY_LB1_IP = "" + ONEAPP_VNF_HAPROXY_LB1_PORT = "$ONEAPP_VNF_HAPROXY_LB1_PORT" + ONEAPP_VNF_DNS_ENABLED = "$ONEAPP_VNF_DNS_ENABLED" + cooldown: 120 + elasticity_policies: [] + scheduled_policies: [] + - name: worker + parents: [vnf] + cardinality: 1 + vm_template_contents: | + NIC = [ + NAME = "NIC0", + NETWORK_ID = "$Private" ] + FALLBACK_GW = "${vnf.TEMPLATE.CONTEXT.ETH1_IP}" + FALLBACK_DNS = "${vnf.TEMPLATE.CONTEXT.ETH1_IP}" + ONEAPP_VROUTER_ETH0_VIP0 = "$ONEAPP_VROUTER_ETH0_VIP0" + ONEAPP_VROUTER_ETH1_VIP0 = "$ONEAPP_VROUTER_ETH1_VIP0" + ONEAPP_RKE2_SUPERVISOR_EP = "$ONEAPP_RKE2_SUPERVISOR_EP" + ONEAPP_K8S_CONTROL_PLANE_EP = "$ONEAPP_K8S_CONTROL_PLANE_EP" + ONEAPP_RKE2_CLOUD_CONTROLLER_ENABLED = "$ONEAPP_RKE2_CLOUD_CONTROLLER_ENABLED" + ONEAPP_K8S_HTTP_PROXY = "$ONEAPP_K8S_HTTP_PROXY" + ONEAPP_K8S_HTTPS_PROXY = "$ONEAPP_K8S_HTTPS_PROXY" + ONEAPP_K8S_NO_PROXY = "$ONEAPP_K8S_NO_PROXY" + ONEAPP_K8S_MULTUS_ENABLED = "$ONEAPP_K8S_MULTUS_ENABLED" + ONEAPP_K8S_CNI_PLUGIN = "$ONEAPP_K8S_CNI_PLUGIN" + ONEAPP_K8S_LONGHORN_ENABLED = "$ONEAPP_K8S_LONGHORN_ENABLED" + ONEAPP_K8S_METALLB_ENABLED = "$ONEAPP_K8S_METALLB_ENABLED" + ONEAPP_K8S_TRAEFIK_ENABLED = "$ONEAPP_K8S_TRAEFIK_ENABLED" + ONEAPP_VNF_HAPROXY_LB0_PORT = "$ONEAPP_VNF_HAPROXY_LB0_PORT" + ONEAPP_VNF_HAPROXY_LB1_PORT = "$ONEAPP_VNF_HAPROXY_LB1_PORT" + ONEAPP_VNF_HAPROXY_LB2_IP = "" + ONEAPP_VNF_HAPROXY_LB2_PORT = "$ONEAPP_VNF_HAPROXY_LB2_PORT" + ONEAPP_VNF_HAPROXY_LB3_IP = "" + ONEAPP_VNF_HAPROXY_LB3_PORT = "$ONEAPP_VNF_HAPROXY_LB3_PORT" + ONEAPP_VNF_DNS_ENABLED = "$ONEAPP_VNF_DNS_ENABLED" + cooldown: 120 + elasticity_policies: [] + scheduled_policies: [] + - name: storage + parents: [vnf] + cardinality: 0 + vm_template_contents: | + NIC = [ + NAME = "NIC0", + NETWORK_ID = "$Private" ] + FALLBACK_GW = "${vnf.TEMPLATE.CONTEXT.ETH1_IP}" + FALLBACK_DNS = "${vnf.TEMPLATE.CONTEXT.ETH1_IP}" + ONEAPP_VROUTER_ETH0_VIP0 = "$ONEAPP_VROUTER_ETH0_VIP0" + ONEAPP_VROUTER_ETH1_VIP0 = "$ONEAPP_VROUTER_ETH1_VIP0" + ONEAPP_RKE2_SUPERVISOR_EP = "$ONEAPP_RKE2_SUPERVISOR_EP" + ONEAPP_K8S_CONTROL_PLANE_EP = "$ONEAPP_K8S_CONTROL_PLANE_EP" + ONEAPP_K8S_HTTP_PROXY = "$ONEAPP_K8S_HTTP_PROXY" + ONEAPP_K8S_HTTPS_PROXY = "$ONEAPP_K8S_HTTPS_PROXY" + ONEAPP_K8S_NO_PROXY = "$ONEAPP_K8S_NO_PROXY" + ONEAPP_K8S_MULTUS_ENABLED = "$ONEAPP_K8S_MULTUS_ENABLED" + ONEAPP_K8S_CNI_PLUGIN = "$ONEAPP_K8S_CNI_PLUGIN" + ONEAPP_K8S_LONGHORN_ENABLED = "$ONEAPP_K8S_LONGHORN_ENABLED" + ONEAPP_STORAGE_DEVICE = "$ONEAPP_STORAGE_DEVICE" + ONEAPP_STORAGE_FILESYSTEM = "$ONEAPP_STORAGE_FILESYSTEM" + ONEAPP_VNF_HAPROXY_LB0_PORT = "$ONEAPP_VNF_HAPROXY_LB0_PORT" + ONEAPP_VNF_HAPROXY_LB1_PORT = "$ONEAPP_VNF_HAPROXY_LB1_PORT" + ONEAPP_VNF_DNS_ENABLED = "$ONEAPP_VNF_DNS_ENABLED" + cooldown: 120 + elasticity_policies: [] + scheduled_policies: [] + networks: + Public: "M|network|Public||id:" + Private: "M|network|Private||id:" + custom_attrs: + ONEAPP_VROUTER_ETH0_VIP0: "O|text|Control Plane Endpoint VIP (IPv4)||" + ONEAPP_VROUTER_ETH1_VIP0: "O|text|Default Gateway VIP (IPv4)||" + ONEAPP_RKE2_SUPERVISOR_EP: "O|text|RKE2 Supervisor endpoint||ep0.eth0.vr:9345" + ONEAPP_K8S_CONTROL_PLANE_EP: "O|text|Control Plane endpoint||ep0.eth0.vr:6443" + ONEAPP_K8S_EXTRA_SANS: "O|text|ApiServer extra certificate SANs||localhost,127.0.0.1,ep0.eth0.vr,${vnf.TEMPLATE.CONTEXT.ETH0_IP}" + ONEAPP_RKE2_CLOUD_CONTROLLER_ENABLED: "O|boolean|Enables default RKE2 cloud controller||YES" + ONEAPP_K8S_HTTP_PROXY: "O|text|Defines HTTP Proxy for cluster traffic (default none)||" + ONEAPP_K8S_HTTPS_PROXY: "O|text|Defines HTTPS Proxy for cluster traffic (default none)||" + ONEAPP_K8S_NO_PROXY: "O|text|Defines non-proxied exceptions for cluster traffic + (only effective if jhttp proxy is enabled)||localhost,127.0.0.1/32,$ONEAPP_RKE2_SUPERVISOR_EP,$ONEAPP_K8S_CONTROL_PLANE_EP" + ONEAPP_K8S_MULTUS_ENABLED: "O|boolean|Enable Multus||NO" + ONEAPP_K8S_MULTUS_CONFIG: "O|text64|Multus custom config (default none)||" + ONEAPP_K8S_CNI_PLUGIN: "O|list|CNI plugin supported by RKE2|canal,calico,cilium|cilium" + ONEAPP_K8S_CNI_CONFIG: "O|text64|CNI custom config (default none)||" + ONEAPP_K8S_CILIUM_BGP_ENABLED: "O|boolean|Enable BGP control plane for Cilium. It could conflict with other Service LB Controllers.||" + ONEAPP_K8S_CILIUM_RANGE: "O|text|Cilium LB IP CIDR (default none)||" + ONEAPP_K8S_METALLB_ENABLED: "O|boolean|Enable MetalLB||NO" + ONEAPP_K8S_METALLB_CLASS: "O|text|MetalLB Load Balancer Class name||metallb" + ONEAPP_K8S_METALLB_RANGE: "O|text|MetalLB IP range (default none)||" + ONEAPP_K8S_METALLB_CONFIG: "O|text64|MetalLB custom config (default none)||" + ONEAPP_K8S_LONGHORN_ENABLED: "O|boolean|Enable Longhorn||NO" + ONEAPP_STORAGE_DEVICE: "O|text|Storage device path||/dev/vdb" + ONEAPP_STORAGE_FILESYSTEM: "O|text|Storage device filesystem||xfs" + ONEAPP_K8S_TRAEFIK_ENABLED: "O|boolean|Enable Traefik||NO" + ONEAPP_VNF_HAPROXY_INTERFACES: "O|text|Interfaces to run Haproxy on||eth0" + ONEAPP_VNF_HAPROXY_REFRESH_RATE: "O|number|Haproxy refresh rate||30" + ONEAPP_VNF_HAPROXY_LB0_PORT: "O|number|HTTPS RKE2 Supervisor port||9345" + ONEAPP_VNF_HAPROXY_LB1_PORT: "O|number|HTTPS API Server port||6443" + ONEAPP_VNF_HAPROXY_LB2_PORT: "O|number|HTTPS ingress port||443" + ONEAPP_VNF_HAPROXY_LB3_PORT: "O|number|HTTP ingress port||80" + ONEAPP_VNF_DNS_ENABLED: "O|boolean|Enable DNS recursor||YES" + ONEAPP_VNF_DNS_INTERFACES: "O|text|DNS - Interfaces||eth1" + ONEAPP_VNF_DNS_NAMESERVERS: "O|text|DNS - Nameservers||1.1.1.1,8.8.8.8" + ONEAPP_VNF_NAT4_ENABLED: "O|boolean|Enable NAT||YES" + ONEAPP_VNF_NAT4_INTERFACES_OUT: "O|text|NAT - Outgoing Interfaces||eth0" + ONEAPP_VNF_ROUTER4_ENABLED: "O|boolean|Enable Router||YES" + ONEAPP_VNF_ROUTER4_INTERFACES: "O|text|Router - Interfaces||eth0,eth1" + ready_status_gate: true +logo: kubernetes.png +images: [] diff --git a/appliances/OneKE_1.31a/d1351342-44d9-454c-b2d8-38fae62296cc.yaml b/appliances/OneKE_1.31a/d1351342-44d9-454c-b2d8-38fae62296cc.yaml new file mode 100644 index 0000000..84902d7 --- /dev/null +++ b/appliances/OneKE_1.31a/d1351342-44d9-454c-b2d8-38fae62296cc.yaml @@ -0,0 +1,30 @@ +--- +name: OneKE 1.31 Airgapped OS disk +version: 1.31.3-6.10.0-2-20241219 +publisher: OpenNebula Systems +description: |- + OneKE 1.31 Airgapped appliance OS disk. + + See the dedicated [documentation](https://github.com/OpenNebula/one-apps/wiki). +short_description: OneKE 1.31 Airgapped appliance OS disk +tags: +- disk +- kubernetes +- service +format: qcow2 +creation_time: 1734611659 +os-id: none +os-arch: all +hypervisor: ALL +opennebula_version: >- + 6.2, 6.3, 6.4, 6.6, 6.8, 6.10 +images: +- name: oneke_os + url: "https://d24fmfybwxpuhu.cloudfront.net/service_OneKEa-6.10.0-2-20241219.qcow2" + type: OS + dev_prefix: vd + driver: qcow2 + size: 26843545600 + checksum: + md5: 3d776cf1efa932bef41c76fef70a12d2 + sha256: 369d33a0e2e145f80a54c834c3691e66ecb75bc132e0fb45c7da95dd17dc7953 diff --git a/appliances/OneKE_1.31a/d84d44f4-0e30-412a-a6f6-b1721bf7159e.yaml b/appliances/OneKE_1.31a/d84d44f4-0e30-412a-a6f6-b1721bf7159e.yaml new file mode 100644 index 0000000..adb08df --- /dev/null +++ b/appliances/OneKE_1.31a/d84d44f4-0e30-412a-a6f6-b1721bf7159e.yaml @@ -0,0 +1,63 @@ +--- +name: OneKE 1.31 Airgapped Storage +version: 1.31.3-6.10.0-2-20241219 +publisher: OpenNebula Systems +description: |- + OneKE 1.31 Airgapped VM template for Storage VMs. + + See the dedicated [documentation](https://github.com/OpenNebula/one-apps/wiki). +short_description: OneKE 1.31 Airgapped VM template for Storage VMs +tags: +- kubernetes +- service +- ubuntu +type: VMTEMPLATE +format: qcow2 +creation_time: 1734611659 +os-id: Ubuntu +os-release: "22.04 LTS" +os-arch: x86_64 +hypervisor: ALL +opennebula_version: >- + 6.2, 6.3, 6.4, 6.6, 6.8, 6.10 +opennebula_template: + context: + SERVICE_ID: "$SERVICE_ID" + FALLBACK_GW: "$FALLBACK_GW" + FALLBACK_DNS: "$FALLBACK_DNS" + GROW_FS: "/ /var/lib/longhorn" + NETWORK: "YES" + TOKEN: "YES" + REPORT_READY: "YES" + SSH_PUBLIC_KEY: "$USER[SSH_PUBLIC_KEY]" + ONE_SERVICE_AIRGAPPED: "YES" + ONEAPP_VROUTER_ETH0_VIP0: "$ONEAPP_VROUTER_ETH0_VIP0" + ONEAPP_VROUTER_ETH1_VIP0: "$ONEAPP_VROUTER_ETH1_VIP0" + ONEAPP_RKE2_SUPERVISOR_EP: "$ONEAPP_RKE2_SUPERVISOR_EP" + ONEAPP_K8S_CONTROL_PLANE_EP: "$ONEAPP_K8S_CONTROL_PLANE_EP" + ONEAPP_K8S_MULTUS_ENABLED: "$ONEAPP_K8S_MULTUS_ENABLED" + ONEAPP_K8S_CNI_PLUGIN: "$ONEAPP_K8S_CNI_PLUGIN" + ONEAPP_K8S_HTTP_PROXY: "$ONEAPP_K8S_HTTP_PROXY" + ONEAPP_K8S_HTTPS_PROXY: "$ONEAPP_K8S_HTTPS_PROXY" + ONEAPP_K8S_NO_PROXY: "$ONEAPP_K8S_NO_PROXY" + ONEAPP_K8S_LONGHORN_ENABLED: "$ONEAPP_K8S_LONGHORN_ENABLED" + ONEAPP_STORAGE_DEVICE: "$ONEAPP_STORAGE_DEVICE" + ONEAPP_STORAGE_FILESYSTEM: "$ONEAPP_STORAGE_FILESYSTEM" + ONEAPP_STORAGE_MOUNTPOINT: "/var/lib/longhorn" + ONEAPP_VNF_HAPROXY_LB0_PORT: "$ONEAPP_VNF_HAPROXY_LB0_PORT" + ONEAPP_VNF_HAPROXY_LB1_PORT: "$ONEAPP_VNF_HAPROXY_LB1_PORT" + ONEAPP_VNF_DNS_ENABLED: "$ONEAPP_VNF_DNS_ENABLED" + cpu: "2" + vcpu: "2" + graphics: + listen: "0.0.0.0" + type: vnc + inputs_order: "" + memory: "3072" + os: + arch: x86_64 + user_inputs: {} +logo: kubernetes.png +disks: +- "OneKE 1.31 Airgapped OS disk" +- "OneKE 1.31 Storage disk"