Commit Graph

90 Commits

Author SHA1 Message Date
liujian 3885b443ac
fix: change builtin/core architectures (#2718)
Signed-off-by: redscholar <blacktiledhouse@gmail.com>
2025-08-22 21:59:40 +08:00
liujian 8138d1e52a
fix: Strengthen nodelocaldns (#2702)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-08-18 11:03:08 +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 0f40e29791
fix: more clear error (#2694)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-08-12 03:07:45 +00:00
liujian 48b7c3b34b
feat: check inventory when it's changed (#2691)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-08-07 17:50:23 +08:00
zuoxuesong-worker 6ec705768c
bugfix: update add user command ,check wheather user exist or not ,only create user when user not exist (#2692)
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
2025-08-06 15:59:54 +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 86c99122fa
feat: make the nodelocaldns bind IP configurable. (#2665)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-07-21 15:23:37 +08:00
liujian d2e8e3699a
fix: install os package but not upgrade it (#2658)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-07-15 18:33:31 +08:00
liujian b68c73de2d
feat: add role dependency in builtin playbook (#2653)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-07-09 16:10:18 +08:00
liujian bca5b96a4a
feat: add local dns for image_registry.auth.registry (#2651)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-07-08 10:50:21 +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 c71814aa09
fix: add index to groups (#2649)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-07-07 11:22:20 +08:00
liujian e3dec872f6
feat: add more web interface (#2648)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-07-03 14:48:49 +08:00
liujian 8237a2fd88
feat: install image_registry (#2640)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-06-26 17:48:18 +08:00
liujian 9686e047be
fix: change custom function ipInCIDR (#2639)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-06-26 03:19:38 +00:00
liujian 9b36d38bc3
fix: reset failed after delete service (#2636)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-06-24 10:20:37 +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 8593c18fcc
cleanup: move the binary_type fact setting to the pre_install hook (#2633)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-06-23 07:33:36 +00: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 2cb9d8d4c4
fix: more deep clear (#2622)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-06-17 15:46:54 +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 fc0e99161b
fix: restart cri after clear iptables (#2616)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-06-12 09:58:27 +00:00
liujian e109fbb7cf
fix: Offline install (#2611)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-06-11 10:56:26 +00:00
liujian e43cf2a5de
fix: use empty func in template syntax (#2610)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-06-11 17:37:46 +08:00
liujian 00f4b8cc5f
feat: store src domain in local dir (#2606)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-06-09 17:01:44 +08:00
liujian 9ec3aa7472
fix: preserve the template formatting. (#2602)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-06-05 10:14:38 +08:00
liujian 6e0cdbec1f
fix: display task progressbar in file. (#2599)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-29 15:21:30 +08:00
liujian cec2e1a200
fix: delete ip addr bind for kube_vip (#2598)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-28 10:12:14 +00:00
liujian 38b8d04617
fix: Kube_vip may fail when used with Kubernetes versions above v1.29. (#2597)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-28 10:06:14 +00:00
liujian 71265adea8
fix: add Delete arp by kube-vip when uninstall/kubernetes (#2596)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-28 06:31:14 +00:00
liujian ff50e145ca
feat: add annotations to node (#2594)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-27 08:40:13 +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 934f39350e
fix: error cri_socket (#2584)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-22 06:28:09 +00:00
liujian 6aec54a82f
feat: add kubernetes v1.31.2 (#2578)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-20 02:37:07 +00:00
liujian efbe735b1b
fix: change kubernetes download url (#2572)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-16 05:38:03 +00:00
liujian dce1e71da2
fix: configurable sandbox image (#2571)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-16 10:45:13 +08:00
liujian 093dfe17db
feat: Configurable local DNS file (#2567)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-14 08:38:02 +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 eeb4237e8a
feat: More detailed init-os rules (#2563)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-13 09:25:01 +00:00
liujian fb474bde50
feat: change builtin defined variable (#2561)
* feat: change inventory_hosts to hostvars

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

* feat: change inventory_hosts to hostvars

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

---------

Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-13 06:40:01 +00: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 1dbc59cf2f
feat: delete /var/log/pods/ (#2556)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-05-07 17:41:00 +08:00
liujian 2dead130da
feat: add deleteDNS parameter in delete_cluster (#2537)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-04-17 18:12:32 +08:00
liujian 25f3de2cde
feat: Installation refinement steps (#2536)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-04-17 18:02:20 +08:00
liujian 61d0bb2b51
feat: add more ignore_errors when kk delete (#2533)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-04-16 10:28:30 +08:00
liujian ea4a19ec9f
feat: add register_type (#2532)
Signed-off-by: joyceliu <joyceliu@yunify.com>
2025-04-16 10:03:30 +08:00