From 55bb650b0adfa6a3f07e62b02e4d3a4c4766a388 Mon Sep 17 00:00:00 2001 From: Andy Lee Date: Mon, 31 Aug 2026 16:19:39 +0800 Subject: [PATCH] feat: add rancher-k3k addon UI Signed-off-by: Andy Lee --- .../edit/harvesterhci.io.addon/k3k.vue | 155 ++++++++++++++++++ pkg/harvester/l10n/en-us.yaml | 9 +- pkg/harvester/list/harvesterhci.io.addon.vue | 2 +- pkg/harvester/models/harvesterhci.io.addon.js | 15 +- 4 files changed, 173 insertions(+), 8 deletions(-) create mode 100644 pkg/harvester/edit/harvesterhci.io.addon/k3k.vue diff --git a/pkg/harvester/edit/harvesterhci.io.addon/k3k.vue b/pkg/harvester/edit/harvesterhci.io.addon/k3k.vue new file mode 100644 index 00000000..130d206f --- /dev/null +++ b/pkg/harvester/edit/harvesterhci.io.addon/k3k.vue @@ -0,0 +1,155 @@ + + + + + diff --git a/pkg/harvester/l10n/en-us.yaml b/pkg/harvester/l10n/en-us.yaml index 56f8ae85..5eb0e8fc 100644 --- a/pkg/harvester/l10n/en-us.yaml +++ b/pkg/harvester/l10n/en-us.yaml @@ -1,4 +1,4 @@ -wizard: +advancedSettingswizard: create: Create next: Proceed previous: Back @@ -1825,6 +1825,7 @@ harvester: 'harvester-system/pcidevices-controller': pcidevices-controller is an add-on to help discover PCI devices for nodes in your cluster and allow users to prepare devices for PCI Passthrough, for use with Harvester virtual machine and guest clusters. 'cattle-logging-system/rancher-logging': rancher-logging is an add-on to collect versatile logs, events, and audits from the Harvester cluster and route them to many kinds of servers based on flows. 'harvester-system/rancher-vcluster': rancher-vcluster deploys a virtual cluster (vcluster) with Rancher installed. + 'k3k-system/k3k': k3k deploys a k3k virtual cluster with Rancher installed. 'cattle-monitoring-system/rancher-monitoring': rancher-monitoring is an add-on that collects Harvester cluster and virtual machine metrics and allows you to view the metrics on an embedded dashboard and send alert(s) to remote servers. 'vm-import-controller': vm-import-controller is an add-on to help migrate virtual machine workloads from other source clusters to an existing Harvester cluster. 'pcidevices-controller': pcidevices-controller is an add-on to help discover PCI devices for nodes in your cluster and allow users to prepare devices for PCI Passthrough, for use with Harvester virtual machines and guest clusters. @@ -1832,6 +1833,7 @@ harvester: 'rancher-logging': rancher-logging is an add-on to collect versatile logs, events, and audits from the Harvester cluster and route them to many kinds of servers based on flows. 'rancher-monitoring': rancher-monitoring is an add-on to collect Harvester cluster and virtual machine metrics, view them on the embedded dashboard, and send alert(s) to remote servers. 'rancher-vcluster': rancher-vcluster deploys a virtual cluster (vcluster) with Rancher installed. + 'k3k': k3k deploys a k3k virtual cluster with Rancher installed. 'harvester-seeder': harvester-seeder is an add-on that uses IPMI and Redfish to discover hardware information and perform out-of-band operations. 'harvester-system/harvester-seeder': harvester-seeder is an add-on that uses IPMI and Redfish to discover hardware information and perform out-of-band operations. 'harvester-csi-driver-lvm': harvester-csi-driver-lvm is an add-on allowing users to create PVC through the LVM with local devices. @@ -2136,6 +2138,11 @@ harvester: hostname: Hostname rancherVersion: Rancher Version password: Bootstrap Password + rancherK3k: + accessRancher: Access the Rancher Dashboard + hostname: Hostname + version: Rancher Version + password: Bootstrap Password switchFailed: "{action} {name} failed!" nvidiaDriverToolkit: titles: diff --git a/pkg/harvester/list/harvesterhci.io.addon.vue b/pkg/harvester/list/harvesterhci.io.addon.vue index 09e303aa..e414d6be 100644 --- a/pkg/harvester/list/harvesterhci.io.addon.vue +++ b/pkg/harvester/list/harvesterhci.io.addon.vue @@ -72,7 +72,7 @@ export default { />