Commit Graph

371 Commits

Author SHA1 Message Date
Mr-Mu b64db7134d
bugfix: Push Image Credential (#2879) 2025-12-02 15:20:59 +08:00
zuoxuesong-worker 976a807711
bugfix: fix artifact image tag set func (#2870)
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-11-25 08:01:42 +00:00
liujian c7b0b113c6
Rename 'all-components' flag to 'all'
Signed-off-by: redscholar <blacktiledhouse@gmail.com>
2025-11-17 14:29:55 +08:00
zuoxuesong-worker 64262bf6c3
feat : add create inventory cmd (#2853)
feat : add create inventory cmd



feat: feat no root ssh

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-11-13 16:50:30 +08:00
zuoxuesong-worker f204389956
feat: add iso download task (#2827)
feat: add iso download task



feat: add iso download and install task



feat: add iso download

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-10-28 10:12:09 +08:00
liujian 3af5e91aa4
feat: update release configuration and add download script (#2815)
- Changed the archive name template in .goreleaser.yaml for better clarity.
- Added a new section in README files to document the UI installation process for versions v4.0.0 and above.
- Removed the old release workflow file and updated the releaser.yaml to include artifact synchronization to OSS.
- Introduced a new script (downloadKubekey.sh) for downloading binaries with UI support.

Signed-off-by: redscholar <blacktiledhouse@gmail.com>
2025-10-20 18:45:43 +08:00
zuoxuesong-worker 3990f14f3c
bugfix : fix default download config (#2811)
bugfix : fix default download config



bugfix : fix default download config



bugfix : fix default download config



bugfix : fix default download config



bugfix : fix default download config



bugfix : fix default download config



bugfix : fix default download config

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-10-15 07:32:21 +00:00
liujian 31d14a2e59
refactor: update delete options and conditions in playbooks and defaults (#2806)
- Changed the naming convention for delete options in playbooks and defaults from uppercase to lowercase (e.g., .deleteCRI to .delete.cri).
- Updated the corresponding conditions in the playbooks to reflect the new naming.
- Introduced new boolean flags in the DeleteClusterOptions struct for better control over component deletion.
- Ensured that the new flags are correctly set in the configuration.

Signed-off-by: redscholar <blacktiledhouse@gmail.com>
2025-10-13 10:43:20 +08:00
zuoxuesong-worker a86f7fc33c
bugfix : fix --with-kubernetes not affect (#2759)
bugfix : fix --with-kubernetes config not effect



bugfix : fix --with-kubernetes config not effect

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-09-11 14:47:39 +08:00
zuoxuesong-worker 24c80637ac
feat: change k8s image tags and artifact func (#2729)
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-08-27 09:56:57 +00:00
liujian 3885b443ac
fix: change builtin/core architectures (#2718)
Signed-off-by: redscholar <blacktiledhouse@gmail.com>
2025-08-22 21:59:40 +08:00
liujian 4c72031a74
fix: Make the /schema/config POST endpoint more robust. (#2699)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-08-14 14:00:03 +08:00
liujian 348c9b2d15
feat: enhance precheck tasks for image registry and network validation (#2676)
* feat: enhance precheck tasks for image registry and network validation

- Added a task to ensure successful authentication to the image registry.
- Updated existing tasks to provide clearer failure messages for required configurations.
- Improved validation for network interfaces and CIDR configurations, ensuring dual-stack support.
- Enhanced error handling in the resource handler for playbook creation.

Signed-off-by: joyceliu <joyceliu@yunify.com>

* feat: enhance configuration and query handling

- Added `-trimpath` flag to Go build configuration for improved binary paths.
- Updated REST configuration to set QPS and Burst limits for better performance.
- Refactored query handling to use string types for field and value, improving type consistency.
- Enhanced error handling in resource configuration updates and improved parsing of request bodies.

Signed-off-by: joyceliu <joyceliu@yunify.com>

* feat: check inventory when it's changed

Signed-off-by: joyceliu <joyceliu@yunify.com>

* feat: enhance playbook execution and query handling

- Added a new optional query parameter `promise` to the playbook and inventory endpoints, allowing for asynchronous execution control.
- Introduced a new result state `ResultPending` to indicate ongoing operations.
- Refactored the executor function to handle the `promise` parameter, enabling conditional execution of playbooks.
- Improved error handling and logging during playbook execution.

Signed-off-by: joyceliu <joyceliu@yunify.com>

---------

Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-08-04 15:27:22 +08:00
liujian 7b61dafb95
fix: add ui-path for kk web (#2670)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-07-25 11:20:41 +08:00
liujian 96d6bc73c9
feat: more expiration for ca file (#2650)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-07-07 08:17:48 +00:00
liujian 794d28c706
fix: delete debug field (#2642)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-06-27 07:19:39 +00:00
liujian 2acae88739
fix: rename image_registry to registry (#2635)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-06-24 17:26:33 +08:00
liujian a306bd6bca
feat: add delete image_registry (#2634)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-06-23 18:01:08 +08:00
liujian 9ade693b0f
fix: clear default inventory and configuration logic. (#2632)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-06-23 15:13:02 +08:00
liujian b629ec57ad
feat: add module add_hostvars (#2629)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-06-20 15:07:04 +08:00
liujian 982539ca7f
feat: add more default kubernetes version (#2618)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-06-17 15:26:54 +08:00
liujian cfb83de1db
fix: Only set the kube_version if it is not already defined in the config file. (#2608)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-06-11 09:11:26 +00:00
liujian 38944a5d2f
feat: add schema service (#2593)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-27 06:41:14 +00:00
liujian 9c87926929
feat: add web api (#2591)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-26 09:36:13 +00:00
liujian 80c9a735ab
feat: delete --container-manager (#2577)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-19 16:19:17 +08:00
pixiake fa2e0f477e
support prometheus tasks (#2573)
Signed-off-by: pixiake <guofeng@yunify.com>
2025-05-16 08:52:03 +00:00
liujian 9baaf9c08c
fix: support [a].[b] in set argument (#2569)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-15 10:02:03 +00:00
liujian e97e538fa2
feat: add delete nodes command (#2565)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-14 11:26:26 +08:00
liujian 9a672ad646
feat: Support for auto-detecting nodes to add. (#2560)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-12 09:53:00 +00:00
liujian 13df73e0ea
feat: add gather_facts cache (#2558)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-12 06:20:01 +00:00
liujian a876b3c9d7
feat: add command add node (#2557)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-08 18:00:00 +08:00
liujian dc8717479b
feat: Silence logs (#2538)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-04-18 10:17:33 +08:00
liujian def153b0bc
feat: Thread-safe reading and writing (#2531)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-04-16 09:50:28 +08:00
liujian 7560b29946
feat: add delete cluster command (#2528)
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2025-04-11 14:04:47 +08:00
liujian 6612e69054
feat: add create config command (#2527)
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2025-04-10 15:02:23 +08:00
liujian 2c19021fb2
feat: more type to defined playbook file (#2522)
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2025-04-03 15:23:00 +08:00
liujian 954579beb5
fix: Remove the error stack from the intermediate layer. (#2521)
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2025-04-01 17:13:48 +08:00
liujian 34448781a6
feat: use unstructured to get or set value for config (#2519)
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2025-03-31 10:00:11 +08:00
liujian e40c57fb9f
fix: change pipeline to playbook (#2512)
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2025-03-24 09:51:03 +08:00
liujian 86ff6371b6
Uninstall docker interface (#2478)
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2025-03-05 18:55:12 +08:00
liujian 3e56b095de
fix: test kk push image to harbor. (#2457)
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-11-19 14:23:29 +08:00
liujian e22d6f6db2
fix: artifact package exclude `certs` (#2396)
* fix: graceful delete runtime dir.

Signed-off-by: joyceliu <joyceliu@yunify.com>

* fix: graceful delete runtime dir.

Signed-off-by: joyceliu <joyceliu@yunify.com>

* fix: artifact package exclude `certs`

Signed-off-by: joyceliu <joyceliu@yunify.com>

---------

Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-09-09 10:47:57 +08:00
II 865913fea9
feat: add more golangci lint rule. (#2366)
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-08-21 16:33:36 +08:00
II 718de31d46
change package name (#2355)
* fix: set default work_dir is "./kubekey".

Signed-off-by: joyceliu <joyceliu@yunify.com>

* fix: change pkg/apis/core to pkg/apis/project pkg/apis/kubekey to pkg/apis/core .

Signed-off-by: joyceliu <joyceliu@yunify.com>

---------

Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-08-12 13:39:06 +08:00
II 647ae222bf
fix: set default work_dir is "./kubekey". (#2354)
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-08-12 11:26:06 +08:00
II 1aa519d295
feat: --set contains multi string "=". (#2351)
* fix: --set contains multi string "=".

Signed-off-by: joyceliu <joyceliu@yunify.com>

* fix: --set contains multi string "=".

Signed-off-by: joyceliu <joyceliu@yunify.com>

---------

Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-08-09 10:22:59 +08:00
II 8cba26482e
fix: unescape --set string. (#2327)
Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-07-23 10:20:26 +08:00
joyceliu 34a0704a04 bug: defaultConfig is not render.
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-07-15 17:13:49 +08:00
joyceliu 63bd058738 feat: set base default dir for kubernetes connector.
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-07-15 12:19:27 +08:00
joyceliu e70863ddd9 fix: golangci-lint
Signed-off-by: joyceliu <joyceliu@yunify.com>
2024-07-01 09:45:29 +08:00