feat: implement k3d cluster management #20

Merged
johnride merged 1 commits from feat/k3d into master 2025-04-25 15:33:14 +00:00
Owner
  • Adds functionality to download, install, and manage k3d clusters.
  • Includes methods for downloading the latest release, creating clusters, and verifying cluster existence.
  • Implements ensure_k3d_installed, get_latest_release_tag, download_latest_release, is_k3d_installed, verify_cluster_exists, create_cluster and create_kubernetes_client.
  • Provides a get_client method to access the Kubernetes client.
  • Includes unit tests for download and installation.
  • Adds handling for different operating systems.
  • Improves error handling and logging.
  • Introduces a K3d struct to encapsulate k3d cluster management logic.
  • Adds the ability to specify the cluster name during K3d initialization.
- Adds functionality to download, install, and manage k3d clusters. - Includes methods for downloading the latest release, creating clusters, and verifying cluster existence. - Implements `ensure_k3d_installed`, `get_latest_release_tag`, `download_latest_release`, `is_k3d_installed`, `verify_cluster_exists`, `create_cluster` and `create_kubernetes_client`. - Provides a `get_client` method to access the Kubernetes client. - Includes unit tests for download and installation. - Adds handling for different operating systems. - Improves error handling and logging. - Introduces a `K3d` struct to encapsulate k3d cluster management logic. - Adds the ability to specify the cluster name during K3d initialization.
johnride added 1 commit 2025-04-24 21:37:16 +00:00
- Adds functionality to download, install, and manage k3d clusters.
- Includes methods for downloading the latest release, creating clusters, and verifying cluster existence.
- Implements `ensure_k3d_installed`, `get_latest_release_tag`, `download_latest_release`, `is_k3d_installed`, `verify_cluster_exists`, `create_cluster` and `create_kubernetes_client`.
- Provides a `get_client` method to access the Kubernetes client.
- Includes unit tests for download and installation.
- Adds handling for different operating systems.
- Improves error handling and logging.
- Introduces a `K3d` struct to encapsulate k3d cluster management logic.
- Adds the ability to specify the cluster name during K3d initialization.
wjro reviewed 2025-04-25 13:17:20 +00:00
@ -0,0 +6,4 @@
.unwrap()
.data_dir()
.join("harmony");
}
Owner

this is cool

this is cool
wjro approved these changes 2025-04-25 13:30:39 +00:00
taha approved these changes 2025-04-25 14:24:09 +00:00
johnride merged commit 23971ecd7c into master 2025-04-25 15:33:14 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: NationTech/harmony#20
No description provided.