-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
F #-: Update OneKE 1.27 and add OneKE 1.27a (airgapped) (#86)
- Loading branch information
Showing
10 changed files
with
271 additions
and
11 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
appliances/OneKE_1.27/0b0d2ae3-c5ec-4949-bd2e-7f4f2da0cb96.yaml
This file contains 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
2 changes: 1 addition & 1 deletion
2
appliances/OneKE_1.27/1b948c64-a0b4-41f7-b816-dda99b4a8088.yaml
This file contains 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
This file contains 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
2 changes: 1 addition & 1 deletion
2
appliances/OneKE_1.27/8285d732-0741-4623-ba9e-4eacd2421e91.yaml
This file contains 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
This file contains 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
This file contains 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
58 changes: 58 additions & 0 deletions
58
appliances/OneKE_1.27a/157b4f75-a216-4b42-b58e-2a21e95d09ec.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
--- | ||
name: OneKE 1.27a | ||
version: 1.27.2-6.6.1-1.20231211 | ||
publisher: OpenNebula Systems | ||
description: |- | ||
OneKE 1.27a VM template for Master and Worker VMs (**airgapped install**). | ||
See the dedicated [documentation](https://docs.opennebula.io/stable/marketplace/appliances/oneke.html). | ||
short_description: OneKE 1.27a VM template for Master and Worker VMs | ||
tags: | ||
- kubernetes | ||
- service | ||
- ubuntu | ||
type: VMTEMPLATE | ||
format: qcow2 | ||
creation_time: 1702323038 | ||
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 | ||
opennebula_template: | ||
context: | ||
grow_fs: "/" | ||
network: "YES" | ||
report_ready: "YES" | ||
token: "YES" | ||
oneapp_vrouter_eth0_vip0: "$ONEAPP_VROUTER_ETH0_VIP0" | ||
oneapp_vrouter_eth1_vip0: "$ONEAPP_VROUTER_ETH1_VIP0" | ||
oneapp_vnf_haproxy_lb2_port: "$ONEAPP_VNF_HAPROXY_LB2_PORT" | ||
oneapp_vnf_haproxy_lb3_port: "$ONEAPP_VNF_HAPROXY_LB3_PORT" | ||
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_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" | ||
ssh_public_key: "$USER[SSH_PUBLIC_KEY]" | ||
one_service_airgapped: "YES" | ||
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.27a OS disk" |
30 changes: 30 additions & 0 deletions
30
appliances/OneKE_1.27a/2353fb4f-bd0f-43d1-a0f5-fac8e77ea158.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
name: OneKE 1.27a OS disk | ||
version: 1.27.2-6.6.1-1.20231211 | ||
publisher: OpenNebula Systems | ||
description: |- | ||
OneKE 1.27a appliance OS disk (**airgapped install**). | ||
See the dedicated [documentation](https://docs.opennebula.io/stable/marketplace/appliances/oneke.html). | ||
short_description: OneKE 1.27a appliance OS disk | ||
tags: | ||
- disk | ||
- kubernetes | ||
- service | ||
format: qcow2 | ||
creation_time: 1702323038 | ||
os-id: none | ||
os-arch: all | ||
hypervisor: ALL | ||
opennebula_version: >- | ||
6.2, 6.3, 6.4, 6.6, 6.8 | ||
images: | ||
- name: oneke_os | ||
url: https://d24fmfybwxpuhu.cloudfront.net/service_OneKEa-6.6.1-1.20231211.qcow2 | ||
type: OS | ||
dev_prefix: vd | ||
driver: qcow2 | ||
size: 21474836480 | ||
checksum: | ||
md5: 66030955913bcd7c04d5bb35fb1b94cf | ||
sha256: 23ad460cc5cc84b23b0cccaff17e6d3cc5bcc0ffe5e2399a4f25bebd2f256afe |
118 changes: 118 additions & 0 deletions
118
appliances/OneKE_1.27a/6f97fe15-0d4f-4a13-9cec-1766cd2bf225.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
--- | ||
name: Service OneKE 1.27a | ||
version: 1.27.2-6.6.1-1.20231211 | ||
publisher: OpenNebula Systems | ||
description: |- | ||
[RKE2](https://docs.rke2.io/) based multi-master Kubernetes 1.27a cluster (**airgapped install**) for KVM and vCenter hosts, | ||
orchestrated by | ||
[OneFlow](https://docs.opennebula.io/6.6/management_and_operations/multivm_service_management/appflow_elasticity.html). | ||
Requires | ||
[OneFlow](https://docs.opennebula.io/6.6/management_and_operations/multivm_service_management/overview.html) | ||
and | ||
[OneGate](https://docs.opennebula.io/6.6/management_and_operations/multivm_service_management/onegate_usage.html) | ||
OpenNebula components. | ||
See the dedicated [documentation](https://docs.opennebula.io/stable/marketplace/appliances/oneke.html). | ||
Based on VM templates | ||
- [OneKE 1.27a](/appliance/157b4f75-a216-4b42-b58e-2a21e95d09ec) | ||
- [OneKE 1.27 VNF](/appliance/8285d732-0741-4623-ba9e-4eacd2421e91) | ||
- [OneKE 1.27a Storage](/appliance/b963e931-1ddc-4976-bf6a-f304a53ab19c) | ||
short_description: Multi-master Kubernetes 1.27a cluster for KVM and vCenter hosts, orchestrated by OneFlow | ||
tags: | ||
- kubernetes | ||
- oneflow | ||
- service | ||
- ubuntu | ||
creation_time: 1702323038 | ||
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 | ||
roles: | ||
vnf: "OneKE 1.27 VNF" | ||
master: "OneKE 1.27a" | ||
worker: "OneKE 1.27a" | ||
storage: "OneKE 1.27a Storage" | ||
opennebula_template: '{ | ||
"name": "OneKE 1.27", | ||
"deployment": "straight", | ||
"description": "", | ||
"roles": [ | ||
{ | ||
"name": "vnf", | ||
"cardinality": 1, | ||
"min_vms": 1, | ||
"vm_template_contents": "NIC=[NAME=\"NIC0\",NETWORK_ID=\"$Public\"]\nNIC=[NAME=\"NIC1\",NETWORK_ID=\"$Private\"]\nONEAPP_VROUTER_ETH0_VIP0=\"$ONEAPP_VROUTER_ETH0_VIP0\"\nONEAPP_VROUTER_ETH1_VIP0=\"$ONEAPP_VROUTER_ETH1_VIP0\"\nONEAPP_VNF_NAT4_ENABLED=\"$ONEAPP_VNF_NAT4_ENABLED\"\nONEAPP_VNF_NAT4_INTERFACES_OUT=\"$ONEAPP_VNF_NAT4_INTERFACES_OUT\"\nONEAPP_VNF_ROUTER4_ENABLED=\"$ONEAPP_VNF_ROUTER4_ENABLED\"\nONEAPP_VNF_ROUTER4_INTERFACES=\"$ONEAPP_VNF_ROUTER4_INTERFACES\"\nONEAPP_VNF_HAPROXY_INTERFACES=\"$ONEAPP_VNF_HAPROXY_INTERFACES\"\nONEAPP_VNF_HAPROXY_REFRESH_RATE=\"$ONEAPP_VNF_HAPROXY_REFRESH_RATE\"\nONEAPP_VNF_HAPROXY_CONFIG=\"$ONEAPP_VNF_HAPROXY_CONFIG\"\nONEAPP_VNF_HAPROXY_LB0_IP=\"$ONEAPP_VROUTER_ETH0_VIP0\"\nONEAPP_VNF_HAPROXY_LB0_PORT=\"9345\"\nONEAPP_VNF_HAPROXY_LB1_IP=\"$ONEAPP_VROUTER_ETH0_VIP0\"\nONEAPP_VNF_HAPROXY_LB1_PORT=\"6443\"\nONEAPP_VNF_HAPROXY_LB2_IP=\"$ONEAPP_VROUTER_ETH0_VIP0\"\nONEAPP_VNF_HAPROXY_LB2_PORT=\"$ONEAPP_VNF_HAPROXY_LB2_PORT\"\nONEAPP_VNF_HAPROXY_LB3_IP=\"$ONEAPP_VROUTER_ETH0_VIP0\"\nONEAPP_VNF_HAPROXY_LB3_PORT=\"$ONEAPP_VNF_HAPROXY_LB3_PORT\"\nONEAPP_VNF_KEEPALIVED_VRID=\"$ONEAPP_VNF_KEEPALIVED_VRID\"\n", | ||
"cooldown": 120, | ||
"elasticity_policies": [], | ||
"scheduled_policies": [] | ||
}, | ||
{ | ||
"name": "master", | ||
"parents": ["vnf"], | ||
"cardinality": 1, | ||
"min_vms": 1, | ||
"vm_template_contents": "NIC=[NAME=\"NIC0\",NETWORK_ID=\"$Private\"]\nONEAPP_VROUTER_ETH0_VIP0=\"$ONEAPP_VROUTER_ETH0_VIP0\"\nONEAPP_VROUTER_ETH1_VIP0=\"$ONEAPP_VROUTER_ETH1_VIP0\"\nONEAPP_K8S_EXTRA_SANS=\"$ONEAPP_K8S_EXTRA_SANS\"\nONEAPP_K8S_MULTUS_ENABLED=\"$ONEAPP_K8S_MULTUS_ENABLED\"\nONEAPP_K8S_MULTUS_CONFIG=\"$ONEAPP_K8S_MULTUS_CONFIG\"\nONEAPP_K8S_CNI_PLUGIN=\"$ONEAPP_K8S_CNI_PLUGIN\"\nONEAPP_K8S_CNI_CONFIG=\"$ONEAPP_K8S_CNI_CONFIG\"\nONEAPP_K8S_CILIUM_RANGE=\"$ONEAPP_K8S_CILIUM_RANGE\"\nONEAPP_K8S_LONGHORN_ENABLED=\"$ONEAPP_K8S_LONGHORN_ENABLED\"\nONEAPP_K8S_METALLB_ENABLED=\"$ONEAPP_K8S_METALLB_ENABLED\"\nONEAPP_K8S_METALLB_CONFIG=\"$ONEAPP_K8S_METALLB_CONFIG\"\nONEAPP_K8S_METALLB_RANGE=\"$ONEAPP_K8S_METALLB_RANGE\"\nONEAPP_K8S_TRAEFIK_ENABLED=\"$ONEAPP_K8S_TRAEFIK_ENABLED\"\n", | ||
"cooldown": 120, | ||
"elasticity_policies": [], | ||
"scheduled_policies": [] | ||
}, | ||
{ | ||
"name": "worker", | ||
"parents": ["vnf"], | ||
"cardinality": 1, | ||
"vm_template_contents": "NIC=[NAME=\"NIC0\",NETWORK_ID=\"$Private\"]\nONEAPP_VROUTER_ETH0_VIP0=\"$ONEAPP_VROUTER_ETH0_VIP0\"\nONEAPP_VROUTER_ETH1_VIP0=\"$ONEAPP_VROUTER_ETH1_VIP0\"\nONEAPP_K8S_MULTUS_ENABLED=\"$ONEAPP_K8S_MULTUS_ENABLED\"\nONEAPP_K8S_CNI_PLUGIN=\"$ONEAPP_K8S_CNI_PLUGIN\"\nONEAPP_K8S_LONGHORN_ENABLED=\"$ONEAPP_K8S_LONGHORN_ENABLED\"\nONEAPP_K8S_METALLB_ENABLED=\"$ONEAPP_K8S_METALLB_ENABLED\"\nONEAPP_K8S_TRAEFIK_ENABLED=\"$ONEAPP_K8S_TRAEFIK_ENABLED\"\nONEAPP_VNF_HAPROXY_LB2_IP=\"$ONEAPP_VROUTER_ETH0_VIP0\"\nONEAPP_VNF_HAPROXY_LB2_PORT=\"$ONEAPP_VNF_HAPROXY_LB2_PORT\"\nONEAPP_VNF_HAPROXY_LB3_IP=\"$ONEAPP_VROUTER_ETH0_VIP0\"\nONEAPP_VNF_HAPROXY_LB3_PORT=\"$ONEAPP_VNF_HAPROXY_LB3_PORT\"\n", | ||
"cooldown": 120, | ||
"elasticity_policies": [], | ||
"scheduled_policies": [] | ||
}, | ||
{ | ||
"name": "storage", | ||
"parents": ["vnf"], | ||
"cardinality": 0, | ||
"vm_template_contents": "NIC=[NAME=\"NIC0\",NETWORK_ID=\"$Private\"]\nONEAPP_VROUTER_ETH0_VIP0=\"$ONEAPP_VROUTER_ETH0_VIP0\"\nONEAPP_VROUTER_ETH1_VIP0=\"$ONEAPP_VROUTER_ETH1_VIP0\"\nONEAPP_K8S_MULTUS_ENABLED=\"$ONEAPP_K8S_MULTUS_ENABLED\"\nONEAPP_K8S_CNI_PLUGIN=\"$ONEAPP_K8S_CNI_PLUGIN\"\nONEAPP_K8S_LONGHORN_ENABLED=\"$ONEAPP_K8S_LONGHORN_ENABLED\"\nONEAPP_STORAGE_DEVICE=\"$ONEAPP_STORAGE_DEVICE\"\nONEAPP_STORAGE_FILESYSTEM=\"$ONEAPP_STORAGE_FILESYSTEM\"\n", | ||
"cooldown": 120, | ||
"elasticity_policies": [], | ||
"scheduled_policies": [] | ||
} | ||
], | ||
"networks": { | ||
"Public": "M|network|Public||id:", | ||
"Private": "M|network|Private||id:" | ||
}, | ||
"custom_attrs": { | ||
"ONEAPP_VROUTER_ETH0_VIP0": "M|text|Control Plane Endpoint VIP (IPv4)||", | ||
"ONEAPP_VROUTER_ETH1_VIP0": "O|text|Default Gateway VIP (IPv4)||", | ||
"ONEAPP_K8S_EXTRA_SANS": "O|text|ApiServer extra certificate SANs||localhost,127.0.0.1", | ||
"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_RANGE": "O|text|Cilium LB IP CIDR (default none)||", | ||
"ONEAPP_K8S_METALLB_ENABLED": "O|boolean|Enable MetalLB||NO", | ||
"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_CONFIG": "O|text|Custom Haproxy config (default none)||", | ||
"ONEAPP_VNF_HAPROXY_LB2_PORT": "O|number|HTTPS ingress port||443", | ||
"ONEAPP_VNF_HAPROXY_LB3_PORT": "O|number|HTTP ingress port||80", | ||
"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", | ||
"ONEAPP_VNF_KEEPALIVED_VRID": "O|number|Global vrouter id (1-255)||1" | ||
}, | ||
"ready_status_gate": true | ||
}' | ||
logo: kubernetes.png | ||
images: [] |
52 changes: 52 additions & 0 deletions
52
appliances/OneKE_1.27a/b963e931-1ddc-4976-bf6a-f304a53ab19c.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
--- | ||
name: OneKE 1.27a Storage | ||
version: 1.27.2-6.6.1-1.20231211 | ||
publisher: OpenNebula Systems | ||
description: |- | ||
OneKE 1.27a VM template for Storage VMs (**airgapped install**). | ||
See the dedicated [documentation](https://docs.opennebula.io/stable/marketplace/appliances/oneke.html). | ||
short_description: OneKE 1.27a VM template for Storage VMs | ||
tags: | ||
- kubernetes | ||
- service | ||
- ubuntu | ||
type: VMTEMPLATE | ||
format: qcow2 | ||
creation_time: 1702323038 | ||
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 | ||
opennebula_template: | ||
context: | ||
grow_fs: "/ /var/lib/longhorn" | ||
network: "YES" | ||
report_ready: "YES" | ||
token: "YES" | ||
oneapp_vrouter_eth0_vip0: "$ONEAPP_VROUTER_ETH0_VIP0" | ||
oneapp_vrouter_eth1_vip0: "$ONEAPP_VROUTER_ETH1_VIP0" | ||
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_storage_mountpoint: "/var/lib/longhorn" | ||
ssh_public_key: "$USER[SSH_PUBLIC_KEY]" | ||
one_service_airgapped: "YES" | ||
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.27a OS disk" | ||
- "OneKE 1.27 Storage disk" |