Added join step

This commit is contained in:
2026-03-30 17:40:27 +08:00
parent 210fabdcc6
commit 0aa4065c26
7 changed files with 360 additions and 149 deletions

View File

@@ -34,13 +34,17 @@ type LocalClusterState struct {
type BootstrapAction string
const (
BootstrapActionInitControlPlane BootstrapAction = "init-control-plane"
BootstrapActionJoinWorker BootstrapAction = "join-worker"
BootstrapActionJoinControlPlane BootstrapAction = "join-control-plane"
BootstrapActionReconcileWorker BootstrapAction = "reconcile-worker"
BootstrapActionInitControlPlane BootstrapAction = "init-control-plane"
BootstrapActionJoinControlPlane BootstrapAction = "join-control-plane"
BootstrapActionManageControlPlane BootstrapAction = "manage-control-plane"
BootstrapActionJoinWorker BootstrapAction = "join-worker"
BootstrapActionManageWorker BootstrapAction = "manage-worker"
BootstrapActionReconcileControlPlane BootstrapAction = "reconcile-control-plane"
BootstrapActionUpgradeWorker BootstrapAction = "upgrade-worker"
BootstrapActionUpgradeControlPlane BootstrapAction = "upgrade-control-plane"
BootstrapActionReconcileWorker BootstrapAction = "reconcile-worker"
BootstrapActionUpgradeWorker BootstrapAction = "upgrade-worker"
)
type BootstrapState struct {