cnrancher / autok3s

Run K3s Everywhere
https://www.suse.com
Apache License 2.0
753 stars 76 forks source link

fix(provider): update join k3d function and rollback logic #616

Closed sunyakun closed 1 year ago

sunyakun commented 1 year ago

This PR fix the issue #615

  1. Clear the context config only when the cluster is not running.
  2. After creating the k3d cluster, set node.Rollback to true, this will enable automatic rollback of the k3d cluster in case of any errors.
  3. Fix the logic for generating k3d node name
sunyakun commented 1 year ago

@JacieChao I am not authorized to access the Drone CI platform, so I do not know how to fix the above problem.

orangedeng commented 1 year ago

@JacieChao I am not authorized to access the Drone CI platform, so I do not know how to fix the above problem.

@sunyakun The CI platform will only be online 8:00 am ~ 11:00 pm China time. And I set the CI to public now as we have community contributors now. cc @JacieChao

wLiIce commented 1 year ago

感谢sun对开源世界的贡献,母校为他骄傲。

JacieChao commented 1 year ago

@sunyakun Thanks for your contribution. PR Merged